maildrop

{{Short description|Mail service}}

{{distinguish|text=mail drop, a company which receives mail on behalf of clients at its street address}}

{{Primary sources|date=August 2011}}

{{lowercase|procmail}}

{{Infobox software

| name = Maildrop

| logo =

| screenshot =

| caption =

| author = Sam Varshavchik

| developer =

| released = pre-1999

| latest release version = 3.0.3

| latest release date = {{start date and age|2021|03|14}}{{cite web|url=https://www.courier-mta.org/download.html|at=Package: maildrop subsection|access-date=2021-04-15|title=latest releases}}

| latest preview version =

| latest preview date =

| operating system = All POSIX (Linux, Mac OS X, FreeBSD, Solaris)

| platform =

| genre = Mail filter

| license = GPL

| website = {{url|https://www.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.{{cite web|title=Maildrop features|url=http://www.courier-mta.org/maildrop/|access-date=7 July 2011}}

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.That final delivery is outside SMTP is in its defining document: {{cite IETF |title=Simple Mail Transfer Protocol |rfc=5321 |sectionname=Trace Information

|section=4.4 |author=John Klensin |date=October 2008 |publisher=IETF| quote=final delivery means the message has left the SMTP environment}} 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.{{cite web| title=maildrop| url=http://www.courier-mta.org/maildrop/maildrop.html |access-date=8 January 2020}}

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.{{cite web|title=Maildrop features (efficiency)|url=http://www.courier-mta.org/maildrop/|access-date=7 July 2011}}

See also

{{Portal|Free and open-source software}}

References

{{Reflist}}