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!

Emails to root are not being redirected

Discussion in 'E-mail Discussion' started by bastek72pl, Nov 20, 2007.

  1. bastek72pl

    bastek72pl Member

    Joined:
    Apr 19, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    151
    I have this issue since 4 weeks maybe. All messages going to root get stuck in the exim queue with the error "root@server.mydomain.com R=lookuphost defer (-1): remote host address is the local host", even though, according to the server contacts setup, these should go to admin@mydomain.com.

    Could anyone help on this please?
     
  2. Danny_T

    Danny_T Well-Known Member

    Joined:
    Jul 19, 2005
    Messages:
    181
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Netherlands
    Try edit /etc/aliasses
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    Planet Earth

    You can also add admin@mydomain.com to /root/.forward file
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,154
    Likes Received:
    38
    Trophy Points:
    178
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    I already have a /root/.forward forwarding those mails but still had the problem.

    Then I found Chirpy's posting here, and this solved it:

    http://forums.cpanel.net/showthread.php?t=63833

    I added my server's FQDN (hostname) to /etc/localdomains and it works great now.

    - Scott
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 sneader, Dec 9, 2007
    Last edited: Dec 9, 2007
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