The whole principal behind my spam filter is that it deletes mail that is not addressed to you. Well, often any mailing lists to which you are subscribed will also fall under this category. To avoid problems with your mailing lists, you have to account for them before you analyze a message for spam. This is why rc.maillists was listed before rc.spam in .procmailrc. This file goes in the location specified in .procmailrc, which in our case was ~/.procmailrc. This file makes use of procmail "recipes" to analyze the incoming mail. These recipes can be quite complex. For these examples, however, I am just checking for text in the "From" field of the e-mail header. For more information on procmail recipes, see examples under the procmailrc and procmailex man pages. The file below is an example rc.maillists. Download it here.
|
Page URL: Author: Bob Bell Last modified: |
|