Skip to main content

Root sending mail to root - System Mail Preferences not applied

Comments

8 comments

  • Infopro
    From that email address, in your mail client, send an email to this site to check for issues: mail-tester.com It's a straightforward and quite handy tool to use for this sort of thing that you should find useful. :)
    0
  • web01
    Thanks, the thing is that email address doesn't exist and I don't know why root is trying to send an email to itself and so often (see attached). The issue is not why it isnt being delivered but why is it being sent and how can I stop it. It seemed the system mail preferences being set to root was the solution but surprisingly no change after a restart. The sender / recipient is root@hostname.serverdomain and there are no emails accounts associated with serverdomain. No mail issues with any of the cPanel accounts, is this normal?
    0
  • Infopro
    It seemed the system mail preferences being set to root was the solution but surprisingly no change after a restart.

    You've added "root" there instead of an off-server email address? This should be set to an email address. And that email address should work properly. The domain in your screenshots shows an MX issue on intodns.com, I checked it.
    0
  • web01
    You've added "root" there instead of an off-server email address? This should be set to an email address. And that email address should work properly. The domain in your screenshots shows an MX issue on intodns.com, I checked it.

    It was originally set to root I changed it to a valid email. The emails are still the same though. Thanks for the tip on the domain issue will look inot it now that may have something to do with it.
    0
  • Infopro
    It was originally set to root I changed it to a valid email.

    Them, you mean, them, correct? There are several forms there that should be set with an email address. ;)
    0
  • web01
    Them, you mean, them, correct? There are several forms there that should be set with an email address. ;)

    Yes I have changed all the emails in that section and server configuration.
    0
  • cPanelMichael
    Hello @web01, The error you reported can sometimes happen if an entry for your hostname is missing from the /etc/localdomains file. Can you confirm if your server's hostname exists in the /etc/localdomains file? You can run the following command to check: grep `hostname` /etc/localdomains
    If not, please update your hostname (you can keep the same name) using WHM >> Change Hostname and then run the above command again to verify if the hostname exists in that file. Thank you.
    0
  • web01
    @cPanelMichael Thanks for the tip, my hostname was in fact missing from that file and emails are now being delivered correctly from that address. Thanks for your assistance and thanks to @Infopro for the heads up on the mx issue which has also been rectified.
    0

Please sign in to leave a comment.