Is there an ACL for exim for rejecting SMTP connects from certain countries?
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:
[url=http://www.kutukupret.com/2011/05/29/postfix-geoip-based-rejections/]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.
-
Are you aware of the option in CSF for this sort of thing? See the readme, section: 26. Exim SMTP AUTH Restriction May be of some use to you. 0 -
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 :o 0 -
Happy to help. 0
Please sign in to leave a comment.
Comments
3 comments