Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 07:51:51 -0500
From:      "Jim King" <jim@jimking.net>
To:        <freebsd-stable@FreeBSD.ORG>, "Brett Glass" <brett@lariat.org>
Subject:   Re: Proposed changes to Makefile in /etc/mail
Message-ID:  <018601c0bc3c$dc9473b0$04e48486@marble>
References:  <4.3.2.7.2.20010402235945.04a32760@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
"Brett Glass" <brett@lariat.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018601c0bc3c$dc9473b0$04e48486>