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: This fixes just one bug in 2.69 and earlier versions: The embedded Perl code did not call PERL_SET_CONTEXT after forking, which resulted in strange behavior in the scanning code.


Changes: This release contains mostly minor cleanups and bugfixes. However, a new "-y" option for mimedefang-multiplexor allows you to limit the number of concurrent "recipok" commands on a per-domain basis. This can avoid a DoS situation if one domain has a slow or down SMTP call-ahead server.


Changes: This is a bugfix and minor cleanup release. It detects Sys::Syslog vs. Unix::Syslog at run-time rather than when running ./configure. It no longer changes Content-Disposition to "inline" by default; it was causing weird bugs with Outlook iCalendar attachments. Various other minor bugfixes and improvements were made.


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.
A script to convert and resize all image files in a directory and upload to a remote host via scp.