From owner-cvs-all Thu Dec 30 1:12:59 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 4DFA515179; Thu, 30 Dec 1999 01:12:54 -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 5529E1CC6; Thu, 30 Dec 1999 17:12:47 +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:03:37 PST." <19991230010336.A91927@freebsd.org> Date: Thu, 30 Dec 1999 17:12:47 +0800 From: Peter Wemm Message-Id: <19991230091247.5529E1CC6@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk "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