Whitelist not working

Jerry Benton jerry.benton at mailborder.com
Mon Aug 24 14:12:17 UTC 2015


First Match rule sets do just that. All Match rule sets concatenate the results. Whitelists are first match. 

https://www.mailscanner.info/MailScanner.conf.index.html#Is Definitely Not Spam <https://www.mailscanner.info/MailScanner.conf.index.html#Is%20Definitely%20Not%20Spam>


-
Jerry Benton
www.mailborder.com



> On Aug 24, 2015, at 8:57 AM, Denis Beauchemin <Denis.Beauchemin at usherbrooke.ca> wrote:
> 
> Martin,
>  
> 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.
>  
> Denis
>  
> De : MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] De la part de Martin Hepworth
> Envoyé : 24 août 2015 08:38
> À : MailScanner Discussion <mailscanner at lists.mailscanner.info>
> Objet : Re: Whitelist not working
>  
> Denis
> 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.
> Unless, of course it changed while I've not bee following too much.
> 
> 
> 
> -- 
> Martin Hepworth, CISSP
> Oxford, UK
>  
> On 24 August 2015 at 13:28, Denis Beauchemin <Denis.Beauchemin at usherbrooke.ca <mailto:Denis.Beauchemin at usherbrooke.ca>> wrote:
> This is not true: no need to put the default line last.
> 
> Denis
> 
> -----Message d'origine-----
> De : MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info <mailto:mailscanner-bounces at lists.mailscanner.info>] De la part de Mogens Melander
> Envoyé : 21 août 2015 23:33
> À : MailScanner Discussion <mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info>>
> Objet : Re: Whitelist not working
> 
> The default should be last in the file.
> 
> From: *@*.mydomain.com <http://mydomain.com/>          yes
> FromOrTo:       default         no
> 
> On Fri, August 21, 2015 21:56, Tony Clark wrote:
> >
> > I cannot get any whitelist entries to work in MailScanner.
> >
> > I am updating the whitelist in MailWatch, but I am not seeing it get
> > updated in spam.whitelist.rules
> >
> > I've tried manually updating spam.whitelist.rules, but every time I
> > send a test SPAM, it gets blocked as spam.
> >
> > Here are my file contents:
> >
> > ---
> > spam.whitelist.rules:
> >
> > # If you are basing a blacklist on this then you can refer to # a null
> > (empty) sender address with "/^$/" as the address to match.
> > #
> > # This is where you can build a Spam WhiteList # Addresses matching in
> > here, with the value # "yes" will never be marked as spam.
> > #From:          152.78.         yes
> > #From:          130.246.        yes
> > #From:          host:soton.ac.uk <http://soton.ac.uk/> yes # Note this is slower than using the
> > IP
> >
> 
> --
> Mogens Melander
> +66 8701 33224 <tel:%2B66%208701%2033224>
> 
> 
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> 
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info>
> http://lists.mailscanner.info/listinfo/mailscanner <http://lists.mailscanner.info/listinfo/mailscanner>
> 
> 
> 
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info>
> http://lists.mailscanner.info/listinfo/mailscanner <http://lists.mailscanner.info/listinfo/mailscanner>
>  
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20150824/145bc0c9/attachment.html>


More information about the MailScanner mailing list