<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Martin,<div><br></div><div> That's new to me and very interesting... I'll see if I can fiddle with the concept. I might be able to use that in spam.whitelist.rules, except for the fact that I'm using &ByDomainSpamBlacklist and &ByDomainSpamWhitelist ...</div><div><br></div><div> I did try to mess with Scan Messages setting it to a ruleset which </div><div><br></div><div><div>#Who gets scanned</div><div>FromOrTo: @newdomain.com <span class="Apple-tab-span" style="white-space:pre">        </span>/etc/MailScanner/rules/domains/newdomain.com/scan.messages.conf</div><div>FromOrTo: default /etc/MailScanner/rules/domains/default/scan.messages.conf</div><div><br></div><div>Where the conf file was the list of the domain users to scan [aka yes] and default no then the deault for everyone else was yes.</div><div>Sadly you can;t seem to use a ruleset in Scan Messages that points to a conf file. Needs to be all in 1 file.</div><div><br></div><div>-Mike</div><div><br></div><div><div>On May 5, 2013, at 1:24 AM, Martin Hepworth wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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'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>
><br>
> This is a strange one and I'm not sure how to do it off the top of my head. I'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'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't think the rulesets allow for negation in the matching.... I also assume the biggest rule win so<br>
><br>
> To: <a href="javascript:;" onclick="_e(event, 'cvml', 'thing1@somedomain.com')">thing1@somedomain.com</a> no<br>
> To: *@<a href="http://somedomain.com/" target="_blank">somedomain.com</a> yes<br>
><br>
> Would not work in the spam.whitelist.rules<br>
><br>
> -Mike Tremaine<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', '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>
</blockquote></div><br><br>-- <br>-- <br>Martin Hepworth, CISSP<br>Oxford, UK<br>
-- <br>MailScanner mailing list<br><a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br></blockquote></div><br></div></body></html>