Subject: Re: spam detection algorithms
To: <>
From: David Laight <>
List: tech-userlevel
Date: 11/19/2002 10:58:48
On Sun, Nov 17, 2002 at 03:32:45PM -0500, Mason Loring Bliss wrote:
> On Sun, Nov 17, 2002 at 08:29:41PM +0000, David Laight wrote:
> > Even with all the masquerade options enabled, sendmail
> > still puts the system name in the HELO= message.  This
> > cannot be resolved by either a host or MX lookup.
> You probably want this, or the equivalent:
> define(`confDOMAIN_NAME', `')dnl

After digging through the only documentation for sendmail I could
find online (the code - and I don't recommend it).  I found that

    define(`confCLIENT_OPTIONS', `Address=, Modifiers=h')dnl

to the file has the effect of putting the name
associated with the local address of the socket connected to
the smtp server in the helo/ehlo message.
This is ok for sendmail 8.11.6 (as in the netbsd tree), 8.12.*
might be more complicated.

Of course if there is NAT in the way all bets are off :-)


David Laight: