- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot send mail to outside the machine
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
01-23-2002 01:42 PM
01-23-2002 01:42 PM
I am DBA trying to work on some scripts to send me e-mail once the job of the scripts is done. But I was getting error from MAILER-DAEMON as Host Un-Known.
I tried this from Command prompt.
mailx -s "TEST" "xxxxxx@yahoo.com" < /dev/null
I got the same error as above. But when I tried to send the mail to a unix userid, it was successful.
mailx -s "TEST" unixid < /dev/null
I looked into some of the Forum pages and tried to ping www.yahoo.com or so. I got 'unknown host' error. I feel some thing is missing in setting up the Network. We have another server which is working fine( I don't know how it was setup before).
I am not a HP System Guy, so I will be thankful if you can let me know like
step1 : if file1 exists1
then step2
else step2
like that.
Any help in this regard will be greatly appreciated.
thanks a bunch in advance.
Sri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 01:58 PM
01-23-2002 01:58 PM
Re: Cannot send mail to outside the machine
D{OutboundRelay esmtp:
Is the SMTP relay server defined here the same as the one defined in the "problematic" server? If not change it and restart sendmail. It would be helpful (for troubleshooting) if you use ..
$ sendmail -v bob@yahoo.com
to test this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 02:46 PM
01-23-2002 02:46 PM
Re: Cannot send mail to outside the machine
put in /etc/resolv.conf
nameserver
then try to do more nslookups..this is a good start anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 04:01 PM
01-23-2002 04:01 PM
SolutionUse this to see MX records:
# nslookup -type=mx yahoo.com | grep exchanger
You can try alternate DNS servers with:
# nslookup -type=mx yahoo.com alt_server_name | grep exchanger
If neither produces output, you'll need to talk to your network administrator or DNS server administrator.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 06:39 PM
01-23-2002 06:39 PM
Re: Cannot send mail to outside the machine
Step one is to edit /etc/resolv.conf as Kevin said. -- note you can include any number of nameserver entries (one per line), though typically one need not use more than two or three.
Step two is to verify that DNS is being searched: check /etc/nsswitch.conf , which should have a line like
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
(variations are possible, but dns ought to be in there somewhere)
Step three is to test per Bill's instructions. If there's still no joy, you could have a firewall issue, and you will need to bump the question up to the network admin side of the house.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 06:56 PM
01-23-2002 06:56 PM
Re: Cannot send mail to outside the machine
Try this link,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=3eaeaa0907e9ad9749/screen=ckiDisplayDocument?docId=200000046055231
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2002 08:58 AM
01-24-2002 08:58 AM
Re: Cannot send mail to outside the machine
I tried everything as you all told. But I couldn't figure it out. So as Bill, Mark said, I am giving this problem to my Network Admin. He will take care of this.
thanks again.
Sri