Subject: Re: sendmail.mc
To: None <current-users@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: current-users
Date: 08/26/2002 15:05:55
In article <Pine.SOL.4.10.10208242121520.21472-100000@imsp234.hkstar.com>,
Clarence <c5666305@hkstar.com> writes:
> I would like to know if anyone have setup netbsd-current as a mail server
> withh dynamic DNS/IP using sendmail. If yes, would you please show me
> your sendmail.mc or show the direction of it. Thanks.
Something like this should work:
divert(-1)
#
# sendmail configuration for dynamic IP
#
include(`../m4/cf.m4')
VERSIONID(`@(#)dyn-ip.mc')
OSTYPE(bsd4.4)
define(`confMAX_MESSAGE_SIZE', 20971520)
define(`confMESSAGE_TIMEOUT', 10d/5d)
define(`confPRIVACY_FLAGS', `needexpnhelo,needmailhelo,needvrfyhelo')
DAEMON_OPTIONS(`Family=inet, Name=MTA')
MAILER(local)
MAILER(smtp)
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/