From owner-cvs-all Thu Dec 30 1:37:47 1999 Delivered-To: cvs-all@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 31F9B151E2; Thu, 30 Dec 1999 01:37:43 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 23FCC1CA0; Thu, 30 Dec 1999 17:37:36 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: "Andrey A. Chernov" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/sendmail freebsd.mc In-Reply-To: Message from "Andrey A. Chernov" of "Thu, 30 Dec 1999 01:25:27 PST." <19991230012527.C91927@freebsd.org> Date: Thu, 30 Dec 1999 17:37:36 +0800 From: Peter Wemm Message-Id: <19991230093736.23FCC1CA0@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk "Andrey A. Chernov" wrote: > On Thu, Dec 30, 1999 at 05:12:47PM +0800, Peter Wemm wrote: > > And the generated file: > > Cwlocalhost > > # file containing names of hosts for which we receive email > > Fw-o /etc/mail/sendmail.cw > > > > And as I cut/pasted and demonstrated last time, the -o *does* work. Withou t the > > -o, you get an error message and sendmail fails totally. > > I understand this so my fix was wrong, but I see no reason to define cw file > as optional when you not use it at all, so your choice is wrong too. No, the freebsd.mc file is used to generate a resonable sendmail.cf. Whether we like it or not, many folks edit that directly. The reason for using optional files is so that the .cf code gets inserted into /etc/mail/ sendmail.cf at install time and so that people don't *have* to regenerate it in order to use common configurations. freebsd.mc is a compromise to give a reasonably complete sendmail.cf. > Since freebsd.mc treated as template, I suggest to not introduce optional > _unused_ file as you do, but comment out its required usage by dnl. > By removing dnl this variant can be turned in > case 1) for users which really need case 1). No, for the reason I outlined above. It is not a template, it is there to create a functional sendmail.cf to avoid having to regenerate it at all. Regenerating it for minimal installs is quite hard as they don't have the m4 files. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message