-----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 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 options? The mail
>> command in linux/unix appears to be a little bit limited without a parameter
>> to specify the from address.
>>
>> Any advice?
>>
>> -Drew
>>
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@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
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIPg+A6dZ+Kt5BchYRAkaoAKD7gWHDcdrsZhYZyplDJTIRQEhXzQCgh4qJ
ixGQyaM09JIvMgjT+lVVfek=
=gydJ
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to