mail / mailx question

Jerry Natowitz j.natowitz-KealBaEQdz4 at public.gmane.org
Wed Dec 23 11:03:31 EST 2009


It may be old fashioned, but the most fool proof method of getting an 
alert out is through a modem connected to a POTS (analog phone line).

Otherwise, if your internet connection goes down, you are SOL.

	Jerry Natowitz
	j.natowitz (at) rcn.com
	Owner of Unix port 1572 (chip-lm), as found by Google
	and returned to the IANA 2009/12/15


Chandler, Scott wrote:
> Greetings,
> 
> I'm new to the list so I'm not sure if this is the proper place to post questions like this. If not, please let me know the right place.
> 
> We're using Nagios to monitor our equipment. It sends alerts through a locally installed copy of sendmail to our (end user) email server which then goes out to a pager. If the email server goes down, it won't do much good to send the alert to that server so I need an alternate alert which sends email through an outside address.
> 
> Does anyone know the syntax for the mail command to send to a different SMTP server? It looks like there are a couple ways to do this, use the account switch, use an alternate .mailrc/mail.rc file, maybe more.
> 
> Ideally, I'd like to have a standalone command without using a config file or script.
> 
> Thanks in advance,
> Scott
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
> 





More information about the Discuss mailing list