Mail FROM field needs to be changed

Val Vechnyak val at nycity.com
Fri Apr 18 17:14:55 CEST 2003


Hello,

 

I apologize if this was discussed already in this list, but since I just
signed up I did not know.

 

My problem is when nagios is sending email notifications it includes the
entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com).
There is no problem when I send an email using PINE from nagios user, so my
sendmail is configured properly.

 

This is a problem for me because some email servers lookup the MX record of
the domain name and refuse email if it does not match.

 

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still
puts the hostname in the FROM field.

 

Could anyone tell me where I can configure it?

 

Thanks,

 

Val

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030418/13afc6c9/attachment.html>


More information about the Users mailing list