How you will change exim interface IP

Few times your server’s main/shared science address might get black listed by most of RBLs because of x reasons.
In such things, it might be terribly troublesome to receive/send some vital emails because of this black list.

In such scenario, a fast answer is to route the emails through a secondary science address on an equivalent server that isn't black-listed below those RBLs.

You will contact client support otherwise you can order science from the shopper electrical device.

The mail server on Cpanel i.e Exim permits you to alter the default science address utilized by the mail server so you'd be ready to route all emails through this new secondary science address.

Here square measure the in small stages directions for you to set up your Exim mail server to use the new science address.

Step 1 : Shutdown the exim service.
# service exim stop or /etc/init.d/exim stop
Step 2 : Edit your exim configuration file.
# vi /etc/exim.conf
Step 3: go to “remote_smtp” section under “TRANSPORTS CONFIGURATION”.
By default it would look like below:
driver = smtp
interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{}}}{}}
helo_data = ${if exists {/etc/mailhelo}{${lookup{$sender_address_domain}lsearch{/etc/mailhelo}{$value}{$primary_hostname}}}{$primary_ho stname}}

Step 4 : Remove or comment line containing “interface” and “helo_data” and add new “interface” to match with that of your new IP address. It should look like as follows:
driver = smtp
interface = # Your IP address.

Step 5 : Save your changes and exit out from your exim configuration file.

Note : Dont forget to set read only attributes on exim configuration file, so that it wont get reset to default automatically.

You can do it using following command:
# chattr +aui /etc/exim.conf

Step 6 : start exim service on your server.
# service exim restart or /etc/init.d/exim restart

Step 7 : Make sure to set reverse DNS for this new IP address to point a valid FQDN.

Step 8 : Try sending a test email and you will find that, it was sent using this new IP address configured under your exim configuration.

You can verify it by checking the header of new email under exim’s log file i.e /var/log/exim_mainlog

  • exim configuration
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

DDOS and DNS A Records Need Why ?

It is required that all DDOS shared hosting clients use Rivalhost Global Protected Name-servers...

Can you change my PHP version?

All new shared hosting accounts are created on a server which runs php version 5.3.x or higher We...

Do you host adult sites or content?

Yes we have Offshore Server also Offshore/ anonymous location . you can host / or runs any type...

Can I have multiple domains point to the same website?

Yes. These are commonly referred to as "parked domains" and allow you to have multiple domain...

How long does it take for my account to be setup?

Generally, it will not take more than 24 hours for us to setup your account, unless we have...