Hi,
GeoIP is somewhat non free (requires licencing).
What I use, just to put a header with the location in every mail, is a
DNS based location list which is free.
My ACL is:
warn
sender_domains = !+local_domains
message= X-Location: $dnslist_text
dnslists = country-rirdata.dnsiplists.completewhois.com
I don't know if it will detect Kenya correctly, so you will probably
have to make some tests.
Subject:
[exim] Using GeoIP to block spammers - anyone?
From:
"Odhiambo G. Washington" <wash@???>
Date:
Thu, 22 Jun 2006 20:37:01 +0300
To:
exim-users@???
Hello pple,
I have have a server which is where all deliveries are done. This server
is not advertised "anymore" in DNS, but spammers are still sending to
it in defiance of my TTL from DNS configuration.
I know that most of my clients who use this server are located within
my country (damn Kenya!).
I now want to block all connections to this server which originate
outside my country.
I have hit google hard and found two projects that were geared towards
introducing the complexities (yes) of using GeoIP within Exim.
http://botanicus.net/dw/exim-python/exim-4.60py1.html
http://pookey.co.uk/exim-geoip.xml
One seems recent enough, but both seem like they are un-maintained.
I am running Exim 4.62 on all my servers.
Is there anyone out there using another variant of GeoIP blocking with
Exim that they'd be willing to share with the community (me ;))?
Thanks in advance.
cheers
- wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) |
wash () WANANCHI ! com . 1ere Etage, Loita Hse, Loita St., |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
--from a /. post
--
.O.
..O
OOO
PGP key:
http://www.llorien.org/gnupg/key.pub
Insanity: doing the same thing over and over again and expecting
different results.
- Albert Einstein