Not suppose to be a e-mail address ??????
Here are the headers from the 2 different e-mails.
When sent from the Web-interface...If you see the reply to address is what the value is in the web interface.
Received: (from apache@localhost)
by hv-nagios (8.13.8/8.13.8/Submit) id o4LIHUj5005909;
Fri, 21 May 2010 13:17:30 -0500
X-Authentication-Warning: hv-nagios: apache set sender to
[email protected] using -f
To:
[email protected]
Subject: Nagios XI Email Test
Date: Fri, 21 May 2010 13:17:30 -0500
From:
[email protected]
Reply-to:
[email protected]
----------------------------------------------------------------------------------------------------------------------------------------------------
When there is an alarm condition, header from that message....
Received: (from nagios@localhost)
by hv-nagios (8.13.8/8.13.8/Submit) id o4L5Q8jR008427
for
[email protected]; Fri, 21 May 2010 00:26:08 -0500
Date: Fri, 21 May 2010 00:26:08 -0500
From: nagios@hv-nagios
Message-Id: <201005210526.o4L5Q8jR008427@hv-nagios>
To:
[email protected]
Subject: ** RECOVERY Host Alert:
----------------------------------------------------------------------------------------------------------------------------------------------------
The first one is sent from Apache, is why it comes thru correctly, and nagios is sending the e-mail from command line so it comes thru as the user......
Is this how it was setup to work? And the only time you would get a e-mail from the "send from address" is when you send notifications thru Apache Web interface.? all the alerts will come thru as the nagios user.? There is no way to change this?
The e-mails come thru fine, but I have filters that sort e-mail on the server by where/who they come from, (I.E. prod,Dev,test,hotsite.) I just did not want to add another filter just for nagios, because if I put in 2 XI servers, on for Prod, one for Hotsite, I want be able to filter the e-mails. and not see all of them come in from nagios.
Sorry for the long message. but trying to save myself time setting up new filters. and have not had this issue with anything else.