- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not receiving emails
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
тАО03-20-2009 12:38 PM
тАО03-20-2009 12:38 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 12:53 PM
тАО03-20-2009 12:53 PM
SolutionIf the mail is not submitted to the local sendmail, check your script for errors. There could be a variable in your script that got set wrong or changed and it threw off the script syntax.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 03:44 PM
тАО03-20-2009 03:44 PM
Re: Not receiving emails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 04:09 PM
тАО03-20-2009 04:09 PM
Re: Not receiving emails
And you are using the same "my_email" for both?
This info from your log doesn't tell you the reason it failed:
Final-Recipient: RFC822; email1
Action: failed
Status: 5.0.0
Last-Attempt-Date: Sat, 21 Mar 2009 02:17:37 +1100 (EDT)
I would expect that if my_email matched one of the email1 it would work the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 04:29 PM
тАО03-20-2009 04:29 PM
Re: Not receiving emails
Also i found something strange for me, i ps of sendmail and its not running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 05:51 PM
тАО03-20-2009 05:51 PM
Re: Not receiving emails
That is fine. E-mail CAN be sent without the sendmail process running.
The only reason for a sendmail process to run is if the server it is running on is supposed to **receive** e-mail messages from **other** servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 05:45 AM
тАО03-21-2009 05:45 AM
Re: Not receiving emails
What email address is the script using? What server is that email address ? Is it the same server or another server.
Your attachement is not the mail.log, it is probably the root's mailbox. You need to look in /var/adm/syslog/mail.log, at the bottom to see what happens to the emails.
Does your script give any errors? Post the part of the script that sends the email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 07:20 AM
тАО03-21-2009 07:20 AM
Re: Not receiving emails
here is the part of the script that sends mail
echo "\n# Full Backup of `/usr/bin/hostname` completed at `/usr/bin/date +'%d %b %Y - %H:%M:%S'`\n" >> $LOGFILE 2>&1
/usr/bin/grep "\#" $LOGFILE | mailx -s "`/usr/bin/hostname` Backup log for `/usr/bin/date +'%d %b %Y'`" $MAIL
exit $?
I also tried to send a test email using mailx
and i got this result:
server1[crontabs]# echo "TESTING" | mailx -s "TESTING" email1
server1[crontabs]# Who are you?: Not a typewriter
syslog failed: Resource temporarily unavailable, syslog output to stderr
Sendmail: CAA27433: SYSERR(UID0): Who are you?: Not a typewriter
cannot open /no/such/directory/dead.letter: No such file or directory
Looks like that it hangs it stays there forever.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 11:31 AM
тАО03-21-2009 11:31 AM
Re: Not receiving emails
"...This error occurs due to the user ID associated with the user 'nobody'. Verify the UID is a non-negative value..."
Do you have a "nobody" user in /etc/passwd and does it have a negative value?
I do not have a "nobody" user in my server and even after I created the "nobody" user, I could not reproduce the error.
See if you can install any sendmail patches.
Also check if the user $MAIL that the script uses, exists as a user or an alias.
Check the aliases file if there is anything unusual in there and rebuild the aliases database by running "newaliases".
Check all the file permissions and ownership in /etc/mail
Is there anything else at the bottom of /var/adm/syslog/mail.log when you try to send a test email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2009 08:35 AM
тАО03-23-2009 08:35 AM
Re: Not receiving emails
$ grep -i nobody /etc/passwd
nobody:*:-2:-2::/: