From owner-freebsd-stable Mon Oct 8 10:44:31 2001 Delivered-To: freebsd-stable@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 497CF37B407 for ; Mon, 8 Oct 2001 10:44:27 -0700 (PDT) Received: from horsey.gshapiro.net (gshapiro@localhost [IPv6:::1]) by horsey.gshapiro.net (8.12.1/8.12.1) with ESMTP id f98HiQG1038226 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 8 Oct 2001 10:44:26 -0700 (PDT) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.1/8.12.1/Submit) id f98HiPlI038223; Mon, 8 Oct 2001 10:44:25 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15297.58873.808868.297849@horsey.gshapiro.net> Date: Mon, 8 Oct 2001 10:44:25 -0700 From: Gregory Neil Shapiro To: steve@Watt.COM (Steve Watt) Cc: stable@FreeBSD.ORG Subject: Re: Sendmail rantlet In-Reply-To: <200110030648.f936mkD38227@wattres.Watt.COM> References: <200110030648.f936mkD38227@wattres.Watt.COM> X-Mailer: VM 6.96 under 21.5 (beta3) "asparagus" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG steve> I was rather astonished to discover that the installworld had steve> overwritten my lovingly crafted `hostname`.mc with a copy of steve> freebsd.mc. I don't see how this could be true (unless mergemaster did something). The 'install' target in /usr/src/etc/sendmail/Makefile only installs a .cf file: install: ${INSTALL_CF} .if (defined(SENDMAIL_MC) && defined(SENDMAIL_CF)) @echo ">>> ERROR: Both SENDMAIL_CF and SENDMAIL_MC can not be set" @false .endif .if defined(INSTALL_CF) .if ${INSTALL_CF} != ${DEST_CF} ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \ ${DEST_CF} .endif .endif There is nothing there to overwrite a .mc file. /usr/src/etc/mail/Makefile is not used during installworld. However, even if you later did a 'make install' in /etc/mail, `hostname`.mc is only put in place if it doesn't already exist: .ifndef SENDMAIL_MC SENDMAIL_MC!= hostname SENDMAIL_MC:= ${SENDMAIL_MC}.mc ${SENDMAIL_MC}: freebsd.mc cp freebsd.mc ${SENDMAIL_MC} .endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message