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 not getting emails

Discussion in 'E-mail Discussions' started by chaos21in, Apr 9, 2005.

  1. chaos21in

    chaos21in Member

    Joined:
    Apr 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    I am new to cpanel. My question is, why root is not getting emails. I want root to get emails of usual Logwatch daily, plus security or malicious script alert mails, which happens on servers without cpanel software. I added some aliases in /etc/aliases file. Like:

    mailer-daemon: postmaster
    postmaster: root
    apache: root

    etc. But for system to take these changes into account, the sendmail/mailman/exim (whatever is running there?) to restart i guess (?). How do i do it. When previously i tried to send an email to root, root didnt get the email but i got the message in /var/log/exim_mainlog file:

    User 0 set for local_delivery transport is on the never_users list
    root@ns1.domain.com R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list

    so in the file /etc/exim.conf i put a hash # before "never_users = root"

    but i am still geting error in the same file as
    <= root@ns1.domain.com U=root P=local S=453 id=20050409111907.GA31139@ns1domain.com
    => root <root@ns1.domain.com> R=localuser T=local_delivery
    Completed

    Another question, when i am trying to install pine through latest rpm, it gives error
    root@ns1 [~]# rpm -ivh pine-4.62-1.i386.rpm
    Preparing... ########################################### [100%]
    file /usr/bin/mailutil from install of pine-4.62-1 conflicts with file from package imap-utils-2002d-9

    root@ns1 [~]# cat /etc/redhat-release
    Red Hat Enterprise Linux ES release 3 (Taroon Update 4)

    any idea how to do it?
    --chaos
     
  2. RickG

    RickG Well-Known Member

    Joined:
    Feb 28, 2005
    Messages:
    238
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    North Carolina
    Have you updated the forward address in WHM -> Server Setup -> Change System Mail Preferences?
     
  3. chaos21in

    chaos21in Member

    Joined:
    Apr 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi, Thank you for the reply. But unfortunately i couldnt find WHM -> Server Setup -> Change System Mail Preferences...all the i see there is:

    [Cluster/Remote Access
    Setup Remote Access Key

    Server Status
    Service Status
    Server Information

    Account Information
    List Accounts
    View Bandwidth Usage
    List Suspended Accounts
    Show Accounts over Quota
    List Subdomains
    List Parked Domains

    Account Functions
    Create a New Account
    Skeleton Directory
    Terminate an Account
    Modify an Account
    Upgrade/Downgrade an Account
    Rearrange Accounts
    Limit Bandwidth Usage
    Suspend/Unsuspend an Account
    Modify Suspended Account Page
    Quota Modification
    Password Modification

    etc. etc.
    regards,
    --chaos
     
  4. junglecat

    junglecat Well-Known Member

    Joined:
    Jul 6, 2004
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Are you in a reseller account, or do you have root access to the server you're on?
     
  5. chaos21in

    chaos21in Member

    Joined:
    Apr 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    i have all type of access on the server including root.

    BTW i build pine from source , so now its working..

    --chaos
     
  6. chaos21in

    chaos21in Member

    Joined:
    Apr 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Now its working...the default mailbox path set was /var/spool/mail/root but mails was saving in /root/mail/inbox , i checked it and set it appropriately in pinerc file, so now i am getting all root mails

    thanks anyway
    --chaos
     
  7. dinfiesta

    dinfiesta Well-Known Member

    Joined:
    May 2, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Yeap...that get it fixed :)

    Thanks
     
  8. aoc

    aoc Member

    Joined:
    Nov 9, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    i have this problem too why it happend and how to repair it?
     
Loading...

Share This Page