I subscribe to ip2location.com, which provides geolocation services by IP address. The info is downloaded on nightly from their web servers and put into a database. I check the IP addresses contained in the message against the database and if it's from a foreign country, I block it.
You can allow some foreign countries through if you choose... it just takes a little coding. -- Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Prindeville Sent: Friday, January 27, 2006 7:46 PM To: [email protected] Subject: Re: [Mimedefang] Adding support for learning our addresses David F. Skoll wrote: >Philip Prindeville wrote: > > >From Perl? But the whole thing's pretty silly anyway -- unless your >server is very unusual, you can hard-code its IP address(es) in your >filter. > > > Well, there are a few reasons: (1) it makes it turn-key so that neophytes can use it more easily; (2) you can run the same config on a cluster of servers unmodified; (3) mobile users with dynDNS can use it. > >I'm not sure, actually... I never checked. Let's see: > >$ whois 206.191.13.82 > >OrgName: Magma Communications Ltd. >[...] >NetRange: 206.191.0.0 - 206.191.63.255 >CIDR: 206.191.0.0/18 > >Nope; I guess not. > > Hmmm. I was hoping to be able to blacklist certain countries, etc. like Romania, China, Thailand, etc. that aren't identifiable by rDNS. I suppose a way to manually reset a blacklisting could be done. Or do apply it per a criteria. BTW: my SpamAssassin pukes at "use_terse_report 1". What version does that apply to? -Philip _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

