Re: permit smtp connections from specific country only

2012-12-11 Thread Benny Pedersen
Tom Kinghorn skrev den 11-12-2012 11:26: smtpd_client_restrictions = check_client_access regexp:/etc/postfix/fqrdns.regexp, permit_mynetworks, permit_countryips, check_client_acccess cidr:/etc/postfix/countryips_in_cidr_format.cidr remember order of listning is importa

Re: permit smtp connections from specific country only

2012-12-11 Thread Tom Kinghorn
On 11/12/2012 12:51, Eero Volotinen wrote: maybe something like this helps: http://www.kutukupret.com/2011/05/29/postfix-geoip-based-rejections/ -- Eero Excellent. Thank you very much. Tom

Re: permit smtp connections from specific country only

2012-12-11 Thread Eero Volotinen
> connections, you have to allow for the fact that many people may be using > webmail servers (eg, Gmail, Hotmail, Yahoo, or a variety of corporate hosted > solutions) that are not in their own country. So the IP of the sending > server is, at best, only a rough guide to the location of the sending

Re: permit smtp connections from specific country only

2012-12-11 Thread Mark Goodge
On 11/12/2012 10:26, Tom Kinghorn wrote: Good day list. Without the use of policyd or postfwd, is it possible to limit connections to your mail server from a specific country only? I was thinking something like: mynetworks = $config_directory/mynetworks countryips = $config_directory/country_i

permit smtp connections from specific country only

2012-12-11 Thread Tom Kinghorn
Good day list. Without the use of policyd or postfwd, is it possible to limit connections to your mail server from a specific country only? I was thinking something like: mynetworks = $config_directory/mynetworks countryips = $config_directory/country_ips smtpd_client_restrictions = ch