<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagios-users] email notification question</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>This is really for the sendmail list, but look in your sendmail.cf file, usually found in /etc or /etc/mail and find the line that looks like:</FONT></P>
<P><FONT SIZE=2>#Dj$foo.bar or something like that</FONT>
<BR><FONT SIZE=2>You should be able to just search for Dj</FONT>
</P>
<P><FONT SIZE=2>Change that line to look like this with NO # sign at the beginning</FONT>
</P>
<P><FONT SIZE=2>Djyourhost.yourdomain.com</FONT>
</P>
<P><FONT SIZE=2>Then save the file, stop and start sendmail, you should be fine</FONT>
</P>
<BR>
<P><FONT SIZE=2>Gary Every</FONT>
<BR><FONT SIZE=2>Sr. UNIX Administrator</FONT>
<BR><FONT SIZE=2>Ingram Entertainment</FONT>
<BR><FONT SIZE=2>(615) 287-4876</FONT>
<BR><FONT SIZE=2>"Pay It Forward"</FONT>
<BR><FONT SIZE=2><A HREF="mailto:gary.every@ingramentertainment.com">mailto:gary.every@ingramentertainment.com</A></FONT>
<BR><FONT SIZE=2><A HREF="http://accessingram.com" TARGET="_blank">http://accessingram.com</A></FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Jeff McKeon [<A HREF="mailto:jsm@inpro.net">mailto:jsm@inpro.net</A>]</FONT>
<BR><FONT SIZE=2>Sent: Monday, October 28, 2002 4:34 PM</FONT>
<BR><FONT SIZE=2>To: Nagios List</FONT>
<BR><FONT SIZE=2>Subject: [Nagios-users] email notification question</FONT>
</P>
<BR>
<P><FONT SIZE=2>Ok, I've got email notifications working, sort of...</FONT>
</P>
<P><FONT SIZE=2>(fyi: RH 8.0 with sendmail)</FONT>
</P>
<P><FONT SIZE=2>the problem I'm having seems to be that because the email's are going</FONT>
<BR><FONT SIZE=2>out from the sendmail server on the localhost, which isn't a registered</FONT>
<BR><FONT SIZE=2>server and can't be resolve via DNS, certain receiving email servers are</FONT>
<BR><FONT SIZE=2>rejecting the mail. Probably as an antispam protection. Is there a way</FONT>
<BR><FONT SIZE=2>to set an alias for the nagios email address? So instead of the</FONT>
<BR><FONT SIZE=2>notifications coming from nagios@machinename.localdomain.net it can be</FONT>
<BR><FONT SIZE=2>set with a return address of an existing email account that can be</FONT>
<BR><FONT SIZE=2>resolved?</FONT>
</P>
<P><FONT SIZE=2>thanks!</FONT>
</P>
<P><FONT SIZE=2>Jeff</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>-------------------------------------------------------</FONT>
<BR><FONT SIZE=2>This sf.net email is sponsored by:ThinkGeek</FONT>
<BR><FONT SIZE=2>Welcome to geek heaven.</FONT>
<BR><FONT SIZE=2><A HREF="http://thinkgeek.com/sf" TARGET="_blank">http://thinkgeek.com/sf</A></FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Nagios-users mailing list</FONT>
<BR><FONT SIZE=2>Nagios-users@lists.sourceforge.net</FONT>
<BR><FONT SIZE=2><A HREF="https://lists.sourceforge.net/lists/listinfo/nagios-users" TARGET="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</A></FONT>
</P>
</BODY>
</HTML>