Check out the overloading instrctions on the mailscanner wiki<div><br></div><div>Martin<span></span> <br><br>On Sunday, 5 May 2013, Mike Tremaine  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I should add that there is more then 1 domain on the server.<br>
<br>
So I&#39;m not sure this will work unless I also added each other domain... [I might have to try it that way but..]<br>
<br>
<br>
##########3<br>
Scan Messages = %rules-dir%/ScanMessages.rules<br>
<br>
In your rules directory (usually MailScanner/etc/rules/)<br>
<br>
Create a file with lines that look like:<br>
<br>
To:     user1 at <a href="http://domain.com" target="_blank">domain.com</a>     yes<br>
To:     user2 at <a href="http://domain.com" target="_blank">domain.com</a>     yes<br>
FromOrTo: default       no<br>
<br>
#######3<br>
<br>
On May 3, 2013, at 6:51 PM, Mike Tremaine wrote:<br>
<br>
&gt;<br>
&gt; This is a strange one and I&#39;m not sure how to do it off the top of my head. I&#39;ve got a domain that wants to try out mailscanner BUT they only want a few [6] addresses filtered. The rest they want to let through untouched. [Yes I know but it&#39;s a waste of oxygen to argue sometimes]. Without getting a full list of valid email addresses can anyone think of a clever way to whitelist the domain EXCEPT for the the 6. I don&#39;t think the rulesets allow for negation in the matching.... I also assume the biggest rule win so<br>

&gt;<br>
&gt; To: <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;thing1@somedomain.com&#39;)">thing1@somedomain.com</a>  no<br>
&gt; To: *@<a href="http://somedomain.com" target="_blank">somedomain.com</a>          yes<br>
&gt;<br>
&gt; Would not work in the spam.whitelist.rules<br>
&gt;<br>
&gt; -Mike Tremaine<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;mailscanner@lists.mailscanner.info&#39;)">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>
</blockquote></div><br><br>-- <br>-- <br>Martin Hepworth, CISSP<br>Oxford, UK<br>