Setting env variables from misc commands (email from field)

Blake Krone blakekrone at gmail.com
Thu Sep 8 17:54:44 CEST 2005


I should have stated that I'm using nullmailer, don't need a full featured 
SMTP, I just relay off of our exchange server.

On 9/2/05, Subhendu Ghosh <sghosh at sghosh.org> wrote:
> 
> 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
> 
> --
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050908/7d37e3c2/attachment.html>


More information about the Users mailing list