This is exactly what is causing this issue for me. I changed the hostname through WHM >> Change Hostname. That explanation doesn't explain why WHM is ignoring the following settings:Hi @philsward,
Thank you for taking the time to create this post to help those facing the same issue.
We generally see this issue when the hostname is manually changed on the server from the command line with the "hostname" command. An entry for the hostname is automatically added to the /etc/localdomains file during the initial setup phase of the cPanel installation, and any time the hostname is changed through the "WHM >> Change Hostname" feature.
Thanks!
- Home »Server Configuration »Basic WebHost Manager® Setup »Contact Information:
- Enter one or more email addresses to contact in case a problem arises with this server.
- Enter one or more cellular phone or pager email addresses to message via email in case a problem arises with this server.
- Home »Server Contacts »Contact Manager
- Short Message Service (SMS)
Secondly, even in the event email is sent to root it should be forwarded per the following WHM settings:
Home »Server Contacts »Edit System Mail Preferences:
- Forward mail for “cpanel” to:
- Forward mail for “nobody” to:
- Forward mail for “root” to:
All of which are set to valid email, yet none of which actually forward email for the renamed host. There is a flaw in the slaw with rename host. It should update everything automatically. In the meantime, please provide the manual workaround.