- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mail issues
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
Forums
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
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-28-2006 07:25 AM
03-28-2006 07:25 AM
This is the syntax they use
echo "bla bla bla" | mailx -FUm -s "test mail from unix" -r addsrc@bla.com adddest@bla.com
Once in a while, mail gets stuck in the system, and they're only delivered a few days later.
On another thread, someone mentioned puting
/usr/sbin/sendmail -q
in a crontab wich forces e-mail out of the mail box.
It doesnt work..
Here's a part of the mail.log file.
___________
Dec 6 15:00:03 HPUNIXA sendmail[29981]: PAA29981: from=mcgrr, size=244, class=0, pri=90244, nrcpts=3, msgid=<200512061900.PAA29981@HPUNIXA.acadie.com>, relay=mcgrr@localhost
Dec 6 15:00:03 HPUNIXA sendmail[29981]: PAA29981: to=denise.hebert@acadie.com, delay=00:00:00, mailer=esmtp, stat=queued
Dec 6 15:00:03 HPUNIXA sendmail[29981]: PAA29981: to=melanie.theriault@acadie.com, delay=00:00:00, mailer=esmtp, stat=queued
Dec 6 15:00:03 HPUNIXA sendmail[29981]: PAA29981: to=roseline.cormier@acadie.com, delay=00:00:00, mailer=esmtp, stat=queued
Dec 6 15:00:04 HPUNIXA sendmail[142]: PAA00142: from=root, size=439, class=0, pri=30439, nrcpts=1, msgid=<200512061900.PAA00142@HPUNIXA.acadie.com>, relay=root@localhost
Dec 6 15:00:04 HPUNIXA sendmail[134]: PAA00134: from=mcgrr, size=225, class=0, pri=90225, nrcpts=3, msgid=<200512061900.PAA00134@HPUNIXA.acadie.com>, relay=mcgrr@localhost
Dec 6 15:00:04 HPUNIXA sendmail[134]: PAA00134: to=denise.hebert@acadie.com, delay=00:00:00, mailer=esmtp, stat=queued
Dec 6 15:00:04 HPUNIXA sendmail[134]: PAA00134: to=melanie.theriault@acadie.com, delay=00:00:00, mailer=esmtp, stat=queued
Dec 6 15:00:04 HPUNIXA sendmail[134]: PAA00134: to=roseline.cormier@acadie.com, delay=00:00:00, mailer=esmtp, stat=queued
_____________________
How can I push those queued mail away?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 07:29 AM
03-28-2006 07:29 AM
Re: Mail issues
sendmail -v -q
It will push the sendmail queue.
Most likely the mail will not go out, but you will get the information you need to correct the problem.
1) The number one cause for mail not being deliverable is bad DNS resolution. If you can not resolve the hostnames acadie.com in this case sendmail can't deliver the mail
2) Firewall/SMTP relay setup. Firewalls often block port 25. If you use a SMTP relay server, which is set by the DS directive in sendmail.cf then firewalls and the relay server itself must explicity permit traffic from this server.
What the issue is will be apparent from the sendmail -v -q command output.
mailq
Shows the size of the mail queue.
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
03-28-2006 07:33 AM
03-28-2006 07:33 AM
Re: Mail issues
Check the load average during the time that the messages seem "stuck."
You can scroll down in this document as well and read what the sendmail org says about load average:
http://www.sendmail.org/~ca/email/doc8.9.3/op-sh-6.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2006 05:43 AM
03-30-2006 05:43 AM