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/ ------------------------------------------------------ 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