[Mailman-Users] Spam filters

Mark Sapiro mark at msapiro.net
Tue May 15 19:00:14 CEST 2012

Mark J Bradakis wrote:

>But to be more general, what are some of the current
>best practices to filter out spam in a postfix mailman environment
>on Linux?

I use greylisting with Postgrey and spam/virus/other scanning via

Also to increase protection against hijacked list member's accounts, on
my largest, highest traffic list I have set Privacy options... ->
Recipient filters -> max_num_recipients to 5 although this does result
in some held posts due to the recipient list growing after multiple

I also hold messages with no or empty Subject: header. I happen to do
this with a custom handler that also holds messages that quote digest
boilerplate, but it can be done with header_filter_rules.

Other things I hold with header_filter_rules are these:


I also have


in all my lists' ban_list.  This is not anti-spam, but is to prevent
answerpot from subscribing to lists for the purpose of archiving them.

If MailScanner seems too heavy a hammer for spam/malware filtering,
alternatives are <http://sourceforge.net/apps/trac/fuglu/> or simply
running spamassassin and clamav via milters.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list