root not getting emails

chaos21in

Member
Apr 7, 2005
5
0
151
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
[email protected] 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
<= [email protected] U=root P=local S=453 [email protected]
=> root <[email protected]> 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
 

chaos21in

Member
Apr 7, 2005
5
0
151
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
 

chaos21in

Member
Apr 7, 2005
5
0
151
i have all type of access on the server including root.

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

--chaos
 

chaos21in

Member
Apr 7, 2005
5
0
151
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