[Nagios-users] Easier way to make nagios send mail as different user?

2008-05-28 Thread Drew Weaver
The two ways I've come up with to make nagios send notifications as a different user are: Write a wrapper which allows mail to be sent with normal headers or run nagios as a different user, are there any different options? The mail command in linux/unix appears to be a little

Re: [Nagios-users] Easier way to make nagios send mail as different user?

2008-05-28 Thread kyle . odonnell
sendmail -f On 5/28/08, Drew Weaver [EMAIL PROTECTED] wrote: The two ways I've come up with to make nagios send notifications as a different user are: Write a wrapper which allows mail to be sent with normal headers or run nagios as a different user, are there any different

Re: [Nagios-users] Easier way to make nagios send mail as different user?

2008-05-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Although when running as a non-root user you may need to add the user to the trusted-users for this switch to work, or something equivalent if you're not using sendmail. Thomas On 28/05/08 09:50 AM, [EMAIL PROTECTED] wrote: sendmail -f On

Re: [Nagios-users] Easier way to make nagios send mail as different user?

2008-05-28 Thread Tom Throckmorton
On 5/28/08 7:50 AM, Drew Weaver wrote: The two ways I've come up with to make nagios send notifications as a different user are: Drew, are you trying to customize the outgoing mail so that it _appears_ the mail is coming from a different user, or so that the mail is actually being emitted by