[Mimedefang] $RelayHostname not matching sendmail's Received header?

Joseph Brennan brennan at columbia.edu
Mon Dec 4 09:09:01 EST 2006



--On Thursday, November 30, 2006 14:51 -0600 Michael Sims 
<michaels at crye-leike.com> wrote:

> Received: from adsl86-34-215-137.romtelecom.net
> (adsl86-34-215-137.romtelecom.net [86.34.215.137] (may be forged)) by <my
> relay running MIMEDefang> ...
>
> However, inside my mimedefang-filter, the value of $RelayHostname was not
> "adsl86-34-215-137.romtelecom.net" as I expected, but rather it was
> "[86.34.215.137]", seemingly indicating that MIMEDefang was not able to
> determine the relay's hostname.


Sendmail wants forward and reverse to match.  See "(may be forged)"?
This host has a PTR but no A (or at least not an A with this name).  It
did say helo with the same name as given in the PTR record.

$ host 86.34.215.137
137.215.34.86.in-addr.arpa domain name pointer
   adsl86-34-215-137.romtelecom.net.

$ host adsl86-34-215-137.romtelecom.net
Host adsl86-34-215-137.romtelecom.net not found: 3(NXDOMAIN)



Joseph Brennan
Lead Email Systems Engineer
Columbia University Information Technology




More information about the MIMEDefang mailing list