Procmail is included by default in most Linux distributions. However, many commercial Unix implementations do not include it, requiring you to install it if needed. We cover Procmail version 3.22 here, but you should be able to use any recent version of the tool with the recipes provided in this book.

The installation of Procmail is required only on certain versions of Unix. Most distributions of Linux contain Procmail. However, Solaris doesn’t contain Procmail, so it must be built (or the binary package must be downloaded).

To install Procmail, perform the following steps. First, download the current sources by transferring them from and downloading procmail-3.22.tar.gz into a directory such as /usr/local/src ...

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.