- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help ??? scripts, SMTP & email
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
07-12-2005 10:56 AM
07-12-2005 10:56 AM
Help ??? scripts, SMTP & email
Let me try to describe my scenario here.
I have a HPUX server that I would like to develop some monitroing script that allow to send the alert to me via email notification. And, the email is sent via another SMTP server that is managed by another email admin.
Basically, I have done this setup in another OS platforms like Solaris and Tru64. And it's simply easy, I just added mailhost entry in /etc/hosts. And I have done it HPUX, and it just doesn't work. Any suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:08 AM
07-12-2005 11:08 AM
Re: Help ??? scripts, SMTP & email
essentially, all you need to do is
DSotherhost
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:16 AM
07-12-2005 11:16 AM
Re: Help ??? scripts, SMTP & email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:21 AM
07-12-2005 11:21 AM
Re: Help ??? scripts, SMTP & email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:29 AM
07-12-2005 11:29 AM
Re: Help ??? scripts, SMTP & email
# mailq
/var/spool/mqueue (1 request)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------
j6D1ElT25137 29 Wed Jul 13 09:14 hltee
(host map: lookup (domain.com.my): deferred)
hltee@domain.com.my
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:15 PM
07-12-2005 01:15 PM
Re: Help ??? scripts, SMTP & email
(host map: lookup (domain.com.my): deferred)
hltee@domain.com.my
The deferred connection could have 2 meanings. Either the destination domain is not available, not resolveable by this host sending mails. Or it could mean that the destination host which you are using to relay mails wont accept connections from this host.
Now the best thing would be to do a telnet to the relay host from this server on port 25 and compose a mail at command promt and send to this address to see if that works.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:30 PM
07-12-2005 01:30 PM
Re: Help ??? scripts, SMTP & email
In both Solaris and Tru64, the setting is way too easy to configure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:40 PM
07-12-2005 01:40 PM
Re: Help ??? scripts, SMTP & email
The IP will not work, you need to put only the fully qualified host name i.e DSrelayhosy.mydomain.my
and also verify that you can resolve the hostname from command prompt using nslookup. Since your log which i had a look agains says about host lookup failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:42 PM
07-12-2005 01:42 PM
Re: Help ??? scripts, SMTP & email
try this:
# telnet
to check if SMTP service is running on that SMTP server and also if there is any firewall blocking.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 01:44 PM
07-12-2005 01:44 PM
Re: Help ??? scripts, SMTP & email
Did you try the suggestion of telnet to port 25 of the mail relay server and see if you can get connected ?
telnet smart_relay_server 25
are you getting a connection or are you getting bounced ?
I am pretty sure your smart relay server is an exchange server. Are you sure the mail admins are allowing your hpux servers relaying mail thru them ? Usually to minimize spam relaying, every sender using the mail relays needs to be blessed by the mail administrators. You had better speak to those people first to make sure being allowed.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 02:00 PM
07-12-2005 02:00 PM