- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sendmail Problem - host name lookup failure
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
тАО07-23-2009 06:06 AM
тАО07-23-2009 06:06 AM
Re: Sendmail Problem - host name lookup failure
Trying...
Connected to bagate.verizon.com.
Escape character is '^]'.
220 smtpirv2.verizon.com ESMTP Sendmail 8.13.3/8.13.3; Thu, 23 Jul 2009 09:05:28 -0500 (CDT)
============================================
msphnyc1ROOT:telnet bagate.verizon.com 25
Trying...
Connected to bagate.verizon.com.
Escape character is '^]'.
220 smtpirv2.verizon.com ESMTP Sendmail 8.13.3/8.13.3; Thu, 23 Jul 2009 09:05:32 -0500 (CDT)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 06:14 AM
тАО07-23-2009 06:14 AM
Re: Sendmail Problem - host name lookup failure
echo test | sendmail -v you@someplace.com
please post the detailed output of this command. It is very strange that you have access to mail relay and still not able to send mail.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 06:34 AM
тАО07-23-2009 06:34 AM
Re: Sendmail Problem - host name lookup failure
you@someplace.com... Connecting to bagate.verizon.com via relay...
220 smtpirv2.verizon.com ESMTP Sendmail 8.13.3/8.13.3; Thu, 23 Jul 2009 09:32:28 -0500 (CDT)
>>> EHLO msphbos0.verizon.com
250-smtpirv2.verizon.com Hello [172.26.46.12], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 50000000
250-DSN
250-DELIVERBY
250 HELP
>>> MAIL From:
250 2.1.0
>>> RCPT To:
250 2.1.5
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 n6NEWSZB027086 Message accepted for delivery
you@someplace.com... Sent (2.0.0 n6NEWSZB027086 Message accepted for delivery)
Closing connection to bagate.verizon.com
>>> QUIT
221 2.0.0 smtpirv2.verizon.com closing connection
=========================================
msphnyc1ROOT:echo test | sendmail -v you@someplace.com
you@someplace.com... Deferred: Name server: bagate.verizon.com: host name lookup failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 07:26 AM
тАО07-23-2009 07:26 AM
Re: Sendmail Problem - host name lookup failure
Since hpux 10.20 is out of support now, I am not sure if you can find this patch somewhere but, almost certainly you will need it. Try digging up your old patch CD's and tapes and try to locate a sendmail cumulative patch and then apply it.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 08:22 AM
тАО07-23-2009 08:22 AM
Re: Sendmail Problem - host name lookup failure
In the most environments a smtp relay server is provided for send a email.
You take the IP address or host name of the server for accept mail from your server then.
Edit /etc/mail/sendmail.cf
Change DS to:
DSname_of_smtp_relay_server
or
DSIP address of smtp relay server
ex
DS telcon.co.in
/sbin/init.d/sendmail stop
/sbin/init.d.sendmail start
Then check few thing for sending the mail sucessfully.
Check the permission of the files related sendmail /var/spool/mqueue or check the
/etc/resolv.conf & Please check the sendmail services running.
root # ps -ef | grep -i sendmail
root 1700 1 0 Jul 11 ? 0:04 sendmail: accepting connections
root 29011 23487 0 16:13:46 pts/tb 0:00 grep -i sendmail
root # ls -ld /var/spool/mqueue
drwxr-xr-x 2 root bin 1024 Jul 13 16:13 /var/spool/mqueue
root # ls -ld resolv.conf
-rw-r--r-- 1 root sys 110 Jun 16 2007 resolv.conf
Try with Permission send mail & check the log /var/adm/syslog/mail.log
Thanks
Vinod Kumar Yadav
- « Previous
-
- 1
- 2
- Next »