- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Receiving System Alerts from HPUX
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-12-2003 03:48 PM
03-12-2003 03:48 PM
Receiving System Alerts from HPUX
I am trying to include my pager address in our scripts..so that i will get a pager if it fails. I am trying to use mailx command.
But the problem is, we are using MSExchange as mail servers. and the pager address is an external domain. Our exchange guys configured an email ID for me (say emergencyid), which will forward the messges received from local domain to the pager address domain.
I am using the following command,
mailx -s"Subject" -r sanddep@mail.localdomain.com emergencyid@mail.localdomain.com < msg
I am unable to receive the messages in pager.
But i am receing pager if i sent from Outlook to my emergencyid..so as per exchange guys there are no issues at their end..i do think so..since i am getting pager alerts when sent from outlook.
i am able to receive messages sent from unix servers to my own local EmailID using the same above command with receipnt adress as my local emailID..that part tell me the command is fine..?
I am little confused...can anyone help?
or if i hv to use sendmail..then what's the command i should use. is there anyway to specify return address along with sendmail command?
Appreciate your help!
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 04:18 PM
03-12-2003 04:18 PM
Re: Receiving System Alerts from HPUX
What is msg?
If it's a text file then do it this way:
cat msg | mailx -s"Subject" -r sanddep@mail.localdomain.com emergencyid@mail.localdomain.com < msg
IF the sandeep is a destination address as well as the emergencyid address you don't need to use -r. Just start the list of addrs a space after the subject quote.
You also need to verify that /etc/mail/sendmail.cf files contains the name (or IP) of the smart relay host - the DS parameter - would look like
DSmailhost.localdomain.com
This tells the HP server where to send non-local mail.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 04:29 PM
03-12-2003 04:29 PM
Re: Receiving System Alerts from HPUX
Thanks for your reply. Yes. msg is a test file.
I tried u'r way..but still does not work.
No it's not the same.Both are different mail id's.
We have DSmailhost set. and I am able to send mails to non-local domain from this unix server.
Any more suggestions?
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 04:35 PM
03-12-2003 04:35 PM
Re: Receiving System Alerts from HPUX
And I did the same with the -r
Drop both those out & try again
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 05:15 PM
03-12-2003 05:15 PM
Re: Receiving System Alerts from HPUX
Yes. I tried without < msg only.
no luck..
hmmmm...
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 05:17 PM
03-12-2003 05:17 PM
Re: Receiving System Alerts from HPUX
The Exchange server may be shooting you down.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 06:08 PM
03-12-2003 06:08 PM
Re: Receiving System Alerts from HPUX
My mail.log file says STATUS as SENT
and Exchange Server accepted the message for Delivery...
this clearly shows mail is routed from Unix server..right? means no problem with Unix server..ok..good.
But at the same time i am able to receive pager if i send from Outlook..means no problem with exchange..oops!!
then where is the problem?..confused..
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2003 06:11 PM
03-12-2003 06:11 PM
Re: Receiving System Alerts from HPUX
Bill Hassell, sysadmin