Filter by IP

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

I tried it as just 
To: * deliver
To: * 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 [mailto:mailscanner-bounces at] 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: * deliver header "X-Spam-Status: No"
> To: * 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


MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list