Changing Exim’s Sending IP Print

  • 0

If you have secondary or even third and fourth IP in your cPanel server, you can change exim's sending IP.

Login to WHM

  • Click Exim Configuration Editor
  • Check the box next to:
  • "Send outgoing mail from the ip that matches the domain name in /etc/mailips (*: IP can be added to the file to change the main outgoing interface)"
  • Save Changes
  • Login to ssh and edit the file /etc/mailips
  • Add IP using the following format: *: xxx.xxx.xxx.xxx
  • Then run:

/scripts/buildeximconf
service exim restart

tail -f /var/log/exim_mainlog to see if emails are being delivered.

Please note that this will be overwritten if there is an exim update on cPanel regular updates so you will need to edit this again.


Was this answer helpful?

« Back