The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

root getting email

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

  1. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    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:
    16
    Location:
    Spain
    What about creating a .forward file in /root containing another address? For example:

    # cat /root/.forward
    \"admin@yourdomain.com\"
     
  3. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  4. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    16
    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