Operating System - HP-UX
1835626 Members
3540 Online
110081 Solutions
New Discussion

Re: Multiple email addresses for system alerts

 
SOLVED
Go to solution
Robert  Abbott
Regular Advisor

Multiple email addresses for system alerts

I have just returned from vacation to find my Sys Admin has unexpectedly left the company. I need to change the email that system alerts are sent to. I would like to send the alerts to more than one person. Can someone tell me where to change the addresses? The system is an HP 9000.

Thanks!
Shiver me timbers!
8 REPLIES 8
John Poff
Honored Contributor

Re: Multiple email addresses for system alerts

Hi,

Take a look at your /etc/mail/aliases file. Here we assign aliases for the three of us and our boss for root, and we create other aliases for groups of people that need notifications as well. Once you've updated the aliases file just issue the 'newaliases' command and your sendmail should start using the new aliases.

JP
Cheryl Griffin
Honored Contributor
Solution

Re: Multiple email addresses for system alerts

Robert -
See KBRC00012166 in the Knowledge Base.

It shows you how to set up mail aliases (in case that needs to be updated) and monconfig to set up the EMS email address for notification.
"Downtime is a Crime."
RAC_1
Honored Contributor

Re: Multiple email addresses for system alerts

It could at different places. IF you were forwarding the emails to smart relay (and it was using a alias for sysadmin group), you need to modify it there.

But most probaly, it is using /etc/mail/aliases file. Just vi it and define a alias as follows.

root : root, xyz@abc.com, abc@aabc.com

do newliases.

This will send the emails to root, and above two addresses.

Anil
There is no substitute to HARDWORK
Robert  Abbott
Regular Advisor

Re: Multiple email addresses for system alerts

Thanks guys, I will check the /etc/mail/aliases. Does the change take effect instantly or does the mail daemon need to be restarted?
Shiver me timbers!
Sanjay_6
Honored Contributor

Re: Multiple email addresses for system alerts

Hi,

If you change the aliases file, you need to issue the "newaliases" command to apply the change. This can be done on the fly. It applies the current aliases file.

Hope this helps.

Regds
Cheryl Griffin
Honored Contributor

Re: Multiple email addresses for system alerts

The answer to the EMS config question is to use moncheck to see if it has been updated.
"Downtime is a Crime."
Robert  Abbott
Regular Advisor

Re: Multiple email addresses for system alerts

Thanks everyone. I saw the answer to my second question in the link Cheryl gave too.
Shiver me timbers!
Robert  Abbott
Regular Advisor

Re: Multiple email addresses for system alerts

Fixed.
Shiver me timbers!