From owner-freebsd-current@FreeBSD.ORG Wed Aug 27 02:22:36 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C066A16A4BF; Wed, 27 Aug 2003 02:22:36 -0700 (PDT) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C5C943FA3; Wed, 27 Aug 2003 02:22:35 -0700 (PDT) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])h7R9MXI12176; Wed, 27 Aug 2003 11:22:33 +0200 (MEST) Date: Wed, 27 Aug 2003 11:22:33 +0200 (CEST) From: Harti Brandt To: Gregory Neil Shapiro In-Reply-To: <20030827020918.GE86522@horsey.gshapiro.net> Message-ID: <20030827111812.Y16500@beagle.fokus.fraunhofer.de> References: <20030826121245.F51682@beagle.fokus.fraunhofer.de> <20030827020918.GE86522@horsey.gshapiro.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: SENDMAIL_MC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: harti@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 09:22:36 -0000 On Tue, 26 Aug 2003, Gregory Neil Shapiro wrote: GNS>> I have SENDMAIL_MC and SENDMAIL_SUBMIT_MC defined in /etc/make.conf GNS>> (both with the full path, i.e. /etc/mail/...). From the documentation GNS>> I take it, that this should work. My installworld however breaks because GNS>> src/etc/sendmail/Makefile strips the pathname from the variables before GNS>> trying to install the files. GNS>> GNS>> So, is this supposed to work this way? GNS> GNS>Yes, it is supposed to work just fine. Can you show the exact GNS>error you get after a buildworld and installworld? Also you GNS>might try this before the buildworld: GNS> GNS>cd /usr/src/etc/sendmail GNS>make cleandir GNS>make cleandir This doesn't help. The error is: ===> etc ===> etc/sendmail install -o root -g wheel -m 644 fokus.cf /etc/mail/sendmail.cf install: fokus.cf: No such file or directory *** Error code 71 Stop in /usr/src/etc/sendmail. *** Error code 1 Stop in /usr/src/etc. *** Error code 1 And I have the files: /etc/mail/fokus.cf /etc/mail/fokus.mc /etc/mail/fokus.submit.cf /etc/mail/fokus.submit.mc The problem (I think) is in src/etc/sendmail/Makefile: .if defined(SENDMAIL_MC) INSTALL_CF= ${SENDMAIL_MC:T:R}.cf This leaves INSTALL_CF with fokus.cf (the path is stripped off) and there is (of course) no fokus.cf in src/etc/sendmail. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org