From owner-freebsd-questions Mon Jul 21 19:03:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27224 for questions-outgoing; Mon, 21 Jul 1997 19:03:17 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA27198; Mon, 21 Jul 1997 19:02:29 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id CAA12877; Tue, 22 Jul 1997 02:15:17 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id CAA02347; Tue, 22 Jul 1997 02:15:17 +0100 (BST) Message-Id: <199707220115.CAA02347@awfulhak.org> X-Mailer: exmh version 2.0delta 6/3/97 To: "Jonathan M. Bresler" cc: dkelly@HiWAAY.net, questions@FreeBSD.ORG Subject: Re: Sendmail and mail hub In-reply-to: Your message of "Sun, 20 Jul 1997 18:39:39 PDT." <199707210139.SAA13814@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Jul 1997 02:15:17 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [.....] > 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 , Don't _EVER_ lose your sense of humour....