mail notifications

todd.jones at weirslurry.com todd.jones at weirslurry.com
Thu Aug 22 16:40:34 CEST 2002


The nagios box has an internal private IP.  Our corporate Email server does
not allow relaying, even from internal hosts.  So, there is no smarthost.
My end goal is to send Email directly to my isp's smtp server with the from
field saying 'nagios at tds.net' (tds is my isp).  I have verified this Email
setup works by using a client to be able to send and receive Email using
this IP address.  My only problem is trying to find out how to configure
sendmail to make this happen.  The DNS is a non-issue as I know.  DNS
queries outside our local network are forwarded to the dns servers at my
isp.  The end goal is to send the email to an account I have with my cell
phone company to page me via my cell phone.

Regards,

Todd Jones
Network Administrator
Weir Slurry
608.221.5805 phone
----- Forwarded by Todd E Jones/US/WAR/Weir on 08/22/2002 09:36 AM -----
                                                                                                                    
                    Memo From:                                                                                      
                    Demetri Mouratis                          From cm.math.uiuc.edu                                 
                    <dmourati at cm.math       To:     todd.jones at weirslurry.com                                       
                    .uiuc.edu>              cc:     nagios-users at lists.sourceforge.net                              
                                            Subject:     Re: [Nagios-users] mail notifications                      
                    Sent:                                                                                           
                    08/20/2002 07:28                                                                                
                    PM                                                                                              
                                                                                                                    
                                                                                                                    




What's the hostname on your Nagios box?  Is it in DNS?  Do you have a
smarthost setup or are you trying to send internet mail directly from your
Nagios box?

I have a setup like this:

Nagios box
Private IP
In Internal DNS
Smarhosts to corporate mail relay

Corporate mail relay in external DNS
public IP

Works just fine.

On Tue, 20 Aug 2002 todd.jones at weirslurry.com wrote:

> I am running nagios 1.05b on Redhat7.3.  I am having some issues getting
> nagios to send Email messages to an outside Email account.
>
> I've been working on the problem for some time and it has to do with the
> from field.  The from field shows up as nagios at localhost, and my isp's
smtp
> server rejects this.  I've been working with Sendmail's masquerading
> feature to try to get it to work, but nothing seems to make it change.
>
> I do have a valid Email account of nagios with my isp.  Any experiences
or
> help with this issue would be appreciated.
>
> Regards,
>
> Todd Jones
> Network Administrator
> Weir Slurry
> 608.221.5805 phone
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>

---------------------------------------------------------------------
Demetri Mouratis
dmourati at linfactory.com





-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list