Monday, April 18, 2011

Mail server Ip has been black listed

Suppose all our particular range of IPs have been blocked(black listed) in Yahoo/hotmail/etc... In this case we will insist to change the datacentre.

Exim has a wonderful way to solve this issue without changing the datacentre. That is routing the emails through another server. If you have a server in another data centre we can route all the yahoo (or required domains) to our remote server.

In this case we can use EXIM's Routing mailserver using smarthost function. Which means we can route all the emails related to particular domain(suppose YAHOO) through another server. Which IP is not black listed in Yahoo.

Please note down the Routing mail server configuration for EXIM

under "ROUTERS CONFIGURATION" in exim.conf

smarthost:
driver = manualroute
domains = ^yahoo\.* : btinternet.com
transport = remote_smtp
route_data = "host name of the remote server"

After that on your new routing server we need to relay IP for the server in /etc/relayhosts
Otherwise it will throws out an error message

error:-
2011-04-11 14:45:29 H=your.server.com [IP] F= rejected RCPT : your.server.com [IP] is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.

No comments:

Post a Comment