[Mailman-Users] Attempt to block spam using X-Spam-Flag blocks allmessages to list

Kelly Jones kelly.terry.jones at gmail.com
Sat Jan 20 03:14:54 CET 2007


On 1/19/07, Mark Sapiro <msapiro at value.net> wrote:
>
> I haven't looked at this to see if it is actually a possible cause, but
> the regexp box in header_filter_rules is a list of regexps one per
> line. If it contains an empty line or a 'blank' line, that might be a
> regexp that will match anything or any blank. Don't type a new-line
> after the regexp.

Thanks, Mark. I'm pretty sure there was a newline after the regexp.

In fact, I dumped the config before we wiped out the filter:

header_filter_rules = [('^x-spam-flag:.*yes\r\n\r\n', 3, False)]

That second "\r\n" shouldn't be there, should it? Ouch!

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.


More information about the Mailman-Users mailing list