Is there an ACL for exim for rejecting SMTP connects from certain countries?

jols

Well-Known Member
Mar 13, 2004
1,107
3
168
Hi folks,

I've been searching for a solution for this, for well over two years. If anyone can help, I'd certainly appreciate it.

I'm looking for something like this, but that works with EXIM instead of Postfix:

Postfix GeoIP Based Rejections | KutuKupret : KutuKupret

Postfix GeoIP Based Rejections

So if, let's say, one of our hosted email member's account passwords gets stolen (or guessed), then if a spammer tries to log into their account, and if they are from a blacklisted country, e.g. Romania, then they will be prevented from connecting with the SMTP services on the server, i.e. to broadcast spam though the hosted member's email.

Ideally, I'd like to find a way of whitelisting, in EXIM locations in North America and the UK, so that SMTP can only be connected (to send email) from those locations. Also I'd like to create exceptions to this rule from those few accounts that reside outside this whitelisted territory.

This should not be all the tough of a problem, right? We have GeoIP installed on the server, so...

Thanks much.
 

jols

Well-Known Member
Mar 13, 2004
1,107
3
168
Thanks Infopro for taking the time to respond.

Yes, it was a real fore-head-slapper when I found this among the options in our CSF installations at 2am this morning. We've been using CSF for years, and yup, it's right there.

I think I need a new pair of glasses :eek: