Home Miscellaneous HOW TO CHANGE EXIM’S OUTGOING MAIL IP

HOW TO CHANGE EXIM’S OUTGOING MAIL IP

by SupportPRO Admin

In certain occasion’s server’s main IP may get black listed due to some reasons. In this we can change the exim outgoing IP, instead of the blacklisted one.
Please follow simple steps below;
1 : Stop exim.
2 : Open exim configuration [/etc/exim.conf] file with vi/vim.
3 : Search ‘remote_smtp’ section below TRANSPORTS CONFIGURATION.
4 : Delete or comment out line containing ‘interface’ and ‘helo_data’ and add the new ‘interface’ with the new IP address.

 

It should look like as follows:
================================================
;remote_smtp
;driver = smtp
;interface = x.x.x.x # Change with your new IP.
================================================
5 : Save the changes and quit from conf file.
6 : chattr +ia /etc/exim.conf [otherwise exim will overwrite the changes we made]
7 : Restart exim.
Don’t forget to set rDNS for the new IP to point a valid FQDN.

If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Comment