Jump to content

maildrop

From Wikipedia, the free encyclopedia
Maildrop
Original author(s)Sam Varshavchik
Initial releasepre-1999
Stable release
3.0.3 / March 14, 2021; 3 years ago (2021-03-14)[1]
Operating systemAll POSIX (Linux, Mac OS X, FreeBSD, Solaris)
TypeMail filter
LicenseGPL
Websitewww.courier-mta.org/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.

Features

[edit]

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]

See also

[edit]

References

[edit]
  1. ^ "latest releases". Package: maildrop subsection. Retrieved 2021-04-15.
  2. ^ "Maildrop features". Retrieved 7 July 2011.
  3. ^ 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
  4. ^ "maildrop". Retrieved 8 January 2020.
  5. ^ "Maildrop features (efficiency)". Retrieved 7 July 2011.
[edit]