From owner-freebsd-stable Tue Apr 3 5:52: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from marble.fbcc.com (ns2.fbcc.com [216.54.252.3]) by hub.freebsd.org (Postfix) with SMTP id 9EBEC37B71D for ; Tue, 3 Apr 2001 05:52:01 -0700 (PDT) (envelope-from jim@jimking.net) Received: (qmail 19801 invoked from network); 3 Apr 2001 13:01:30 -0000 Received: from 216-52-255-8.fbcc.com (HELO bluto.jimking.net) (216.54.255.8) by ns2.fbcc.com with SMTP; 3 Apr 2001 13:01:30 -0000 Received: from marble (marble.lgc.com [134.132.228.4]) by bluto.jimking.net (8.11.1/8.11.1) with SMTP id f33Cppj91723; Tue, 3 Apr 2001 07:51:51 -0500 (CDT) (envelope-from jim@jimking.net) Message-ID: <018601c0bc3c$dc9473b0$04e48486@marble> From: "Jim King" To: , "Brett Glass" References: <4.3.2.7.2.20010402235945.04a32760@localhost> Subject: Re: Proposed changes to Makefile in /etc/mail Date: Tue, 3 Apr 2001 07:51:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Brett Glass" wrote: > In > > http://www.freebsd.org/cgi/query-pr.cgi?pr=26299 > > I've proposed changes to the Makefile in /etc/mail that I think makes it > easier to reconfigure sendmail. > > Right now, to change sendmail.cf, one edits "freebsd.mc" and rebuild > sendmail.cf from it (unless one has changed /etc/make.conf, which many > administrators don't know about). Besides being platform-specific, this > makes it more difficult to use one's library of .mc files from other > systems and adapt one of them to a new system. > > The change adds 6 lines of code that I've had in my own Makefile for some > time. They tell the sytsem that `hostname`.mc -- if it exists -- should > be the default .mc file that is processed to make sendmail.cf. (The > `hostname`.mc convention is a longstanding one; it's used in the samples > in the source tree.) Thus, one can bring in one's collection of existing > .mc files, create a new file with the new host name, and carry the > expanded collection onward to the next machine one configures. > > It also makes it easier to describe the process of configuring sendmail > to an inexperienced sysadmin. You can say, "Enter the command 'cp > freebsd.mc `hostname`.mc' and then edit the file you created." > > Greg is concerned about bloating the Makefile, but since the change is > only 6 lines and it makes life so much more straightforward, I'd like to > see it in there. What do folks here think? Should these changes (or > something like them) go in the file? This sounds like a useful change. I'm for it. Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message