BSD Ports

mail/mimedefang 2.86_1 DragonFly

Milter based anti-spam and anti-virus filtering program

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
mail
Package size
188.1 KiB, 612.6 KiB installed

Description

MIMEDefang is a program for inspecting and modifying e-mail messages as they pass through your mail relay. MIMEDefang is written in Perl, and its filter actions are expressed in Perl, so it's highly flexible. Here are some things that you can do very easily with MIMEDefang:

Delete or alter attachments based on file name, contents, results of a
virus scan, attachment size, etc.

Replace large attachments with links to a centrally-stored copy to ease
the burden on POP3 users with slow modem links.

Add boilerplate text to e-mail messages.

Customize filter rules based on domain, user-name, relay machine, etc.

Reject unacceptable messages, where you define what "unacceptable" means.

Add or delete recipients for a message.

In the other systems

SystemPortVersion
DragonFlymail/mimedefang2.86_1
FreeBSDmail/mimedefang2.86_1
OpenBSDmail/mimedefang3.7.1
NetBSDmail/mimedefang3.4.1nb4
HardenedBSDmail/mimedefang2.86_1
GhostBSDmail/mimedefang2.86_1

Install

Binary package:

pkg install mimedefang

From DPorts:

cd /usr/dports/mail/mimedefang && make install clean

Dependencies

Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To finish installation please follow these steps:

1. Edit /usr/local/etc/mimedefang/mimedefang-filter

2. Reconfigure sendmail to use MIMEDefang, for example add this lines to
   your sendmail.mc:

   MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl
   define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl

   rebuild sendmail.cf and install it.

Also, you can install some anti-virus software to check your mail, for example:

   security/clamav
      Open source AV package with automatic virus definition updates
   security/f-prot
      F-Prot Antivirus for BSD Workstations