From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 15:25:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE37737B404 for ; Tue, 5 Aug 2003 15:25:52 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 666CE43F93 for ; Tue, 5 Aug 2003 15:25:51 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h75MPlpI081463; Wed, 6 Aug 2003 10:25:50 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h75MPl1D081462; Wed, 6 Aug 2003 10:25:47 +1200 (NZST) (envelope-from jonc) Date: Wed, 6 Aug 2003 10:25:47 +1200 From: Jonathan Chen To: "Kirk R. Wythers" Message-ID: <20030805222547.GA81434@grimoire.chen.org.nz> References: <1060027238.8123.94.camel@lorax.forestry.umn.edu> <20030804204031.GB78561@grimoire.chen.org.nz> <1060101146.23050.25.camel@lorax.forestry.umn.edu> <20030805203210.GA81181@grimoire.chen.org.nz> <1060116349.23050.108.camel@lorax.forestry.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1060116349.23050.108.camel@lorax.forestry.umn.edu> User-Agent: Mutt/1.4.1i cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 22:25:53 -0000 On Tue, Aug 05, 2003 at 08:45:49PM +0000, Kirk R. Wythers wrote: > On Tue, 2003-08-05 at 20:32, Jonathan Chen wrote: > > > > > It is *NOT* 'hostname.mc'. It is `hostname`.mc (note the back-tick). > > `hostname`.mc should expand to host.name.of.machine.mc. > > So are you saying that that I should type litterally: > > cp freebsd.mc `hostname`.mc (I had used neighborsunited.net.mc) Yes. And then you should edit the host.name.of.machine.mc file, eg # vi `hostname`.mc > and then in my favorite editor, add the lines: > > MASQUERADE_AS(`neighborsunited.net')dnl > FEATURE(masquerade_envelope)dnl > > then litterally: > make > make install-cf CF=neighborsunited.net > sh /etc/rc.sendmail restart I would use: # make # make install # sh /etc/rc.sendmail restart The CF= stuff is for really odd tweaks. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Vini, vidi, velcro... I came, I saw, I stuck around