This procmail script will kill/delete any mail messages which are suspected of being SPAM or unsolicited e-mail of any kind while minimizing false positives (i.e., messages marked as spam but are OK). (It is very similar to Undertaker and similar in spirit to Software House on the Coasts of Orion's procmailrc. It also uses techniques outlined in Scott Vintinner's Fairly-Secure Anti-SPAM Gateway, except at the individual customizeable level.) First, spambouncer (use the FILTER=yes option) or spamassassin (use "rewrite_subject 0", "auto_learn 0", "report_header 1", "use_terse_report 1", "defang_mime 0" in your user_prefs) is used to mark up the message. Then, a whitelist is used to let in known addresses. If this fails, various blacklists and borrowed techniques (including the Habeus watermark, razor, DCC, bogofilter, ifile) are used to determine if the message is "nasty"; only after the message is marked non-nasty, customizeable "whitelist" keywords (including company names and friend's names) are used along with some machine learning (again via ifile) to determine if the recipient has true interest in the mail. It also deals with sneakemail.com embedded addresses and Postini tags properly. It is released under the GPL.

To use this software, you'll need to do the following:

This software has only been tested under Debian 2.2 GNU/Linux using qmail.

Here's the script: junkicide.proc

Robert's Tiny Software Repository for Procmail

Date Last Modified: Sat Aug 15 16:20:42 UTC 2009