Software

Mailparser:


This works with spamassassin and qmail to pipe spam to /dev/null while still delivering regular mail messages. Several years ago I wrote a C program that looks for the string X-Spam-Flag: Yes and pipes to /dev/null but lately people have been reporting it partially eats their mail (and I haven’t been able to reproduce the bug).Now (9/14/2007) I have a perl script that does the same thing. It’s not going to be as fast as a tiny C program but that wont matter unless you have insanely high mail workloads and it’s still better than letting spam hit your queue or your virus scanner.

Heres the new perl version:

mailparser.pl

And if you want to try the old C version:

mailparser.c