From owner-freebsd-questions Thu Jun 27 1:50:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 291B037B401 for ; Thu, 27 Jun 2002 01:50:01 -0700 (PDT) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.4/8.12.4) with ESMTP id g5R8nPuJ000394; Thu, 27 Jun 2002 20:49:25 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.4/8.12.4/Submit) id g5R8nPIp000393; Thu, 27 Jun 2002 20:49:25 +1200 (NZST) Date: Thu, 27 Jun 2002 20:49:25 +1200 From: Jonathan Chen To: pirat Cc: freebsd-questions@FreeBSD.ORG Subject: Re: sendmail configuration Message-ID: <20020627084925.GA357@grimoire.chen.org.nz> References: <20020627074050.GB45718@thai-aec.org> <20020627082614.GA38354@grimoire.chen.org.nz> <20020627085001.GA299@thai-aec.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020627085001.GA299@thai-aec.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jun 27, 2002 at 03:50:01PM +0700, pirat wrote: > On Thu, Jun 27, 2002 at 08:26:15PM +1200, Jonathan Chen wrote: > > If you use the .mc files in /etc/mail, you just need to add the > > following line in it: > > > > MASQUERADE_AS(my.own.domain) > > > > Works fine for me. > > thanks and is that freebsd.mc ? > with m4 freebsd.mc > sendmail.cf ? The recommended way is to use the freebsd.mc file as your template, but creating an .mc file using your hostname. ie your local config should be /etc/mail/`hostname`.mc. Then to create the cf file, and then install it: # cd /etc/mail # make # make install -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck" - Curly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message