Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 17:37:36 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Andrey A. Chernov" <ache@freebsd.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/sendmail freebsd.mc 
Message-ID:  <19991230093736.23FCC1CA0@overcee.netplex.com.au>
In-Reply-To: Message from "Andrey A. Chernov" <ache@freebsd.org>  of "Thu, 30 Dec 1999 01:25:27 PST." <19991230012527.C91927@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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




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