Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 17:12:47 +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:  <19991230091247.5529E1CC6@overcee.netplex.com.au>
In-Reply-To: Message from "Andrey A. Chernov" <ache@freebsd.org>  of "Thu, 30 Dec 1999 01:03:37 PST." <19991230010336.A91927@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

"Andrey A. Chernov" wrote:
> On Wed, Dec 29, 1999 at 10:20:24AM -0800, Peter Wemm wrote:
> > peter       1999/12/29 10:20:24 PST
> > 
> >   Modified files:
> >     etc/sendmail         freebsd.mc 
> >   Log:
> >   Revert previous commit, -o is functional here and is required.
> 
> Looking in sendmail sources I understand that -o means 'optional' here,
> _but_ this file is NOT optional if you have
> FEATURE(use_cw_file)
> (as in my case)
> this file is required and when it is missing - it is error.
> I see that freebsd.mc not use 'use_cw_file' by default so better fix will be
> remove -o and comment out this line by dnl:
> 
> dnl FEATURE(use_cw_file)
> dnl uncomment next line too
> dnl define(`confCW_FILE', `/etc/mail/sendmail.cw')dnl

freebsd.mc uses DOMAIN(generic) and generic.m4 has got use_cw_file in it.

pwroot@overcee[5:10pm]~src/etc/sendmail-190# grep use_cw_file ~src/contrib/sendmail/cf/domain/generic.m4
FEATURE(use_cw_file)dnl
pwroot@overcee[5:10pm]~src/etc/sendmail-191# grep generic freebsd.mc 
#  This is a generic configuration file for 4.4 BSD-based systems.
DOMAIN(generic)dnl

This *does* work.

proto.m4:
Cwlocalhost
ifdef(`USE_CW_FILE',
`# file containing names of hosts for which we receive email
Fw`'confCW_FILE',
        `dnl')

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.

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?19991230091247.5529E1CC6>