MIMEDefang is a flexible MIME email scanner designed to do all kinds of email processing, including anti-virus scanning, anti-spam scanning, replacing parts of messages with URLs, adding boilerplate disclaimers, and so on. It can alter or delete various parts of a MIME message according to a Perl-based policy filter. It can also bounce messages with unacceptable attachments and modify SMTP response codes on the fly. It works with the Sendmail 8.11 and newer "Milter" API, which makes it more flexible and efficient than procmail-based approaches.
| Tags | Communications Email Filters Security |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX |
Recent releases


Changes: The multiplexor can be compiled to use "poll" instead of "select"; on many systems, this increases the number of file descriptors (and hence scanning processes) that the multiplexor can manage. Support for the FPROT version 6 daemonized virus scanner was added.


Changes: A bug in the initialization of the embedded Perl interpreter was fixed. This bug caused problems on the Debian HPPA architecture and possibly other architectures.


Changes: The watch-multiple-mimedefangs.tcl script works better with Tcl/Tk 8.5 and displays message volumes per day in a more human-readable form. The new -archive option logs statistics to files. Support was added for the NOD32 command-line scanner and the Sophos "savscan" scanner. There were various other minor fixes and improvements.


Changes: A bug that caused SpamAssassin to leave files lying around in /tmp has been fixed. If no queue-ID exists when the DATA phase begins, this release attempts to obtain one (which improves Postfix compatibility.) There were several other minor bugfixes.


Changes: MIMEDefang now supports some new Milter features available in Sendmail 8.14, namely the ability to change the envelope sender and the ability to ignore invalid recipients. It also properly supports ClamAV 0.90 and newer.
A PHP mailer class for composing and sending MIME messages.