Filter by IP

Sampson, Aaron Sampson at p2sol.com
Thu Sep 20 20:36:01 IST 2012


I tried it as just 
To: *@allow.domain1.com deliver
To: *@allow.domain2.com deliver

But still got the syntax error message.

As a work around we created another smtp server and created transport rules to only allow mail to go to the domains listed 

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Andrew Colin Kissa
Sent: Thursday, September 20, 2012 1:06 PM
To: MailScanner discussion
Subject: Re: Filter by IP


On 20 Sep 2012, at 4:45 PM, Sampson, Aaron wrote:

> To: *@allow.domain1.com deliver header "X-Spam-Status: No"
> To: *@allow.domain2.com deliver header "X-Spam-Status: No"

Your syntax error is because rulesets can only have 3 or 6 fields you can NOT have 2 actions for a rule like you have (deliver and header)

- Andrew

--
www.baruwa.org



--
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! 


More information about the MailScanner mailing list