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

mail: command not found cpanel server

If you got an error mail: command not found on a new install when running a script that emailed...

Install DKIM and SPF in cPanel

The following scripts are used to enable DKIM and SPF records...

Manage Exim Mail Queue Manager in WHM

The Mail Queue Manager allows you to view, delete, and attempt to deliver queued messages that...

Mailman Error Mailman Bug | Internal Server Error

Are you getting Internal server error while accessing mailing list? Mostly it will be displayed...

Convert MBox accounts to MailDir

MBox is the original and ancient format for storing mail on Unix systems, it consists of a single...

Powered by WHMCompleteSolution