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 getting email

Discussion in 'E-mail Discussion' started by AlaskanWolf, Jan 29, 2002.

  1. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Fremont CA
    none of my root users on any of my systems are able to get email, on one of my servers i am getting

    2002-01-29 03:25:00 16VWNo-0007m7-00 == root@wolf.thehideout.net T=local_delivery defer (13): Permission denied: failed to chdir to /root

    and alot of others

    what files are responsible for routing email to root? i would rather have them go to another user on the system but not sure what files to edit
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Spain
    What about creating a .forward file in /root containing another address? For example:

    # cat /root/.forward
    \"admin@yourdomain.com\"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    This is all handled by
    /etc/exim.conf
    and
    /etc/valiases/DOMAIN.COM

    Is the hostname of the server also setup as a virtual domain as far as exim is concerned? This could be causing the problem.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Fremont CA
    [quote:a8b3fbdb3d][i:a8b3fbdb3d]Originally posted by Juanra[/i:a8b3fbdb3d]
    What about creating a .forward file in /root containing another address? For example:

    # cat /root/.forward
    \"admin@yourdomain.com\" [/quote:a8b3fbdb3d]

    great, that did the trick!

    thanks!
     
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