On Fri, 29 Feb 2008 19:53:15 -0800 Mark Sapiro wrote:
> I suspect you have an old Mailman version. Prior to Mailman 2.1.7, the
> regular expression search was not multiline
That's the answer, I'm using 2.1.5 from RHEL 4.
Thanks very much for your help with this!
--
David E. Bernholdt
Mark Sapiro wrote:
>[EMAIL PROTECTED] wrote:
>>
>>Here's the result: In applying header_filter_rules, it looks like the
>>entire set of headers is being treated as a single multiline string.
>
>
>That is correct.
>
>
>>For reasons I don't entirely understand (remember I'm not a python
>>expert), "
[EMAIL PROTECTED] wrote:
>
>Here's the result: In applying header_filter_rules, it looks like the
>entire set of headers is being treated as a single multiline string.
That is correct.
>For reasons I don't entirely understand (remember I'm not a python
>expert), "^" and "$" are not matching the
Okay, it looks like the header_filter_rules are getting set correctly
through all interfaces, including the web u/i -- I have been unable to
reproduce the errors I had initially observed with escaping of
backslashes. Perhaps I got my tests muddled.
I've also spent some time figuring out why even
[EMAIL PROTECTED] wrote:
>On Tue, 19 Feb 2008 08:35:12 -0800 Mark Sapiro wrote:
>> Are you saying you see this with bin/dumpdb of the config.pck. If so,
>> that's just the way python is showing the representation of the
>> string. It is not the actual value of the string. If you doubt that,
>> tr
On Tue, 19 Feb 2008 08:35:12 -0800 Mark Sapiro wrote:
> Are you saying you see this with bin/dumpdb of the config.pck. If so,
> that's just the way python is showing the representation of the
> string. It is not the actual value of the string. If you doubt that,
> try 'strings' instead of 'bin/dum
[EMAIL PROTECTED] wrote:
>
>If I use a simple regex, like
>'^x-spam-flag: *yes'
>it seems to show up properly in the configuration. But if I use a
>more precise regex that accounts for all forms of whitespace with the
>"\s" sequence, like this
>'^\s*x-s
Our corporate mail gateway adds a header to flag things it believes
are spam. I'd like to be able to take advantage of this in my Mailman
lists. I'm having some problems setting the header_filter_rules
properly.
If I use a simple regex, like
'^x-spam-flag: *yes'
it seem