[Mailman-Users] Header filtering regex issue

Mark Sapiro mark at msapiro.net
Tue Jul 7 21:39:31 CEST 2015

On 07/07/2015 04:43 AM, Sibi John wrote:
> In my spam filter rules, this is the regex that I have and it matches perfectly.
> From: .+@(?!(xxx|yyy)\.com).+
> For some reason, it discards all email and I cannot seem to figure out what I am doing wrong. Any suggestions ?

The regexp should work. It might match some desired addresses like
user at sub.xxx.com and not match some undesired ones like user at xxx.com.au,
but it should work for the obvious cases.

Do you have any other header_filter_rules? If so, what are they?

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