Filter by IP

Sampson, Aaron Sampson at
Mon Sep 17 20:10:30 IST 2012


I have not as of yet integrated MailWatch with our system.

From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Bjorn Mork
Sent: Monday, September 17, 2012 1:02 PM
To: MailScanner discussion
Subject: Re: Filter by IP

Yes, this is possible via MailScanner. We are working with these kind of rules via integration of MailWatch + MailScanner.


On Mon, Sep 17, 2012 at 9:01 PM, Sampson, Aaron <Sampson at<mailto:Sampson at>> wrote:
I am running Centos 6 with Postfix/mailscanner 4.84.5 with Spam Assassin and Clamd and I have a Test server that I am trying to prevent from e-mailing anyone outside 2 certain domains.  I have been trying to figure out the best way to set this up so that it does not interfere with the production servers or regular e-mails.  But not really clear on the best way to set this up.
I thought about trying to put something in whitelist.rules but want to have a clear plan of attack before I try anything to prevent disruption of normal e-mails.

Wanting to do something like
When From: ip.tst.srv.add           Only Allow to send to:<> & this<> (and block anything not to that domain)

Any thoughts would be greatly appreciated

Aaron Sampson
IT Department

MailScanner mailing list
mailscanner at<mailto:mailscanner at>

Before posting, read

Support MailScanner development - buy the book off the website!

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list