Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 17:06:33 +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:  <19991230090633.AC0ED1CC6@overcee.netplex.com.au>
In-Reply-To: Message from "Andrey A. Chernov" <ache@freebsd.org>  of "Thu, 30 Dec 1999 00:33:01 PST." <19991230003301.A87087@freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" wrote:
> On Thu, Dec 30, 1999 at 02:19:19AM +0800, Peter Wemm wrote:
> > Without -o:
> > 
> > root@proxy[02:17am]~# sendmail peter@netplex.com.au
> > /etc/sendmail.cf: line 67: fileclass: cannot open /etc/mail/sendmail.cw: No
     such file or directory
> 
> Something wrong with your cw file usage, I don't see this diagnostic.
> 
> See cf/README
> confCW_FILE           Fw class        [/etc/sendmail.cw] Name of file used
> 
> Here is corresponding generated lines (with my fix):
> 
> Cwlocalhost
> # file containing names of hosts for which we receive email
> Fw/etc/mail/sendmail.cw
> 
> By _default_ last line is
> Fw/etc/sendmail.cw
> 
> As you see there is NO -o in any variant.

Yes there is:

pwroot@overcee[5:04pm]~src/etc/sendmail-174# grep sendmail.cw freebsd.mc
define(`confCW_FILE', `-o /etc/mail/sendmail.cw')dnl

pwroot@overcee[5:04pm]~src/etc/sendmail-175# make freebsd.cf
rm -f freebsd.cf
(cd /home/src/etc/sendmail &&  m4 -D_CF_DIR_=/home/src/etc/sendmail/../../contrib/sendmail/cf/ /home/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) > freebsd.cf
chmod 444 freebsd.cf

pwroot@overcee[5:04pm]~src/etc/sendmail-176# grep sendmail.cw `obj`/freebsd.cf
Fw-o /etc/mail/sendmail.cw

.. which is as it is supposed to be.  This file is optional and we don't
create it by default.  Sendmail does understand the -o in this context.

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?19991230090633.AC0ED1CC6>