Rules multiple conditions

Jerry Benton jerry.benton at mailborder.com
Mon Mar 17 00:55:39 GMT 2014


Point the setting to a ruleset file and put it in two rules. 

FromOrTo: user at domain.com /dev/null
FromOrTo: *@domain.com /path/to/archive

This is an All Match rule, so this may or may not work, but it should be easy enough to test. 



-- 
Jerry Benton
www.mailborder.com

On March 17, 2014 at 1:46:22 AM, Marc (marc at reidclan.com) wrote:

I’m trying to archive email FromOrTo a domain so have the rule:

 

FromOrTo: *@domain.com /path/to/archive

 

Which works great.

 

However, I’d like to exclude a particular address (one for now, so hoping its easy).

 

FromOrTo: *@domain.com or Not From: user at domain.com

 

How could that work? (I assume the ‘Not’) won’t work in the above line.  What is the correct rule?


Thanks,

 

 

Marc

 

--  
MailScanner mailing list  
mailscanner at lists.mailscanner.info  
http://lists.mailscanner.info/mailman/listinfo/mailscanner  

Before posting, read http://wiki.mailscanner.info/posting  

Support MailScanner development - buy the book off the website!  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140317/feb2a10b/attachment.html 


More information about the MailScanner mailing list