maildrop
maildrop is a Mail delivery agent used by the Courier Mail Server. The maildrop Mail Delivery Agent (MDA) also includes filtering functionality. maildrop receives mail via stdin and delivers in both Maildir and mbox formats.
Original author(s) | Sam Varshavchik |
---|---|
Initial release | pre-1999 |
Stable release | 3.0.1
/ June 17, 2020[1] |
Preview release | 20170724
/ July 24, 2017[1] |
Operating system | All POSIX (Linux, Mac OS X, FreeBSD, Solaris) |
Type | Mail filter |
License | GPL |
Website | www |
Features
maildrop can optionally read filtering configuration from a file to determine whether the message is delivered to an alternate mailbox or forwarded. The structured filtering language is robust enough to allow maildrop to work with virtual mailboxes. If the filtering configuration contains syntax errors maildrop does not deliver the message but the message is not lost. [2]
maildrop can run in different modes, depending on the calling environment. Delivery mode is the "normal" mail filtering mode; that is, during final delivery, after the message left the SMTP environment.[3] However, maildrop can also run in embedded mode; that is, during an SMTP transaction. Running in embedded mode allows a filter to reject a message before the server accepts it for local delivery. Finally, maildrop can run in manual mode, like any other interpreter.[4]
maildrop is written in C++. However, it uses resources more efficiently than procmail (written in C) by saving large messages to a temporary file rather than reading them into memory. If the input to maildrop is a file then a temporary file is not used.[5]
References
- "latest releases". Package: maildrop subsection. Retrieved June 17, 2020.
- "Maildrop features". Retrieved 7 July 2011.
- That final delivery is outside SMTP is in its defining document: John Klensin (October 2008). "Trace Information". Simple Mail Transfer Protocol. IETF. sec. 4.4. doi:10.17487/RFC5321. RFC 5321.
final delivery means the message has left the SMTP environment
- "maildrop". Retrieved 8 January 2020.
- "Maildrop features (efficiency)". Retrieved 7 July 2011.