[Mailman-Users] KNOWN_USERS + SpamAssassin discarding lots of mail

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Thu Mar 2 00:53:46 CET 2006


Patrick Bogen wrote:

> Now, here's the problem with this.
> 
> X-Spam-Status for a non-spam message may look like:
> 
> X-Spam-Status: No, score=-5.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 ...
> 
> (and keeps going for a while.)
> 
> As should be pretty obvious, 'Yes' case-insensitively is found in
> 'BAYES'. This won't occur with the header_filter_rules, because they
> match the header as a line, rather than treating the value separately.
> So, as an alternative, it should be possible to use a KNOWN_SPAMMER of
> ('X-Spam-Status', '^Yes').
> 

Or, you should use:
('x-spam-flag', 'yes'),

Cheers,
-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/



More information about the Mailman-Users mailing list