[Mailman-Users] X-Spam-Score: 22.4 and still sent out to the list...

Mark Sapiro mark at msapiro.net
Sat May 30 03:39:10 CEST 2015


On 05/29/2015 09:28 AM, Stephen J. Turnbull wrote:
> 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).


Right, and while it is still best to do this ahead of Mailman, Mailman's
Privacy options... -> Spam filters -> header_filter_rules is the place
to do it in Mailman. (and that's where chicago at python.org does it bases
on x-spam-status:).

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list