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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.