From owner-freebsd-stable Mon Oct 8 11:30:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from wattres.Watt.COM (wattres.watt.com [205.178.120.6]) by hub.freebsd.org (Postfix) with ESMTP id 2F4D337B406; Mon, 8 Oct 2001 11:30:28 -0700 (PDT) Received: (from steve@localhost) by wattres.Watt.COM (8.11.6/8.11.6) id f98IUNr98300; Mon, 8 Oct 2001 11:30:23 -0700 (PDT) (envelope-from steve) Message-Id: <200110081830.f98IUNr98300@wattres.Watt.COM> From: steve@Watt.COM (Steve Watt) Date: Mon, 8 Oct 2001 11:30:22 -0700 In-Reply-To: Gregory Neil Shapiro "Re: Sendmail rantlet" (Oct 8, 10:44) X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Gregory Neil Shapiro Subject: Re: Sendmail rantlet Cc: stable@FreeBSD.ORG 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 On Oct 8, 10:44, Gregory Neil Shapiro wrote: } Subject: Re: Sendmail rantlet } 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). [ ... maybe it isn't installworld ... ? ] } 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 This is probably it. I don't have SENDMAIL_MC defined because of the warning in the sendmail Makefile that says: # Local SENDMAIL_MC or SENDMAIL_CF may be set in /etc/make.conf. # Warning! If set, this causes 'make install' to always copy it # over /etc/mail/sendmail.cf!!! # Caveat emptor! Be sure you want this before you enable it. Since SENDMAIL_MC is not defined, it copies freebsd.mc over it. I think that's the problem, right there. The copy should only be done if `hostname`.mc doesn't exist, not if SENDMAIL_MC isn't defined... at least in my opinion. Thanks for the info, though. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.8" / 37N 20' 14.9" Internet: steve @ Watt.COM Whois: SW32 Free time? There's no such thing. It just comes in varying prices... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message