On 09/22/2017 07:22 PM, Jim Dory wrote: > Maybe this is how to do it: > > My spam filter is not working. I have this syntax: ^Subject: .*Example
And where are you putting this? If you have that in bounce_matching_headers, you don't want the ^. The syntax there is the header followed by a regexp to match. E.g. subject: .*example or even (I think) subject: ^.*example Both the header and regexp are case insensitive. If it's in header_filter_rules ^Subject: .*Example should work (and it too is case insensitive). > And mail with this subject is still getting through: > Subject: Desperate for a Example If the above doesn't explain it, it's possible the header is rfc 2047 encoded as in Subject: =?utf-8?b?RGVzcGVyYXRlIGZvciBhIEV4YW1wbGUK?= which decodes to Subject: Desperate for a Example but headers should be rfc 2047 decoded for header_filter_rules but not for bounce_matching headers. Also note that bounce_matching_headers is called "Legacy anti-spam filters" for a reason. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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