Subject: Re: Sendmail and spam question
To: None <netbsd-help@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20030730T120137@wsrcc.com>
List: netbsd-help
Date: 07/30/2003 12:05:22
> > Actually, that's really easy:
> > O DaemonPortOptions=Family=inet, address=0.0.0.0, Name=MTA
> > O DaemonPortOptions=Family=inet6, address=::, Name=MTA6, Modifiers=O
> > #O ClientPortOptions=Address=0.0.0.0
> 
> I think you will find that the above makes it put in the address of
> the systems main interface at the time sendmail is started.

Although there is a way to get the daemon (and the client invocation)
to use the name associated with its outgoing interface in the
helo/ehlo msg.  Back when I ran sendmail that's how I had it
configured.

# this puts our interface name in the HELO/EHLO greeting instead of 
# our hostname (eg. "sonic.wsrcc.com" instead of "capsicum.wsrcc.com").
# for outgoing connections:
dnl define(`confCLIENT_OPTIONS',`Modifiers=h')dnl
# for incoming connections:
dnl define(`confDAEMON_OPTIONS',`Modifiers=h')dnl

-wolfgang
-- 
Wolfgang S. Rupprecht 		     http://www.wsrcc.com/wolfgang/
(NOTE: The email address above is valid.  Edit it at your own peril.)