- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: the sendmail problem
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
05-26-2005 12:09 AM
05-26-2005 12:09 AM
the sendmail problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:15 AM
05-26-2005 12:15 AM
Re: the sendmail problem
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:16 AM
05-26-2005 12:16 AM
Re: the sendmail problem
There's a couple of things you can do all of which relate to finding out why the mail isn't flowing. Probably the quickest and easiest is to find the ID number of one of the emails. If you do a mailq, the ID number will be the long string of digits and letters on the left side. Once you have that, you can execute:
sendmail -v -qI${ID}
That will execute sendmail in verbose mode to process the queue for that ${ID}. Note there is no space beween -qI${ID}. Watch the sendmail transaction and then troubleshoot whatever error results.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:17 AM
05-26-2005 12:17 AM
Re: the sendmail problem
That will give you error messages.
Diagnostic:
dig hp.com
dig
DNS problems often keep mail from getting off the box and getting in the box.
If it is DNS make sure the name servers in /etc/resolv.conf are pingable, valid name servers. Make sure those boxes are providing good connections to the public Internet.
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
05-26-2005 12:17 AM
05-26-2005 12:17 AM
Re: the sendmail problem
What does mailq -v say??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:36 AM
05-26-2005 12:36 AM
Re: the sendmail problem
It seems find the problem as below , but I am not sure why the problem happen suddenly ,
could suggest how to fix it ? thx
Running /var/spool/mqueue/j4QBHMp13821 (sequence 6 of 7)
abs.com: Name server timeout
delivery
gpe-hkg.com: Name server timeout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:49 AM
05-26-2005 12:49 AM
Re: the sendmail problem
Check connectivity with ping / nslookup / nsquery / dig
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:51 AM
05-26-2005 12:51 AM
Re: the sendmail problem
Troubleshoot your DNS by:
1. pinging each host listed in /etc/resolv.conf. If the systems are down, find out why and turn them back on.
2. If the systems are up, execute nslookup. Try searching for known local hosts - the DNS server, your mail server, your database servers, etc. If all that comes back correctly, then your DNS is working and the problem is outside of your control. If it doesn't come back correctly, troubleshoot the DNS issue.
Once the DNs is fully functional, your mail will start flowing again.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:52 AM
05-26-2005 12:52 AM
Re: the sendmail problem
Is DNS as a whole having trouble?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:53 AM
05-26-2005 12:53 AM
Re: the sendmail problem
there are a lot Q&A in this forum problems same as yours
Good Luck,
http://www5.itrc.hp.com/service/james/search.do?todo=search&admit=552267591+1117111900147+28353475&searchtext=sendmail+problem&from=forums&origin=0&wpa=forums1.itrc.hp.com%3A80&searchcategory=ALL&hpl=1&searchcriteria=allwords&rn=25&source=7000&chkServStor=on&presort=rank&esc=europe-support3.external.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2005 12:55 AM
05-26-2005 12:55 AM
Re: the sendmail problem
You need to take the following steps:
1) Make sure your can communicate with the DNS name server.
2) Make sure the dns name server is communicating correcting with the Iternet.
3) Make sure the name that is not resolving is valid.
If you can not improve the DNS name situation, you may need to forward mail to a server that gets better name resolution results.
The fast, easy way is to use the DS directive in sendmail.cf
edit /etc/mail/sendmail.cf
DS
mail.relayserver
or
DS
192.168.0.10
That IP address is a theoretical mail relay server. I use the IP address to avoid DNS problems with mail relay.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
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
06-06-2005 07:23 PM
06-06-2005 07:23 PM