Rules multiple conditions

Mark Sapiro mark at msapiro.net
Mon Mar 17 04:46:51 GMT 2014


On 03/16/2014 09:29 PM, Mark Sapiro wrote:
> 
> Even simpler, you can use perl's '!' not operator as in
> 
> FromOrTo: /\@domain\.com$/ and From: !/^user\@domain\.com$/


Ooops. It appears that doesn't work. I thought I'd tested it, but I'd
forgotten to reload MailScanner after changing my test rule.

The negative lookahead rule does work as described in my first reply.

-- 
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 MailScanner mailing list