[Mailman-Users] Quick question about spam filtering

Mark Sapiro msapiro at value.net
Fri Apr 27 20:18:37 CEST 2007

Stephen J. Turnbull wrote:

>Mark Sapiro writes:
> > In header_filter_rules, put the following regexp.
> > 
> > ^from:.*\slistname at whatever\.com\s
>Isn't that going to lose on (1) Bogus Name <listname at whatever.com>

Yes. I totally overlooked <>. It needs to be

^from:.*[\s<]listname at whatever\.com[\s>]

>on (2) ... listname at whatever.com{END-OF-LINE} ?

No. \s will match end of line (\n or \r).

Mark Sapiro <msapiro at value.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