IPv6 and spam.whitelist.rules

Jerry Benton jerry.benton at mailborder.com
Mon Mar 14 15:44:28 UTC 2016


As far as I know MailScanner does not support CIDR blocks. You would have to use something like this:

192.168.1

to represent 192.168.1.0/24



-
Jerry Benton
www.mailborder.com



> On Mar 14, 2016, at 11:17 AM, Paul Overton <paul at trusted-management.com> wrote:
> 
> Dear All,
>  
> I have recently updated our network to be fully IPv6/IPv4 dual stack operation. Whilst doing this I have updated our MailSanners (x5). Two of them had no issues that other three failed as below.
>  
> For some time I have occasionally used a whitelist for a whole network, there (for example) I have used a netmask xxx.xxx.xxx.xxx/27 which appeared to work, however  when I updated our systems to use IPv6. MailScanner (Spam Detection) stopped working if email was received in using IPv6. After some debugging it appeared that  the reading of the whitelist which is being passed by Mail::CIDR, was erroring with “Invalid Netblock:”.  
>  
> I have re-configured the spam.whitelist.rules file to remove all / notations and all is now working again.
>  
> My systems are based on Slackware Linux, Sendmail (8.15.1) and MailScanner  4.85.2-3. Perl modules up to date.
>  
> Is this expected behaviour, or is this unexpected behaviour, or have I interpreted the whitelist format incorrectly ?
>  
> Regards
>  
> --
> Paul
> 
> -- 
> This message has been scanned for viruses and 
> dangerous content by Trusted Management Limited <http://www.trusted-management.com/>, 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160314/4318c439/attachment.html>


More information about the MailScanner mailing list