Had the same issue. Now I use little perl script, brought to this list by John Kramme.
Works very well.

Justin Maloney пишет:

I think you would change that in your notify-by-email commands. It would be something you add to the /usr/bin/mail for example. Don’t know how your command works so I can’t tell you exactly what it would look like. You could try -F [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> but I don’t know if it works. Hope that gets you started on the right track.

------------------------------------------------------------------------

*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *David Walgamotte
*Sent:* Friday, August 31, 2007 3:03 PM
*To:* [email protected]
*Subject:* [Nagios-users] from address

I need to change the from address. Mail server will not accept an invalid user account from same domain. I need to change MAIL FROM: < address> on
acks from nagios. please help. tried adding stuff to mailrc no luck.

--
Thank You, Regards,
David

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
------------------------------------------------------------------------

_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null

--
С уважением,
Степанов Е.Н.
[EMAIL PROTECTED]
icq 2899514
+7-985-2267458

Attachment: send_mail.pl
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to