[Mailman-Users] Tieing Mailman to Spamassassin

Rob Brandt bronto at csd-bes.net
Thu Mar 4 02:32:23 CET 2004

I have a new mailing list that will likely attract spammers.  I need to tie this
in to my spamassassin installation and am not quite sure how to go about doing
it.  Here's my situation:

My mail server configuration is postfix-courier-imap with mysql authentication. 
I use virtual domains in postfix, and to enable spam filtering I have maildrop
installed and use a maildrop filter to pass email to spamassassin for analysis.
 This allows me to do spam control on a per-domain basis.  If I want spam
control on a particular domain, I set the postfix transport to "maildrop"; if
not I set it to "local".  It works well, but have never used it for mailing

I was hoping that I would be able to use the same method with this new mailman
list.  The domain is in fact dedicated to the mailing list, and no other email
will be routed through it.  To try it, I assigned the transport for that domain
to "maildrop" and created mail filter files for each of the mailman aliases. 
In the filter file for the actual mailing list, I put in the command to pass
the mail through to spamassassin.  It doesn't seem to work.  The email gets
processed through the list as if it hadn't been processed through spamassassin.
 I'm guess that this is exactly the case; that since the mailman aliases are
not real email accounts, the mailfilter files aren't even being looked at.

Am I wrong?  Or is there a better way to do this?



More information about the Mailman-Users mailing list