Yes, this is possible via MailScanner. We are working with these kind of rules via integration of MailWatch + MailScanner. <br><br><br>Regards,<br>B~Mork.<br><br><br><div class="gmail_quote">On Mon, Sep 17, 2012 at 9:01 PM, Sampson, Aaron <span dir="ltr">&lt;<a href="mailto:Sampson@p2sol.com" target="_blank">Sampson@p2sol.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Wanting to do something like<u></u><u></u></p>
<p class="MsoNormal">When From: ip.tst.srv.add           Only Allow to send to: <a href="http://our.domain.com" target="_blank">our.domain.com</a> &amp; this <a href="http://domain.com" target="_blank">domain.com</a> (and block anything not to that domain)<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any thoughts would be greatly appreciated<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Aaron Sampson<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">IT Department<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div><br>