[Mailman-Users] Mailman and spam
Tokio Kikuchi
tkikuchi at is.kochi-u.ac.jp
Thu Apr 21 03:33:07 CEST 2005
Andreas Rittershofer wrote:
> Mails I receive are already processed by SpamAssassin, so spam is marked
> with a X-Spam-Level.
>
> Now I want that these mails addressed to mailing lists are deleted by
> mailman and not held for approval.
>
> How to do this?
I put this in mm_cfg.py:
KNOWN_SPAMMERS = [
('x-spam-flag', 'yes'),
... other stuffs
]
It is better not to use X-Spam-Level because the *'s are special
characters in python regular expression. Better to tweak in the
spamassassin configuration.
--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
More information about the Mailman-Users
mailing list