Automatic update of /etc/mailips and /etc/mailhelo when adding new domains in cPanel


Well-Known Member
Jul 16, 2015
cPanel Access Level
Root Administrator
When you have EXIM set to send mail from each account's own dedicated IP, and you have an account with a dedicated IP, and then you add a subdomain to the account it doesn't automatically set things up on the spot so it also sends emails from the subdomain using the dedicated IP. I think it does when you assign the IP to the account in the first place.
The only way it does is if you go into WHM and hit save on the EXIM configuration. It seems like this rebuilds everything. Is there a way to trigger this from the API?


Staff member
Apr 11, 2011
To update, this issue is addressed in cPanel version 56:

Fixed case CPANEL-3642: Ensured /etc/mailips and /etc/mailhelo updated for new domains

Version 56 is not yet available on production build tiers, but you can review the following document to review how the release process works:

cPanel & WHM Versions and the Release Process - cPanel Knowledge Base - cPanel Documentation

We also have a new blog post on this that offers insight on the development process:

The cPanel Development Process | cPanel Blog

Thank you.