- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- EMS alerts to cell phone
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
Forums
Discussions
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
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
09-20-2005 07:37 AM
09-20-2005 07:37 AM
EMS alerts to cell phone
Recently I configured EMS on HP UX 11.11. I setup the rules such a way that all alerts >=serious should be emailed and also notice should be sent to Mobile (
Later realized that our Exchange server is discarding these messages to sent out side of network as it is not from a valid user id ( root@host.domain.com ).
Is there anyway I can change the "FROM" field in the emails sent by EMS or is there any other aleternatives for this. Your help will be highly appreciated.
Thanks in advance,
Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 07:41 AM
09-20-2005 07:41 AM
Re: EMS alerts to cell phone
I haven't worked on Exchange for a while, but that shouldn't be too hard for them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 08:11 AM
09-20-2005 08:11 AM
Re: EMS alerts to cell phone
You can configure through /etc/opt/resmon/lbin/monconfig and give the email/pager number for notification.
Also need to enable the email acceptance at exchange server , if it is routing through the exchange server.
Are u talking about windows exchange server , or the Telphone exchange server ...!!
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 11:40 AM
09-20-2005 11:40 AM
Re: EMS alerts to cell phone
Otherwise You'll have to go the hard way by inserting a envelope masquerading macro to /etc/mail/sendmail.cf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2005 10:03 PM
09-20-2005 10:03 PM
Re: EMS alerts to cell phone
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 12:10 AM
09-21-2005 12:10 AM
Re: EMS alerts to cell phone
a simple method without the need of changing the Exchange Server could be to write a simple email wrapper on the Unix system. One method to do it with awk could be (there is an infinite number of other methods):
1.) create the following awk script "/etc/mail/emsmobile.awk" (The L variable makes sure the original mail header is cut off):
/^From: / {print "From: root@host.domain.com ";L=L+1}
/^To: / {print "To:
{if(L>2) print $0 }
{if(L==2) L=L+1}
2.) create a line in the file /etc/mail/aliases:
emsmobile: "|/usr/bin/awk -f /etc/mail/emsmobile.awk | /usr/sbin/sendmail -t"
3.) run "newaliases"
4.) run monconfig to add notifying via email to the address "emsmobile"
best regards
Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 01:07 AM
09-21-2005 01:07 AM
Re: EMS alerts to cell phone
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2005 02:42 AM
09-21-2005 02:42 AM
Re: EMS alerts to cell phone
Stefan, I tried with your email wrapper but its not working. When I went through the senmail man page "-t" option is for only reading the "to" "bc" and "bcc" list..I didnt see reading "from" list using this option..or might be i am missing something here..
Otherwise, the exchange side i have yet to try the options..as u knos it takes long time get throught he apporval process for any change request :((
will post u the update..
once again..appreciate all your help..and its really gr8 to c ur quick replies.
thanks
chandra