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
576 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now