On Wed, Jan 07, 2004 at 09:50:13AM -0600, Jeremy Newman wrote: > On Wed, 2004-01-07 at 02:30, Marcus Meissner wrote: > > > At one point, Jeremy was talking about implementing some Mailman spam > > > filtering, and I would sure like to see that happen. > > Still would like to. > > > I am using a handmade filter script on a list I moderate, which just bounces > > anything with X-Spam: yes. > > > > /etc/alias file entry: > > > > <list>: "|dropspam /etc/mail/smrsh/wrapper post <list>" > > > > /etc/mail/smrsh/wrapper is the path to the mailman wrapper script. > > > What you don't explain here, is how the spam header gets there in the > first place. I suppose I could do something like this. > > <list>: "|spamc|dropspam /etc/smrsh/wrapper post <list>" > > spamc is the spamassassin script, which checks for spam, then pipe to > the dropspam script. Spamassassin has a perl interface, so I could also > just do it in one script.
I forgot to mention that my list hosts runs mimedefang/spamassassin by default before checking aliases. But yes. Ciao, Marcus
pgp00000.pgp
Description: PGP signature