<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">First Match rule sets do just that. All Match rule sets concatenate the results. Whitelists are first match. <br class=""><div class=""><br class="webkit-block-placeholder"></div><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://www.mailscanner.info/MailScanner.conf.index.html#Is%20Definitely%20Not%20Spam" class="">https://www.mailscanner.info/MailScanner.conf.index.html#Is Definitely Not Spam</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="Apple-interchange-newline">-</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Jerry Benton</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://www.mailborder.com" class="">www.mailborder.com</a></div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 24, 2015, at 8:57 AM, Denis Beauchemin <<a href="mailto:Denis.Beauchemin@usherbrooke.ca" class="">Denis.Beauchemin@usherbrooke.ca</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Martin,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span lang="EN-CA" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">I have many rules files with default rules at the beginning of the files and they work just fine. Also I couldn’t find any warning about this in the /etc/MailScanner/rules/README file that explains how to use rules so I have to assume there is no such requirement.<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span lang="EN-CA" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span lang="EN-CA" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Denis<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span lang="EN-CA" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><b class=""><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class="">De :</span></b><span lang="FR" style="font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="Apple-converted-space"> </span>MailScanner [<a href="mailto:mailscanner-bounces@lists.mailscanner.info" class="">mailto:mailscanner-bounces@lists.mailscanner.info</a>]<span class="Apple-converted-space"> </span><b class="">De la part de</b><span class="Apple-converted-space"> </span>Martin Hepworth<br class=""><b class="">Envoyé :</b><span class="Apple-converted-space"> </span>24 août 2015 08:38<br class=""><b class="">À :</b><span class="Apple-converted-space"> </span>MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a>><br class=""><b class="">Objet :</b><span class="Apple-converted-space"> </span>Re: Whitelist not working<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Denis<o:p class=""></o:p></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">You sure - Jules always used to say the rules files are treated liek firewall rules, first line to hit as you work from top to bottom will activate.<o:p class=""></o:p></div></div><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;">Unless, of course it changed while I've not bee following too much.<br class=""><br class=""><o:p class=""></o:p></p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><br clear="all" class=""><o:p class=""></o:p></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">--<span class="Apple-converted-space"> </span><br class="">Martin Hepworth, CISSP<br class="">Oxford, UK<o:p class=""></o:p></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">On 24 August 2015 at 13:28, Denis Beauchemin <<a href="mailto:Denis.Beauchemin@usherbrooke.ca" target="_blank" style="color: purple; text-decoration: underline;" class="">Denis.Beauchemin@usherbrooke.ca</a>> wrote:<o:p class=""></o:p></div><blockquote style="border-style: none none none solid; border-left-color: rgb(204, 204, 204); border-left-width: 1pt; padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">This is not true: no need to put the default line last.<br class=""><br class="">Denis<br class=""><br class="">-----Message d'origine-----<br class="">De : MailScanner [mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info" style="color: purple; text-decoration: underline;" class="">mailscanner-bounces@lists.mailscanner.info</a>] De la part de Mogens Melander<br class="">Envoyé : 21 août 2015 23:33<br class="">À : MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" style="color: purple; text-decoration: underline;" class="">mailscanner@lists.mailscanner.info</a>><br class="">Objet : Re: Whitelist not working<o:p class=""></o:p></div><div class=""><div class=""><p class="MsoNormal" style="margin: 0cm 0cm 12pt; font-size: 12pt; font-family: 'Times New Roman', serif;"><br class="">The default should be last in the file.<br class=""><br class="">From: *@*.<a href="http://mydomain.com/" target="_blank" style="color: purple; text-decoration: underline;" class="">mydomain.com</a>          yes<br class="">FromOrTo:       default         no<br class=""><br class="">On Fri, August 21, 2015 21:56, Tony Clark wrote:<br class="">><br class="">> I cannot get any whitelist entries to work in MailScanner.<br class="">><br class="">> I am updating the whitelist in MailWatch, but I am not seeing it get<br class="">> updated in spam.whitelist.rules<br class="">><br class="">> I've tried manually updating spam.whitelist.rules, but every time I<br class="">> send a test SPAM, it gets blocked as spam.<br class="">><br class="">> Here are my file contents:<br class="">><br class="">> ---<br class="">> spam.whitelist.rules:<br class="">><br class="">> # If you are basing a blacklist on this then you can refer to # a null<br class="">> (empty) sender address with "/^$/" as the address to match.<br class="">> #<br class="">> # This is where you can build a Spam WhiteList # Addresses matching in<br class="">> here, with the value # "yes" will never be marked as spam.<br class="">> #From:          152.78.         yes<br class="">> #From:          130.246.        yes<br class="">> #From:          host:<a href="http://soton.ac.uk/" target="_blank" style="color: purple; text-decoration: underline;" class="">soton.ac.uk</a><span class="Apple-converted-space"> </span>yes # Note this is slower than using the<br class="">> IP<br class="">><br class=""><br class="">--<br class="">Mogens Melander<br class=""><a href="tel:%2B66%208701%2033224" style="color: purple; text-decoration: underline;" class="">+66 8701 33224</a><br class=""><br class=""><br class="">--<br class="">This message has been scanned for viruses and<br class="">dangerous content by MailScanner, and is<br class="">believed to be clean.<br class=""><br class=""><br class=""><br class="">--<br class="">MailScanner mailing list<br class=""><a href="mailto:mailscanner@lists.mailscanner.info" style="color: purple; text-decoration: underline;" class="">mailscanner@lists.mailscanner.info</a><br class=""><a href="http://lists.mailscanner.info/listinfo/mailscanner" target="_blank" style="color: purple; text-decoration: underline;" class="">http://lists.mailscanner.info/listinfo/mailscanner</a><br class=""><br class=""><br class=""><br class="">--<br class="">MailScanner mailing list<br class=""><a href="mailto:mailscanner@lists.mailscanner.info" style="color: purple; text-decoration: underline;" class="">mailscanner@lists.mailscanner.info</a><br class=""><a href="http://lists.mailscanner.info/listinfo/mailscanner" target="_blank" style="color: purple; text-decoration: underline;" class="">http://lists.mailscanner.info/listinfo/mailscanner</a><o:p class=""></o:p></p></div></div></blockquote></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div></div><br style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">--<span class="Apple-converted-space"> </span></span><br style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">MailScanner mailing list</span><br style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="mailto:mailscanner@lists.mailscanner.info" class="">mailscanner@lists.mailscanner.info</a></span><br style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Tahoma; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="http://lists.mailscanner.info/listinfo/mailscanner" class="">http://lists.mailscanner.info/listinfo/mailscanner</a></span></div></blockquote></div><br class=""></body></html>