| What is procmail? | ||
|---|---|---|
| Procmail is a mail filtering program. It allows to redirect mail from certain addresses or containing suspicious Subject headers directly to the garbage. | ||
| Configuring procmail. | ||
|
To setup procmail you need to create 2 files in your home directory. The first file ".forward" contains the line
The second file ".procmailrc" contains the filtering data. The following example of a .procmailrc file:
| ||
| A word of advise | ||
| Be on the safe side with filtering your mail. You might filter away mail you actually wanted to see. You can change the Unix garbage "/dev/null" in the above filter to a file in your home directory and empty this from time to time. |
|
Simplicity, Clarity, Generality
B.W. Kernighan, R. Pike, in "The Practice of Programming".
|
