Software:maildrop

From HandWiki
Short description: Mail service

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

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

References

  1. "latest releases". Package: maildrop subsection. https://www.courier-mta.org/download.html. 
  2. "Maildrop features". http://www.courier-mta.org/maildrop/. 
  3. That final delivery is outside SMTP is in its defining document: John Klensin (October 2008), Simple Mail Transfer Protocol, IETF, sec. 4.4, doi:10.17487/RFC5321, RFC 5321, https://tools.ietf.org/html/rfc5321, "final delivery means the message has left the SMTP environment" 
  4. "maildrop". http://www.courier-mta.org/maildrop/maildrop.html. 
  5. "Maildrop features (efficiency)". http://www.courier-mta.org/maildrop/. 

External links