[CentOS] Why I get this message " You have new mail in /var/spool/mail/root " ?
John R. Dennison
jrd at gerdesas.com
Thu Dec 19 18:36:12 UTC 2013
On Thu, Dec 19, 2013 at 09:56:36AM -0800, Keith Keller wrote:
>
> You can disable the message with biff n (IIRC). You can also redirect
> root's (future) mail to a user mailbox by modifying /etc/aliases and
> running newaliases when done. (That will not do anything with mail
> already delivered to root.)
man bash; "Shell Variables"
MAILCHECK
Specifies how often (in seconds) bash checks for mail. The
default is 60 seconds. When it is time to check for mail, the
shell does so before displaying the primary prompt. If this
variable is unset, or set to a value that is not a number
greater than or equal to zero, the shell disables mail checking.
John
--
As I approve of a youth that has something of the old man in him, so am I
no less pleased with an old man that has something of the youth. He that
follows this rule may be old in body, but can never be so in mind.
-- Marcus Tullius Cicero (106 BC - 43 BC)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20131219/9e4a5b8a/attachment.sig>
More information about the CentOS
mailing list