From owner-cvs-all Tue Mar 13 0:22:44 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 6E61C37B71B; Tue, 13 Mar 2001 00:22:37 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from mobile.wemm.org (mobile.wemm.org [10.0.0.5]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f2D8Mbp38882; Tue, 13 Mar 2001 00:22:37 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f2D8Mah52998; Tue, 13 Mar 2001 00:22:36 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200103130822.f2D8Mah52998@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Gregory Neil Shapiro Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc src/etc/defaults rc.conf In-Reply-To: <15021.50956.112503.874776@horsey.gshapiro.net> Date: Tue, 13 Mar 2001 00:22:36 -0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gregory Neil Shapiro wrote: > peter> etc rc > > peter> At great personal risk, touch the sendmail startup again. This adds > peter> easy seperate knobs for inbound (accepting SMTP connections) and > peter> outbound (just occasionally dequeueing) sendmail daemon startup. > > One comment on this. Your change to src/etc/rc: > > +if [ -r /etc/mail/sendmail.cf ]; then > + case ${sendmail_enable} in > + [Yy][Ee][Ss]) > + echo -n ' sendmail' > + /usr/sbin/sendmail ${sendmail_flags} > ... > > What if ${sendmail_flags} is: > > sendmail_flags=-C/usr/local/etc/sendmail.cf > > Therefore, /etc/mail/sendmail.cf need not exist. I think you may be > assuming too much the the added if on the first line. No change. The old code read: -case ${sendmail_enable} in -[Yy][Ee][Ss]) - if [ -r /etc/mail/sendmail.cf ]; then - echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags} - fi - ;; -esac Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message