Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Modify the rDNS for each IPv4 address to point to the desired domain.

    Warning
    titleImportant:


  2. Enable the Send mail from account's dedicated IP address option in WHM's Exim Configuration Manager interface ( Home >> Service Configuration >> Exim Configuration Manager ).

    Warning
    titleWarning:

    If you select this option, cPanel & WHM uses the /usr/local/cpanel/scripts/updateuserdomains script to automatically configure Exim, and overrides any manual changes in the following files:

      • /etc/mailhelo
      • /etc/mailips


Anchor
#manualchange
#manualchange
Manually configure Exim's outgoing IP addresses

Warning
titleWarnings:
  • We do not recommend that you modify your Exim files. To send outgoing mail with each account's dedicated IP address, enable the Send mail from account's dedicated IP address option in WHM's Exim Configuration Manager interface ( Home >> Service Configuration >> Exim Configuration Manager ).
  • To modify your Exim configuration files, you must have possess root user privileges.
  • If you enable the Send mail from account's dedicated IP address option, it will overwrite any changes that you make in the Exim configuration files.

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

  • Reference /etc/mailhelo for outgoing SMTP HELO
  • Reference /etc/mailips for outgoing SMTP connections
Warning
titleImportant:
  • 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 will overwrite 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.

...

The /etc/mailips file controls the IP address from which each domain sends mail.

Warning
titleWarning:

If you enable the Send mail from account's dedicated IP address setting in the Basic Editor section of WHM's Exim Configuration Manager interface (Home >> Service Configuration >> Exim Configuration Manager), the system will overwrite any manual changes that you subsequently make to the /etc/mailhelo and /etc/mailips files.

Use your preferred text editor to create an /etc/mailips file that resembles one of the following examples:

...