Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

root@localhost

Discussion in 'E-mail Discussion' started by Peoplespaces, Apr 20, 2018.

  1. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    243
    Likes Received:
    4
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
    Anyone tell me how to route email from the server sent to root@localhost? I do get the ones sent to root@server***.****.com
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    243
    Likes Received:
    4
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
    Yes, that is set up and I do receive mail sent to root@server***.****.com. It's mail sent to root@localhost that bounces.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you provide some more information about where the emails sent to the "root@localhost" address are coming from? Is this through a third-party application, or are you referring to notifications offered as part of cPanel & WHM? Is the root contact address setup correctly in "WHM Home » Server Configuration » Basic WebHost Manager® Setup"?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    243
    Likes Received:
    4
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
    They are coming from Cloudlinux - ABRT daemon. DoNotReply@server1234.*****.com

    ABRT Daemon <DoNotReply@server1234.******.com>

    Yes, the email is setup correctly as I receive all other notices.

    Detail message says

    Action: failed
    Final-Recipient: rfc822;root@localhost
    Status: 5.0.0
     
  6. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,777
    Likes Received:
    120
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    What is the contents of the /root/.forward file?

    cat /root/.forward
     
  7. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    243
    Likes Received:
    4
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
    servers@****.com It's a valid email address which I receive all of the LFD notices at.

    It's just this LVE notice that's the issue.
     
  8. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,777
    Likes Received:
    120
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    If you send yourself a test message, do you receive it?

    From the same server, on the command line run:

    echo test | mail -s test root
     
  9. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    243
    Likes Received:
    4
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator

    Yes I receive the mail.
     
  10. Peoplespaces

    Peoplespaces Well-Known Member

    Joined:
    Oct 1, 2001
    Messages:
    243
    Likes Received:
    4
    Trophy Points:
    318
    cPanel Access Level:
    Root Administrator
    This is what I see what I check the mail in the queue manager.

    'This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    root@localhost
    Unrouteable address'
     
  11. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,777
    Likes Received:
    120
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Have you contacted CloudLinux about this?

    These message should be going to root but for some reason they are going to root@localhost for you. I don't know where that is configured.

    What is the contents of the /etc/libreport/events.d/mailx_event.conf file?

    cat /etc/libreport/events.d/mailx_event.conf

    What are the Mailx_EmailTo values set to?
     
  12. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Can you also let us know the contents of the /etc/hosts file (ensuring to replace actual domain names and IP addresses with examples)?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice