
MIMEDefang
Secure Email Gateway
Alternative Vendors
Key Features
Perl-Based Filtering Policies
Express filtering policies in Perl rather than C, making it quick and easy to write high-performance mail filters with the flexibility of a full programming language.
Milter integration (Sendmail and Postfix)
Uses the Milter API to take part in the SMTP transaction on Sendmail or Postfix, scanning each message once rather than once per recipient.
Virus and Spam Filtering
Calls SpamAssassin for spam scoring and supports many antivirus scanners, including ClamAV, detected automatically at install time.
MIME Message Manipulation
Can remove or replace attachments, add disclaimers, rewrite headers and quarantine messages.
Multiplexor worker pool
The mimedefang-multiplexor manages a pool of persistent Perl workers to keep filtering fast under load.
Connection-stage checks
Filter hooks run at connect, HELO, sender and recipient stages, so mail can be rejected before the body is received.
Pros and Cons
Pros
Mature and maintained
In use since 2000 and still maintained by The McGrail Foundation; version 3.7.1 was released in July 2026.
Highly Flexible and Customizable
Perl-based filtering allows for sophisticated custom policies, integrations with multiple tools, and complete control over mail processing logic.
High Performance Architecture
Scans each message once rather than once per recipient, using a pool of persistent Perl workers.
Complete Open Source Freedom
GPL v2 licensed with full source code and no licensing cost.
Rejects during SMTP
Policies run inside the SMTP transaction, so bad mail is rejected instead of bounced later.
Cons
Requires a milter-capable MTA
Works only with Sendmail or Postfix through the Milter API; other mail servers need their own milter support.
Technical Complexity
Requires significant technical expertise in Perl programming, Sendmail configuration, and system administration for proper implementation and maintenance.
Community-Only Support
Help comes through the mailing list and GitHub issues; the project lists no paid support offering.
Mail Message Modification
Filters can rewrite message bodies and attachments, which can break DKIM signatures if done after signing.
No web interface
No GUI or quarantine portal; everything is configured in Perl and text files.
Feature Comparison
Comments
No reviews yet. Be the first to share your experience with MIMEDefang.
Frequently Asked Questions
/vendor/mimedefang