- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Deferred Mail queue flush in Sendmail
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
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-26-2003 04:28 AM
тАО03-26-2003 04:28 AM
I have a sendmail 8.8.6 on HP UX 10. I do not use DNS and was able to forward mails to DSsmarthost.com (after a lot of sweat). I some times see a lot of deferred mails in the queue which I presume comes when the smarthost is unreachable. Now wehn the smarthost comes up, the queue still waits there (maybe sendmail will try after some timeout). Is there a way to flush this queue immidiately.
I tired restarting sendmail but to no use.
Thanx a lot.
Sanjay Duhan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 04:30 AM
тАО03-26-2003 04:30 AM
Re: Deferred Mail queue flush in Sendmail
sendmail -bd -q30m
The -q30m is check the queue every 30 minutes.
If you reduce this to 5m then that's check every 5 minutes.
sendmail -bd -q5m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 04:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 05:40 AM
тАО03-26-2003 05:40 AM
Re: Deferred Mail queue flush in Sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 05:56 AM
тАО03-26-2003 05:56 AM
Re: Deferred Mail queue flush in Sendmail
sendmail is started with -q30m, which means that a queue run will be done every 30 minutes. You can do a queue run manually with sendmail -q from the command line (better also -v). If you want to change the interval sendmail is automatically doing the queue run, you have to change this in the startup script /sbin/init.d/sendmail.
Regards,
Birgit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 06:05 AM
тАО03-26-2003 06:05 AM
Re: Deferred Mail queue flush in Sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 06:18 AM
тАО03-26-2003 06:18 AM
Re: Deferred Mail queue flush in Sendmail
Perhaps this is related to your system load average. There is a parameter in /etc/mail/sendmail.cf to change the average load after which sendmail will start to defer messages instead of sending. Default value is 8, but you could try to increase it. Search for keyword "load" in sendmail.cf. There are a lot of comments.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2003 06:21 AM
тАО03-26-2003 06:21 AM
Re: Deferred Mail queue flush in Sendmail
Another parameter to look at is
O Timeout.queuereturn
This is the max time value used to hold the msg & retry sending. If after the value, the mail cannot be delivered, it will be returned to sender.
This is set in the /etc/mail/sendmail.cf file & the default is 5 days.
There is a companion option named
O Timeout.queuewarn
This sets the time value where a warning msg is sent to sender if the msg cannot be delivered for whatever reason.
Again in sendmail.cf & default is 4 hours
You may have msgs "stuck" in the queue simply due to misaddressing or problems on the receiving end. They will be pruned out according to the time setting in the first parameter above. Senders receive notice of non-delivery according to the time setting in the latter.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2003 06:47 AM
тАО03-27-2003 06:47 AM
Re: Deferred Mail queue flush in Sendmail
/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter@juf.org > /tmp/sendmail.out
Run this type a line of text
hit enter
type a dot(period) .
hit enter
You will get good diagnostics.
A common problem is that if you are doing mail relay with the DS directive in sendmail.cf, and the mail relay server is rejecting your mail.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com