Manually configure Exim's outgoing IP addresses

To use a custom Exim configuration, you must enable the following options in the Basic Editor section of WHM'sExim Configuration Managerinterface (Home >> Service Configuration >> Exim Configuration Manager):

Reference /etc/mailhelo for outgoing SMTP HELO

Reference /etc/mailips for outgoing SMTP connections

Important:

If you disable the Reference /etc/mailhelo for outgoing SMTP HELO setting, the system willoverwrite any changes that you make to the /etc/mailhelo file.

If you disable the Reference /etc/mailips for outgoing SMTP connections setting, the system willoverwrite any changes that you make to the /etc/mailips file.

The /etc/mailhelo file

The /etc/mailhelo file contains Exim's configuration for the HELO command, which initiates dialog between a mail server and a client. This file governs which domain sends the HELO command.

Use your preferred text editor to create an /etc/mailhelo file that resembles the following example:

In the example above, the system uses the asterisk (*) entry to direct outbound mail for domains without entries within this file. In this case, this is your server's main shared IPv4 address. You can set this value to another IP address if you ensure that the asterisk entry in the /etc/mailhelo file uses the appropriate domain name.

Only use valid, publicly-accessible IP addresses.

Do not separate multiple IP addresses with commas. Instead, use semi-colons.

In the example above, the system uses a double colon (::) to indicate a collapsed section. However, IPv6 addresses cannot contain more than one double colon. For more information, read our Guide to IPv6 documentation.

Only use valid, publicly-accessible IP addresses.

Do not separate multiple IP addresses with commas. Instead, use semi-colons.

cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, Inc. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2018 All rights reserved.