Setting env variables from misc commands (email from field)

Blake Krone blakekrone at gmail.com
Fri Sep 2 23:24:28 CEST 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050902/35f2367e/attachment.html>


More information about the Users mailing list