Restricting Exim to Certain IP per domain.

ozcorp

Verified User
Joined
May 12, 2004
Messages
25
We are currently looking at options of using defendermx to filter our mail.

Testing is going well but we are still get spammers sending the mail directly to the box and not correct MX records.


Anyway one suggestion from the 3rd party was to block all incoming SMTP traffic via a firewall ( and allowing only their servers through ).

Currently this isn't possible for us for a couple of reasons.

So the question is can it be done for exim to reject all smtp traffic for a domain unless it matches a IP that we allow. And only for certain domains.


If this is possible we would be getting a 99% + effectiveness on spam currently we only getting 97% ( based on 10,000 email )

Long question but I hope someone can help.
 
Last edited:
The easy way is to use one of your IP#s only for exim.

You can easily do this ... set up an unused IP# using your shell (how you do it is OS distribution specific) and DA won't care about it.

Then configure exim (in exim.conf) to listen to that IP# for email. Don't forget to restart exim.

Then use your firewall to block port 25 traffic on all IP#s except that one.

Jeff
 
Back
Top