On Thu, 19 Dec 2013 09:45:26 +0000 Norah Jones nh.jones01@gmail.com wrote:
Hi,
Why I get this message " You have new mail in /var/spool/mail/root " in CentOs?
My queries are the following -
- Why this is generated ?
- How to disable this ?
- Is this system generated ?
- Is this message gain any importance ?
Thanks, Norah Jones
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi,
Basically, this is just a "You've got mail" notification.
Most likely these are system generated logs or errors being mailed to root.
When logged into root type "mail" to see them.
Importance wise, it depends on what you perceive as important.
I myself like to know what is going on with my system so I leave them on, while others do not.
Disabling them would involve either, disabling postfix all together (or any other mailserver), this would prevent all system mail.
Or, if you are using this as an email server, disabling other things such as logwatch, and any other script which may mail root,
Lastly another option is creating a dumby user for all mail directed at root to go by setting up aliases in /etc/aliases (Basically at end: root: dumbyuser) and then running newaliases.
Hope this helps :-).
Regards, Jake Shipton (JakeMS) GPG Key: 0xE3C31D8F GPG Fingerprint: 7515 CC63 19BD 06F9 400A DE8A 1D0B A5CF E3C3 1D8F