- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail not working properly
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
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
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
07-13-2011 11:55 PM
07-13-2011 11:55 PM
Hi all,
we are facing some problem since yesterday with sendmail. Mail showing below error.
p68KakUM019887 15952 Sat Jul 9 11:40 MAILER-DAEMON
(Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPF)
also showing rmail process in top command.
Below is out put of ps -ef |grep sendmail command
ps -ef |grep sendmail
root 27630 1 0 12:46:45 ? 0:00 sendmail: accepting connections
root 27631 27630 0 12:46:45 ? 0:00 sendmail: ./p6DEPAaV019994 from queue
root 27674 27288 0 12:47:40 pts/1 0:00 grep sendmail
please help. Thanks in advance
regards
sarfraz khan
Solved! Go to Solution.
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 01:04 AM
07-14-2011 01:04 AM
Re: sendmail not working properly
hi Naj,
thanks for reply attached are the mail.log
regards
sarfraz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 02:15 AM
07-14-2011 02:15 AM
Re: sendmail not working properly
What does mailq show?
It seems you have lots of these:
timeout waiting for input from local during Draining Input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 03:17 AM
07-14-2011 03:17 AM
Re: sendmail not working properly
p68K6fUL017945 4733 Sat Jul 9 11:10 MAILER-DAEMON
(Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPF)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 07:32 AM
07-14-2011 07:32 AM
Re: sendmail not working properly
Shalom,
sendmail by default will try and go out port 25 resolve the MX mail exchange record and deliver the mail.
In most corporate environments, there is a firewall and that will not work.
sendmail -v -q
This runs the sendmail queue and will get you diagnostics.
Normally to get mail off yoru server you need to use the DS directive in sendmail.cf
DShostnamerelayserver
or
DS
[ip address of relay server]
Using the host name requires DNS to be working to get mail delivered, or at least host resolution. IP address does not.
To allow mail relay on the relay server, that normally has to be set up be ip address. Depends on what you have relaying mail what needs to be done there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2011 10:16 PM
07-14-2011 10:16 PM
Re: sendmail not working properly
getting below error when running senmail -v -q
root... Deferred: local mailer (/usr/bin/rmail) exited with EX_TEMPFAIL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2012 06:18 AM
07-04-2012 06:18 AM
Re: sendmail not working properly
Check for /var/mail/*.lock
If you found any files with extension lock that is making the draining input error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2013 06:56 PM
05-08-2013 06:56 PM
Re: sendmail not working properly
I ran into the same problem with a new hpux 11.31 server. lp daemon was sending lots of emails to a local user for canceled jobs via the rmail -d option. mailq showed lots of q'd msgs with the same error.
To fix it
Had to add FQDN( hostname.company.com) to sendmail.cw. It only had the hostname in it. I think this caused the lock file to be created. Then stopped sendmail. rm /var/mail/username.lock; rm /var/spool/mqueue/*; start sendmail
From then on mailq was clean.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2019 01:58 AM
01-02-2019 01:58 AM
Re: sendmail not working properly
All the above checks are fine...The queue is piling up and consuming the CPU. We had to restart the sendmail whenever CPU is utilized more by sendmail.
Any thoughts...
Below checks are fine:
Relay server details are appropriate
sendmail.cw has FQDN
I could see a lock file for root user in /var/mail/
Below is the error:
.MDeferred: local mailer (/usr/bin/rmail) exited with EX_TEMPFAIL