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

2007-01-19 Thread Dragon
Mark Sapiro sent the message below at 06:08 PM 1/19/2007: >Kelly Jones wrote: > > >One of my users added this as a spam filter: > > > >^x-spam-flag:.*yes > > > >(all lower case since spamfilter regexps are case-insensitive-- > >hyphens not backslashed by accident), > > >It doesn't matter. '-' has n

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

2007-01-19 Thread Mark Sapiro
Kelly Jones wrote: > >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! That's correct.

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

2007-01-19 Thread Kelly Jones
On 1/19/07, Mark Sapiro <[EMAIL PROTECTED]> 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 anythi

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

2007-01-19 Thread Mark Sapiro
Kelly Jones wrote: >One of my users added this as a spam filter: > >^x-spam-flag:.*yes > >(all lower case since spamfilter regexps are case-insensitive-- >hyphens not backslashed by accident), It doesn't matter. '-' has no special meaning. >and the list started dropping >ALL emails. Why? > >We