We help IT Professionals succeed at work.

If the root user's email and '/var/spool/mail/root' "root" entry is gone.. how do I re-create it?

Medium Priority
614 Views
Last Modified: 2013-12-18
RHEL5.  Somehow my root email account got removed.  How do I "re-enable" root's email?  
Comment
Watch Question

Commented:
/var/spool/mail/root will be created automatically when new emails are received.

Are you receiving bounce messages when sending to root?

You shouldn't need to re-enable it, unless you've deleted root entirely, which is doubtful.

Author

Commented:
I tried that but no luck..
[root@101 mail]# mail root
Subject: Test
wewe
Cc:
[root@101 mail]# mail
No mail for root
[root@101 mail]#

Open in new window

Author

Commented:
I also tried for "bob."  Although Bob has an entry, in var..He gets no email:

[root@101 mail]# mail bob
Subject: test2
blahblahblah
Cc:
[root@101 mail]# su bob
[bob@101 mail]$ mail
No mail for bob
[bob@101 mail]$
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
would have been my next question...
good you found it.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.