Setting env variables from misc commands (email from field)

Subhendu Ghosh sghosh at sghosh.org
Sat Sep 3 05:10:59 CEST 2005


On Fri, 2 Sep 2005, Blake Krone wrote:

> Hello all, I'm trying to set it so that when using nullmailer the From field
> will be "alerts" instead of root as it is currently. I tried to set it by
> doing:
> export USER=alerts;/usr/bin/printf "%s" ...... etc
> but nagios won't send out alerts when I have it set like that.
>
> How can I set the from field??
>
> Thanks!
> Blake
>


sendmail genericstable

http://www.linux.com/howtos/Sendmail-Address-Rewrite.shtml

-- 



-------------------------------------------------------
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