Procmail

In email systems, procmail, a mail delivery agent (MDA), can sort incoming mail into various directories and filter out spam messages.wikipedia
32 Related Articles

Mail delivery agent

MDAmessage delivery agentLDA
In email systems, procmail, a mail delivery agent (MDA), can sort incoming mail into various directories and filter out spam messages. The procmail mail delivery agent is generally not started from the command line, but is usually invoked by mail delivery subsystems, such as a mail transport agent (like Sendmail or Postfix), or from a mail retrieval agent (such as fetchmail).
On Unix-like systems, procmail and maildrop are the most popular MDAs.

Fdm (software)

fdmfdm (fetch, filter and deliver mail)
fdm (fetch/filter and deliver mail) is a mail delivery agent and email filtering software for Unix-like operating systems, similar to fetchmail and procmail.

Email filtering

spam filterspam filtersE-mail filtering
In email systems, procmail, a mail delivery agent (MDA), can sort incoming mail into various directories and filter out spam messages.
More complex control flow and logic is possible with programming languages; this is typically implemented with a data-driven programming language, such as procmail, which specifies conditions to match and actions to take on matching, which may involve further matching.

Sieve (mail filtering language)

SieveSieve mail filtering language
This approach has been followed by later languages such as maildrop and sieve.
Sieve is a data-driven programming language, similar to earlier email filtering languages such as procmail and maildrop, and earlier line-oriented languages such as sed and AWK: it specifies conditions to match and actions to take on matching.

Fetchmail

The procmail mail delivery agent is generally not started from the command line, but is usually invoked by mail delivery subsystems, such as a mail transport agent (like Sendmail or Postfix), or from a mail retrieval agent (such as fetchmail).
By design Fetchmail's only means of delivering messages is by submitting them to the local MTA/Message transfer agent or invoking a mail delivery agent like procmail, maildrop, or sendmail; delivering directly to mail folders such as maildir is not supported.

Maildrop

This approach has been followed by later languages such as maildrop and sieve.

Data-driven programming

data-drivendata drivendata-driven design
Procmail is a data-driven programming language, similar to earlier line-oriented languages such as sed and AWK: it specifies conditions to match and actions to take on matching, in the form of "recipes".
In email, a language like procmail can specify conditions to match on some emails, and what actions to take (deliver, bounce, discard, forward, etc.).

Apache SpamAssassin

SpamAssassinmessage scoring systemspam protection
A common practice is to let procmail call an external spam filter program, such as SpamAssassin.
Mail filter programs such as procmail can be made to pipe all incoming mail through Apache SpamAssassin with an adjustment to a user's .procmailrc file.

Email

e-mailelectronic maile-mails
In email systems, procmail, a mail delivery agent (MDA), can sort incoming mail into various directories and filter out spam messages.

Message transfer agent

mail transfer agentmail serverMTA
The procmail mail delivery agent is generally not started from the command line, but is usually invoked by mail delivery subsystems, such as a mail transport agent (like Sendmail or Postfix), or from a mail retrieval agent (such as fetchmail).

Sendmail

Message Submission ProgramSendmail XSendmail+IDA
The procmail mail delivery agent is generally not started from the command line, but is usually invoked by mail delivery subsystems, such as a mail transport agent (like Sendmail or Postfix), or from a mail retrieval agent (such as fetchmail).

Postfix (software)

PostfixCustom PostfixPostfix Mail
The procmail mail delivery agent is generally not started from the command line, but is usually invoked by mail delivery subsystems, such as a mail transport agent (like Sendmail or Postfix), or from a mail retrieval agent (such as fetchmail).

Mail retrieval agent

The procmail mail delivery agent is generally not started from the command line, but is usually invoked by mail delivery subsystems, such as a mail transport agent (like Sendmail or Postfix), or from a mail retrieval agent (such as fetchmail).

Sed

Stream editor
Procmail is a data-driven programming language, similar to earlier line-oriented languages such as sed and AWK: it specifies conditions to match and actions to take on matching, in the form of "recipes".

AWK

AWK programming languagegawk
Procmail is a data-driven programming language, similar to earlier line-oriented languages such as sed and AWK: it specifies conditions to match and actions to take on matching, in the form of "recipes".

Regular expression

regular expressionsregexregexp
Conditions are usually extended regular expressions, although there are other forms of condition also.

Anti-spam techniques

anti-spamspam filteringantispam
A common practice is to let procmail call an external spam filter program, such as SpamAssassin.

Electronic mailing list

mailing listemail listmailing lists
The procmail developers have built a mailing list manager called SmartList on top of procmail.

Cross-platform software

Cross-platformPlatform independentmulti-platform