if using mailx, the -R parm sets the 'return' address. echo "message" | mailx -s subject -R nagios_from_addr...@nagios_server to_addr...@domain.com ________________________________________ From: Esteban Torres Rodriguez [etor...@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: etor...@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@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@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