[Mailman-Users] Problem with bounce_matching_headers

Mark Sapiro mark at msapiro.net
Thu Apr 14 21:50:51 CEST 2011


Barry Finkel wrote
>
>I added a line to bounce_matching_headers
>
>      Subject: .remove.


I don't know why this didn't work unless it contains trailing
whitespace (leading whitespace is removed before matching). However,
if you are trying to match the 'word' remove, I would use

   Subject: \Wremove\W

See <http://docs.python.org/library/re.html#regular-expression-syntax>

Note that bounce_matching_headers (and header_filter_rules) are matched
case insensitively.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list