Solved

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

Posted on 2009-07-02
7
578 Views
Last Modified: 2013-12-18
RHEL5.  Somehow my root email account got removed.  How do I "re-enable" root's email?  
0
Comment
Question by:Sp0cky
  • 3
  • 2
7 Comments
 
LVL 12

Expert Comment

by:kevin_u
ID: 24765895
/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.

0
 

Author Comment

by:Sp0cky
ID: 24765943
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

0
 

Author Comment

by:Sp0cky
ID: 24765962
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]$
0
 

Accepted Solution

by:
Sp0cky earned 0 total points
ID: 24765997
I just figured it out lol.  A svc called "sendmail" was off.
0
 
LVL 12

Expert Comment

by:kevin_u
ID: 24766414
would have been my next question...
good you found it.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question