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/

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to