i use sendmail -f printf "%" "To: for\n Subject: bar\n this is an alert" |sendmail -f nagiosadmin $contactemail$
On 3/23/07, Morris, Patrick <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of Robin Mordasiewicz > > Sent: Friday, March 23, 2007 9:07 AM > > To: [email protected] > > Subject: [Nagios-users] setting the From: email address > > > > What are people doing in order to set the From: email address > > that notifications appear to come from. > > > > When using mail the email notifications appear to come from > > the [EMAIL PROTECTED] which nagios runs. > > In my case, I've configured my mailer so that the From address is > masqueraded when the Nagios account sends mail. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] 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
