Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 1997 02:15:17 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        "Jonathan M. Bresler" <jmb@FreeBSD.ORG>
Cc:        dkelly@HiWAAY.net, questions@FreeBSD.ORG
Subject:   Re: Sendmail and mail hub 
Message-ID:  <199707220115.CAA02347@awfulhak.org>
In-Reply-To: Your message of "Sun, 20 Jul 1997 18:39:39 PDT." <199707210139.SAA13814@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
[.....]
> 	rather than hack sendmail.cf, use m4 to create a sendmail.cf 
> 	for you.  you can use /usr/src/usr.sbin/sendmail/cf/cf/freebsd.mc
> 	as a template.  try this:  (call it dave_kelly.mc)
> 
> divert(0)dnl
> VERSIONID(`@(#)dave_kelly.mc $Revision: 1.1$')
> OSTYPE(bsd4.4)dnl
> DOMAIN(generic)dnl
> MAILER(local)dnl
> MAILER(smtp)dnl
> MASQUERADE_AS(mail.hiwaay.net)dnl
> FEATURE(nouucp)dnl
> undefine(`UUCP_RELAY')dnl
> undefine(`BITNET_RELAY')dnl
> undefine(`DECNET_RELAY')dnl
> undefine(`FAX_RELAY')dnl
> define(`SMART_HOST', `mail.hiwaay.net')dnl
> define(`confCW_FILE', `-o /etc/sendmail.cw')dnl
[.....]
> > 2) How should I name my FreeBSD box which is not a full time system in the 
> > hiwaay.net domain?
> 
> 	hmm...good question.
> 
> 	read /usr/src/usr.sbin/sendmail/cf/README
> 	there is a wealth of information in there.
> 
> 	consider using "FEATURE(masquerade_envelope)" to hide
> 	your machine in the envelope (smtp conversation)
> 	as well as the headers
> jmb

And of course you'll need FEATURE(allmasquerade) - AFAIK, 
masquerade_envelope doesn't do anything without it.
-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707220115.CAA02347>