IP country block possible?

Dave Strydom strydom.dave at gmail.com
Wed Jan 3 18:16:49 CET 2007


Take a look at the IPTables GEOIP patch, this will work a lot more
effective than trying to implement it into MailScanner.

Dave

On 1/3/07, Michele Neylon :: Blacknight <michele at blacknight.ie> wrote:
> mailscanner at aha4adsl.nl wrote:
> > 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.
>
> That sounds mental. I can understand blocking or restricting Korea etc., but
> what about the rest of us?
>
> What about AOL? Gmail? Yahoo?
>
> This list!!
>
>
> You might also want to review what you are using at present.. If you
> implemented greylisting, greet pause etc., you'd probably see a lot of crap
> being stopped
>
>
> >
> > There are several databases, like IP2location, available to find out
> > from which country/network the email is coming from.
>
> Read this:
>
> http://www.mneylon.com/blog/archives/2005/01/15/geo-specific-scoring/
>
> You can block at the SMTP level completely if you wish.. It's not that hard
> :)
>
> >
> > 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?
>
>
> Yes, but not here. There's info over on sourceforge and elsewhere if you go
> poking
>
> >
> > 3) can it be implemented in MailScanner directly?
> > With options like
> > Countries Allow = NL BE US
> > Countries Blocked = JP TW
>
> No.
>
>
> >
> > We had scanned the lists.mailscanner.info but could not find any
> > related topics.
> >
> > With kind regards,
> >
> > Ron Groen
>
>
>
> Mr Michele Neylon
> Blacknight Solutions
> Hosting & Colocation, Brand Protection
> http://www.blacknight.ie/
> http://blog.blacknight.ie/
> Tel. 1850 927 280
> Intl. +353 (0) 59  9183072
> UK: 0870 163 0607
> Direct Dial: +353 (0)59 9183090
> Fax. +353 (0) 59  9164239
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


More information about the MailScanner mailing list