Milter

From Wikipedia, the free encyclopedia

A milter is an extension to the widely used open source mail transfer agents (MTA) Sendmail and Postfix. It allows administrators to add mail filters (for filtering spam, viruses ...) very efficiently in the mail-processing-chain of sendmail.

Milter filters can reject a message during the SMTP session. Milters preserve reliable email delivery without taking over responsibility for generating bounce messages (envelope sender addresses of viruses and spam are frequently faked).

Sendmail.org includes a special thread based library in the sendmail distribution which provides the milter API. The Sendmail daemon communicates with a milter process using the milter protocol.

The usage of milters has spread in recent years and milters are becoming increasingly important in mail processing on the large scale to block, verify and sort incoming mail.

Contents

[edit] MTA

[edit] Sendmail

Milter (which is short for Mail Filter) was first introduced to Sendmail 8.12.0 released in September 8, 2001 and has undergone impressive improvements since then.

Search for MILTER in SENDMAIL RELEASE NOTES to know about changes related to Milter in sendmail versions [1].

It was available in sendmail 8.11.x versions as a FFR (For Future Release) code.

Milter will be someway also available in sendmail 8 successor's : Meta1 (previously labelled sendmail X)

[edit] Postfix

Milter support was added to Postfix 2.3.0 released July 12, 2006 [2].
Not all Milters can be used with Postfix out of the box, but it is a good news for Milter developers.

[edit] Interface

Sendmail provides a documented Application Programming Interface that can be used to create milters for special needs. The library provided by sendmail.org is thread based.

Sendmail.org does not provide documentation of the protocol used for communication between sendmail and milter processes. This internal protocol is subject to changes in new sendmail versions.

[edit] Sample Milters

[edit] External links

[edit] References

  1. ^ SENDMAIL RELEASE NOTES
  2. ^ Postfix before-queue Milter support