Mail FROM field needs to be changed

Val Vechnyak val at nycity.com
Fri Apr 18 20:20:52 CEST 2003


Ummmmm, You are right. My bad. That's embarrassing.

 

 It works using PINE, but not from the command line.

 

Don't know what is going on. Thanks and sorry I took your time.

 

----------------------------------------------------------------------------

Val Vechnyak

MCP

 

Technical support: support at msohosting.com

 

-----Original Message-----
From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] 
Sent: Friday, April 18, 2003 13:23
To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed

 

I'm not convinced that your sendmail config is blameless.  Try the
following:

 

# su - nagios

$ echo 'hello' | /usr/lib/sendmail val at nycity.com

 

Let us know what the FROM header looks like on the receiving end.

 

jc

 

-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 10:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Mail FROM field needs to be changed

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/dbf00d40/attachment.html>


More information about the Users mailing list