1832978 Members
2927 Online
110048 Solutions
New Discussion

Re: ems / monconfig

 
Ralf Buchhold
Regular Advisor

ems / monconfig

Hello
is it possible to change the sender e-mail
address in monconfig from root@hostname.de
to newsender@hostname.de ?

Thanks
Ralf
5 REPLIES 5
Jeff_Traigle
Honored Contributor

Re: ems / monconfig

I would think so. Within monconfig, you can modify any rule that exists. Find the one(s) that are notifying via email (which you can determine by showing the rules from the main menu) and modify them to use a different email address. Monconfig steps you through whatever it needs to know for the modifications.

One thing to beware of... if you ever install new OnlineDiag over an existing version, your custom configurations will be wiped out.
--
Jeff Traigle
Sridhar Bhaskarla
Honored Contributor

Re: ems / monconfig

Hi Ralf,

Using 'monconfig' is the cleanliest way of doing it. Dirty way is to edit /var/stm/config/tools/monitor/* files and change from root to newsender and restart Event Monitoring through monconfig.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ralf Buchhold
Regular Advisor

Re: ems / monconfig

Thank you
but I mean no the receiver-adress. This adress is possible to change.
I mean the sender adress. It ist like root@hostname.XXX

Who has any idea ?
Thanke you
Ralf
Sridhar Bhaskarla
Honored Contributor

Re: ems / monconfig

I do not think so. These mails are generated by root so they appear as coming from root.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jeff_Traigle
Honored Contributor

Re: ems / monconfig

Not directly. I suppose by using a combination of .forward and perl scripting with SMTP::Mail (or is it Mail::SMTP? Been a while and I don't have the CGI scripts I wrote a few years ago at the new job) to resend by interfacing directly with sendmail it could be done.
--
Jeff Traigle