This how-to is meant to demonstrate how to enable and add custom mail HELOs.
To enable Exim to use custom mail HELOs, follow these steps:
- Navigate to WHM >> Exim Configuration Manager >> Basic Editor >> Domains and IPs.
- Disable the Use the reverse DNS entry for the mail HELO/EHLO if available option and enable the Reference
/etc/mailhelofor custom outgoing SMTP HELO option.
- Open or create
/etc/mailhelowith the text editor of your choice and add the domains and mail HELOs you would like these domains to use to the file.
Here is an example of a custom
The domain and its custom mail HELO are defined in pairs. For example, example.com uses example.com as its mail HELO, sub.example.com uses example.com as its mail HELO, and so on. The last entry, *, is a wildcard symbol that represents every other domain not already listed in
/etc/mailhelo and is considered to be the default mail HELO.
You can read more about the configuration options and
/etc/mailhelo file in our documentation here: