Subject: Re: Proposal: removal of sendmail and postfix from base install
To: None <current-users@netbsd.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: current-users
Date: 03/21/2005 23:09:23
--VkVuOCYP9O7H3CXI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 21, 2005 at 11:06:41AM +0100, Jukka Salmi wrote:
  | Jukka Salmi --> current-users (2005-03-21 11:01:54 +0100):
  | > BTW: while the /etc/mtree/set.* files don't contain sendmail related
  | > files on a system built with MKSENDMAIL=3Dno, /etc/mtree/special still
  | > contains /etc/mail/helpfile and /etc/mail/sendmail.cf. Is this a bug?
  |=20
  | ...at least it makes the daily security check print warnings about miss=
ing
  | files.

We don't have a mechanism to provide different default /etc configuration
files based on MK* build options, and it's unlikely that we will.
It's too difficult to maintain.

However, it's trivial to add your own /etc/mtree/special.local with
overrides for entries in /etc/mtree/special that you want to change.
For example, you should be able to use
	./etc/mail/helpfile	type=3Dfile mode=3D0444 optional
	./etc/mail/sendmail.cf	type=3Dfile mode=3D0444 optional
in your /etc/mtree/special.local to quieten those warnings.

For example, I have the following in my /etc/mtree/special.local
	./etc/namedb		type=3Dlink link=3D../var/chroot/named/etc/namedb
	./etc/postfix/virtual	type=3Dfile mode=3D0444
(amongst other entries).

--VkVuOCYP9O7H3CXI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFCPrlzpBhtmn8zJHIRAuHPAJ4l0WVu08vkxlk7asyjNUSmGE8newCfVuo2
JOLDEEDFndXRsVX7lIX1uBc=
=wIfN
-----END PGP SIGNATURE-----

--VkVuOCYP9O7H3CXI--