-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/2011 03:49 PM, Bas Mevissen wrote: > On Thu, 2011-03-10 at 15:35 +0000, Mark Watts wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> 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? >> > > What is the reason you want to do this? If you want this mere as an anti > spam measure, I advise to use IP-based black lists. They are more > powerful and are adapted for spam hosts around the globe as they appear. > > Regards, >
I'm already using three RBL's (b.barracudacentral.org, zen.spamhaus.org and dnsbl.sorbs.net) yet I'm still seeing a fair amount of spam coming in from Russian and Romanian IP ranges that isn't blocked. Mark. - -- Mark Watts BSc RHCE Senior Systems Engineer, MSS Secure Managed Hosting www.QinetiQ.com QinetiQ - Delivering customer-focused solutions GPG Key: http://www.linux-corner.info/mwatts.gpg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk149QAACgkQBn4EFUVUIO2iBACfRmtaWbHtuRFX8fLJhLvt/kR+ c5cAn2/y3ckj5ORHcap+zVNMNCDXGTpo =Cjjy -----END PGP SIGNATURE-----