UnixServerAdmin

Server Administration & Management

How to change Exim IP Address

If you are not able to send mails with server IP OR If you are in the danger of getting your main server IP block by SpamCop because you had a few anoying spamers abusing your server then you could simply change your exim mailserver IP to avoid the effect of your main IP beeing blacklisted, then you can try changing the IP that exim uses by default. You can set exim to use any of the free Ip on the server. So here is process to change interface ip address for exim. Inside both incoming and outgoing exim mail server you will need to add an interface : so just edit

# vi /etc/exim_outgoing.conf and vi /etc/exim.conf

2) Check for the following parameters.
================
remote_smtp:
driver = smtp
================

Change to like this:
================
remote_smtp:
driver = smtp
interface=x.x.x.x
================

Add following lie :- “add interface = ip.you.want.to.use” and Replace “x.x.x.x” with your IP address.

# /etc/init.d/exim restart

NOTE: Just a reminder – If there is an exim update when you upgrade your cpanel server you will need to re-enter the interface again Once this is done, Also restart exim for the changes to take effect.

August 12, 2011 Posted by | Exim | | Leave a comment