Subject: Re: spam detection algorithms
To: <>
From: David Laight <david@l8s.co.uk>
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', `host62-6-97-249.in-addr.btopenworld.com')dnl

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

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

to the machine.mc 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

-- 
David Laight: david@l8s.co.uk