James Nightly writes:

 > How can I configure mailman on Debian to reject messages with
 > X-Spam-Score over 8? We are getting bombarded with spam, messages are
 > tagged by Spamassasin, but for some reason Exim4 still sends these to
 > Mailman.

"Evaluating" numbers by regexp is finicky, but there's a SpamAssassin
setting that makes it provide a header with as many stars as the
message got spam points.  Then you just filter on r"^X-Spam-Stars:
\*\*\*\*\*\*\*\*" (where you need to substitute the real header name
for "X-Spam-Stars", of course).
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to