Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 01:25:27 -0800
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/sendmail freebsd.mc
Message-ID:  <19991230012527.C91927@freebsd.org>
In-Reply-To: <19991230091247.5529E1CC6@overcee.netplex.com.au>; from peter@netplex.com.au on Thu, Dec 30, 1999 at 05:12:47PM %2B0800
References:  <ache@freebsd.org> <19991230091247.5529E1CC6@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  Without 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.
We have only 2 cases

1) cw file is use via use_cw_file feature, in this case it is _required_ 
and not optional. This case is _not_ freebsd.mc case.

2) cw file is not used and not required, so define it as optional gives 
nothing but confusion. This case is freebsd.mc case we try to clarify.

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).


dnl FEATURE(use_cw_file)
dnl uncomment next line too
dnl define(`confCW_FILE', `/etc/mail/sendmail.cw')dnl

-- 
Andrey A. Chernov
http://nagual.pp.ru/~ache/
MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y


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?19991230012527.C91927>