Consider your mail server IP got blacklisted by any of the RBLs . In such situations a quick solution is to route the emails through a secondary IP address on the same server which is not black listed . While you may have given the IP unblock request , but the advantage here is we needn’t want to wait till they remove the IP .
Follow the steps:-
1) ssh to your server
2) Make a copy of current configuration .
# cp /etc/exim.conf /etc/exim.conf.backup
3) Stop exim
# /etc/init.d/exim stop
4) Edit your exim configuration file.
# vi /etc/exim.conf
Find remote_smtp under Transports section . It would look like :
Now remove the lines interface and helo_date and add the new interface .
It should look like :
5) Save your changes and exit .
6) Set an attribute to exim configuration file so that it wont get reset to default during cpanel updates ( If you are changing the IP through Exim configuration editor under whm , it won’t get reset after a cpanel update) .
# chattr +aui /etc/exim.conf
7) Restart exim
#service exim restart
or
# /etc/init.d/exim restart
How to change via Exim configuration editor under WHM.
a) Follow step 1, 2 and 3 above .
b) Login to WHM
c) Navigate to Server Configuration >> Exim Configuration >> Advanced editor
d) Go to Transports section
Now you can make the changes as described in step 4 .
e) Save .
Note that while selecting the IP , you should make sure that it is not black listed anywhere . It would be better not to choose an IP on the same network and choose the one which is free . You can check if
there is any free IPs from WHM >> IP Functions >> Show IP address Usage .
The first priority should be determining why you were listed on these blacklists . If your server is sending spam unbeknownst to you, changing the IPs will merely result in getting a new set of IPs blacklisted, which ultimately doesn’t resolve your problem .






