postfix-users March 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: GeoIP based rejections

Re: GeoIP based rejections

From: mouss <mouss_at_nospam>
Date: Sat Mar 12 2011 - 10:08:32 GMT
To: postfix-users@postfix.org

Le 10/03/2011 16:35, Mark Watts a écrit :
>
> I'd like to be able to reject connections from remote IP addresses if
> they're from certain countries (or conversely only allow from certain
> countries).
>
> What are my options for doing this in/with postfix?

- you can also use
        http://countries.nerd.dk/
and the like.

- you can convert the GeoIP map into an sql access map:
        http://www.siafoo.net/article/53
        http://vincent.delau.nl/artikelen/geoip_howto.html

with that you can adjust your sql queries to implement whatever you want
to do.

- you can convert the GeoIP map to a DNSBL and use rbldnsd

- Milter-Greylist:
http://milter-greylist.wikidot.com/geoip

- write your own policy server or milter