blacklists domain hangs mailscanner

Steve Freegard steve.freegard at fsl.com
Thu Jan 11 11:28:22 CET 2007


Ramprasad wrote:
> Hi
> 
>  I am using MS 4.50 on Centos
> to implement blacklists I use in Mailscanner.conf 
> 
> 
> Is Definitely Spam = %rules-dir%/spam.blacklist.rules
> 
> 
> The file contains
> 
> ---------------
> From: 4-c.de and To: netcore.co.in yes
> FromOrTo: default no
> --------------------
> 
> If I restart Mailscanner , mailscanner processes go defunct. 
> In debug mode 
> 
> I can see  Mailscanner dies with message like 
>  MailScanner:       In Debugging mode, not forking...
>  at /usr/lib/MailScanner/MailScanner/Config.pm line 1890
> 
> 
> Strange thing , 4-c.de doesnt work. But 4-c.com works fine
> 

I've seen this too recently (on .be domains) and have been meaning to 
test on the latest beta.

The reason this happens is because 4-c.de is in range [a-f][A-F][0-9] 
and therefore the ruleset compiler treats the domain as an IPv6 address 
which then causes a regexp error in that block of code.

I'll try and test this later on the current Beta and will report back.

Cheers,
Steve.


More information about the MailScanner mailing list