FW: IP country block possible?

mailscanner at aha4adsl.nl mailscanner at aha4adsl.nl
Wed Jan 3 18:01:51 CET 2007


Hello Developers,

Although MailScanner is doing a good job on our servers the number of false
passes are rather high.

We mainly have Dutch and Belgium contacts and therefore want to block
non-Dutch IP-ranges.

There are several databases, like IP2location, available to find out from
which country/network the email is coming from.

1) Is there a way to implement these functions in MailScanner and/or
SpamAssassin? We find the current blacklist possibilities rather limited
(the ip2location database has 60000 records like:
"62.4.75.0","62.4.75.31","1040468736","1040468767","NL","Netherlands"
"62.4.75.32","62.4.75.79","1040468768","1040468815","DE","Germany"
"62.4.75.80","62.4.75.95","1040468816","1040468831","NL","Netherlands")


2) an other option is to run your own blacklist server but in combination
with a mysql/php/perl database. Is there any documentation at that point?

3) can it be implemented in MailScanner directly?
With options like
Countries Allow = NL BE US
Countries Blocked = JP TW

We had scanned the lists.mailscanner.info but could not find any related
topics.

With kind regards,

Ron Groen 




More information about the MailScanner mailing list