The Milter (portmanteau for mail filters ) is an extension of the widely used mail-dispatching mail -mail (MTA), Sendmail and Postfix. This allows administrators to add email filters to filter spam or viruses in mail processing chains. In the language of art, "milter" refers to the protocol and API that implement the service, while "milter" has referred to the filter application that uses the milter to provide services.
Video Milter
Histori
Prior to the advent of the milter, email filters were generally implemented as programs that the MTA would submit messages after it actually arrived, with most of the information the message envelope was removed. The program can then analyze the header and message content and make the decision to receive the message (ie return the "success" status to the MTA) or reject it (ie return the "failed" status to the MTA). The MTA will then record a successful delivery or return a failure message to the sender as appropriate, and the filter will be responsible for affecting the delivery of messages (to the intended inbox, as is, or modified to remove unwanted content, or to a specific folder, etc..).
A lighter MTA capable of telling the connected filter about each message delivery phase, from the initial client connection through the transmission settlement. In each SMTP session phase, filters are given data about messages that arrive and then have an opportunity to end the reception of messages earlier when needed. For very large messages, this can have a huge impact when the decision to decline can be made as early as possible. In addition, unlike previous models, MTAs that have more power can connect to multiple filters in parallel that serve certain purposes such as anti-virus, anti-spam, message authentication, flow settings, etc. Finally, the filter can take special action on messages: add or remove recipients in envelopes; changing body before delivery; add, change, or delete header fields in messages, etc.
The Sendmail Consortium includes a dedicated threaded library in sendmail distribution that provides lighter APIs.
Military usage has spread in recent years and milters are becoming increasingly important in large-scale mail processing to block, verify and sort incoming mail.
Maps Milter
MTA
Sendmail
Milter was first officially introduced to Sendmail 8.12.0 released on September 8, 2001. Milter is available in sendmail version 8.11.x as FFR (For Future Release/Beta code). Milter has undergone substantial improvements since its first official release. The latest information is at SENDMAIL RELEASE NOTES to find out about Milter related changes in the sendmail version. Postfix