How to change Exim mail server IP address

By default Exim will be using the main server shared IP address to send mails. If the main server IP is listed in any spam database, then we will not be able to send mails. In order to fix this, we can change the Exim mail server IP to any other secondary IP which is not blacklisted on the server.

1. Open the Exim configuration file

  vi /etc/exim.conf

2. Locate the section of the file that contains the following:

remote_smtp:
driver = smtp

3. Replace this section with the following modified version :

remote_smtp:
driver = smtp
interface = <IP>

4. Restart Exim using the following commands

service exim restart
or
/etc/init.d/exim restart

This will change the outgoing mail server IP of the exim mail server.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...

Powered by WHMCompleteSolution