On 15-06-16 02:21, Allen Coates wrote: > > > On 14/06/16 23:31, list...@tutanota.com wrote: >> >> 14. Jun 2016 15:01 by njo...@megan.vbhcs.org >> <mailto:njo...@megan.vbhcs.org>: >> >> Is there some way to integrate the GeoIP dbs with postscreen? >> >> >> No, at least not easily. >> >> >> >> Ok. That would be a nice function to have, in my own opinion. >> > > FWIW - my postscreen_dnsbl_sites contains the lines:- > > zz.countries.nerd.dk, > zz.countries.nerd.dk=127.0.3.58*-1, > > The first line ALWAYS returns a country code (for analysis), and also > scores 1 "blacklist point" which is > recinded by the second line if the remote host is in my own country (the UK) > > You can also interrogate the site by country, eg "host > 4.3.2.1.uk.countries.nerd.dk", which will only return a code if the ip > address belongs to the uk... > > It might give you another "angle" on processing by country >
You could also convert the cidr tables from http://www.ipdeny.com/ipblocks/ into check_client_access rules that whitelist some countries from greylisting. Kind regards, Tom