Custom return address?
Subhendu Ghosh
sghosh at sghosh.org
Thu Aug 25 05:33:02 CEST 2005
On Wed, 24 Aug 2005, Alan Maxwell wrote:
> Is there a way to set the return address for email sent out from nagios?
> My monitoring server is not the email server nor do I use the accounts
> there.
> I'd like to set the return address manually.
>
Then you have to write your own notification scripts. "mail" used in the
sample notification scripts shipped with nagios does not allow setting
the from address.
Call sendmail directly using it -f option (but it will add an
X-Authentication warning header).
Perl's Mail::Sendmail or other modules may be useful.
--
-sg
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list