- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: No mail for root user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 09:06 AM
тАО05-23-2007 09:06 AM
No mail for root user
root 7872 1 0 May22 ? 00:00:00 sendmail: accepting connections
smmsp 7881 1 0 May22 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
smmsp 11354 7166 0 16:02 ? 00:00:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
root 15119 27037 0 16:04 pts/1 00:00:00 grep sendmail
I sent a test email using mailx to myself (root)
but when I check mail. It says no mail. Please help.
Thanks.
Geetha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 10:06 AM
тАО05-23-2007 10:06 AM
Re: No mail for root user
- Your DNS configuration.
- The contents of the /etc/mail/local-host-names
- The message in /var/log/maillog
- If aliases are defined for root user in /etc/aliases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2007 01:22 AM
тАО05-24-2007 01:22 AM
Re: No mail for root user
I added the /etc/mail/local-host-names file. The /var/log/maillog does not show any errors. However, I do seem to have a problem with my DNS. I want it to resolve its name from the /etc/hosts file. But, it does not seem to go to files and then DNS. This is a test server and we may not be able to get an entry in the DNS.
Thanks.
Geetha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2007 09:00 PM
тАО05-25-2007 09:00 PM
Re: No mail for root user
The order of hostname lookups is usually defined in /etc/nsswitch.conf
You should have a line that starts hosts which will probably be followed by dns,files
If you want it just go to /etc/hosts then remove the dns bit...
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 02:41 AM
тАО05-29-2007 02:41 AM
Re: No mail for root user
I do have the line
files dns in /etc/resolv.conf.
The strange part is that I can send mail to say a gmail account from this server, but not to root account on the same server.
Thanks.
Geetha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 02:48 AM
тАО05-29-2007 02:48 AM
Re: No mail for root user
Have you looked at the log files to see if there are any clues there...
I think they're in /var/log/mail although I haven't got a RH box around at the moment to check...
Cheers,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 02:58 AM
тАО05-29-2007 02:58 AM
Re: No mail for root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2007 06:26 PM
тАО05-29-2007 06:26 PM
Re: No mail for root user
what do you have into /etc/hosts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2007 03:43 AM
тАО06-07-2007 03:43 AM
Re: No mail for root user
The Problem i think is pls check for /etc/aliases file and at the end u will have person who gets root mail.
check whether it is commented ie #root
if its is pls remove the hash and add the emailid of urs or some group mail id
for eg : root : emea_linux@hotmail.com
and run newlaises and restart sendmail and try sending mail to root
ALL the best hope this helps
Regards
Karthik