Skip to main content

Problems on System Email

Comments

4 comments

  • cPRex Jurassic Moderator
    Hey there! That's definitely odd, as mine show as the full root@full.host.name address when I check the mail delivery reports. If you check that page in WHM, does it show the full hostname listed there? Is it possible your hostname has reset at some point? If you just enter "hostname" into an SSH prompt it will return what the operating system thinks the current hostname is set to.
    0
  • CoreXL
    Hey there! That's definitely odd, as mine show as the full root@full.host.name address when I check the mail delivery reports. If you check that page in WHM, does it show the full hostname listed there? Is it possible your hostname has reset at some point? If you just enter "hostname" into an SSH prompt it will return what the operating system thinks the current hostname is set to.

    Hello, indeed in the Mail Delivery Reports, the full email address does not appear, it appears only as I mentioned it at the beginning of the thread. It looks like this: root@testsaur This has never happened to me before. I have executed the command to know the hostname I had and it appears like this: hostnamectl status
    The result was the following: [root@testsaur ~]# hostnamectl status Static hostname: testsaur
    So I went to look at the configuration inside WHM - Change Hostname And it appears to me like this, however I have given the Change again, and then I have rerun the hostnamectl status command and this is the result: [root@testsaur ~]# hostnamectl status Static hostname: testsaur.privatedomain.com
    Now I have gone back to the Mail Delivery Reports and the full email address appears: root@testsaur.privatedomain.com But I get the following error: [COLOR=rgb(184, 49, 47)]root cannot accept local mail deliveries Thanks in advance.
    0
  • cPRex Jurassic Moderator
    Are you hosted on Amazon or Google? Some providers reset the hostname if the server reboots, and there is an additional script that needs to be created in order to make sure that survives a reboot.
    0
  • CoreXL
    Hello, at the moment I think it already works: root cannot accept local mail deliveries I have added a full email address in: cat /etc/localaliases cat /root/.forward
    0

Please sign in to leave a comment.