What is MIMEDefang?

MIMEDefang is a flexible, open-source email filtering framework that integrates with Sendmail and Postfix via the Milter API, letting you write your filtering policies in Perl.

  • Powerful - inspect, modify, accept, or reject any part of an email message during the SMTP transaction
  • Scriptable - express complex policies in Perl with full access to the MIME tree, headers, and envelope
  • Integrates - works with SpamAssassin, ClamAV, rspamd, DKIM signing, SPF, DMARC, and more
  • Proven - in production since 2000, deployed across thousands of sites; free software under the GNU GPL
  • Portable - runs on Linux, FreeBSD, Solaris, and most UNIX-like systems

New in 3.8: a machine-learning spam and phishing classifier, the mimedefang-dashboard live web console, and parallel virus and spam scans. See the Changelog.

mimedefang-dashboard, the live web console of MIMEDefang 3.8

Coming from amavisd-new or rspamd? See how MIMEDefang compares.

Get Started Download Run it with Docker

A Big Thank You To

The MIMEDefang Project Management Committee would like to thank Zix who graciously donated MIMEDefang to The McGrail Foundation.