How do I change the address the mail is sent from for email notifications?

Janet Sullivan jsullivan at mndigital.com
Tue Sep 8 23:09:48 CEST 2009


Not all versions of mailx support -R (FreeBSD's, for example).  Instead, you can set the REPLYTO environment variable.

-----Original Message-----
From: Menard, Chris [mailto:Chris.Menard at Aspect.com] 
Sent: Monday, September 07, 2009 5:27 AM
To: Esteban Torres Rodriguez; nagios-user Mailinglist
Subject: Re: [Nagios-users] How do I change the address the mail is sent from for email notifications?

if using mailx, the -R parm sets the 'return' address.

echo "message" | mailx -s subject -R nagios_from_address at nagios_server to_address at domain.com
________________________________________
From: Esteban Torres Rodriguez [etorres at dap.es]
Sent: Monday, September 07, 2009 2:56 AM
To: nagios-user Mailinglist
Subject: [Nagios-users] How do I change the address the mail is sent from       for email notifications?

I'm trying to do this but I do not work.

http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=338&expand=false&showdesc=true

Does anyone help me?
I've tried to do with mailx but does not work either.

--
##################################################
# Esteban Torres Rodríguez                       #
# Área de Soporte Técnico                        #
# Subdirección de Sistemas Informáticos          #
# Empresa Pública Desarrollo Agrario y Pesquero  #
# email: etorres at dap.es                          #
##################################################


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list