Chapter 2. Procmail

This chapter introduces the Procmail mail delivery agent (MDA). The MDA is called by the mail transport agent (or MTA, such as Sendmail) as the final step in the mail delivery process. A call to the MDA delivers email to each end user’s home directory for Maildir-style mailboxes or /var/spool/mail for other MTAs such as Sendmail. The MDA can also perform other checks such as anti-spam, anti-virus, filtering, and many other functions too numerous to list here.

Under the default Sendmail MTA installation, the default MDA is mail.local. mail.local is very limited in its capabilities. For example, many mail.local implementations in use today cannot perform a disk usage check (quota) prior to delivery or filter messages based ...

Get Slamming Spam: A Guide for System Administrators now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.