From owner-freebsd-current@FreeBSD.ORG Thu Apr 3 18:19:39 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 9F7E737B401 for ; Thu, 3 Apr 2003 18:19:39 -0800 (PST) Received: from thalia.otenet.gr (thalia.otenet.gr [195.170.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id F38D843FA3 for ; Thu, 3 Apr 2003 18:19:37 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b122.otenet.gr [212.205.244.130]) by thalia.otenet.gr (8.12.9/8.12.9) with ESMTP id h342JWt0025566; Fri, 4 Apr 2003 05:19:34 +0300 (EEST) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.9/8.12.9) with ESMTP id h342JV4C019246; Fri, 4 Apr 2003 05:19:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.9/8.12.9/Submit) id h342JQPB019245; Fri, 4 Apr 2003 05:19:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 4 Apr 2003 05:19:26 +0300 From: Giorgos Keramidas To: "Oleg V. Nauman" Message-ID: <20030404021926.GA18960@gothmog.gr> References: <16011.4537.279737.406477@horsey.gshapiro.net> <16011.7467.322808.498405@emerger.yogotech.com> <20030402205754.GF75212@core.zp.ua> <16011.25002.138504.661813@emerger.yogotech.com> <20030403190503.GC82393@core.zp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030403190503.GC82393@core.zp.ua> cc: freebsd-current@freebsd.org Subject: Re: sendmail: no local mailer X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 02:19:39 -0000 On 2003-04-03 22:05, "Oleg V. Nauman" wrote: >On Wed, Apr 02, 2003 at 03:18:18PM -0700, Nate Williams wrote: >>>> This happened on one of my -stable boxes lately when doing a upgrade >>>> using buildworld. For some (unknown) reason m4 bombed out and created >>>> an empty .cf file. >>>> >>>> I fixed it by doing something similar to what was done above, although >>>> why m4 failed is a mystery.... >>> >>> Some patch: >>> >>> --- /usr/src/etc/sendmail/Makefile.orig Wed Apr 2 23:51:19 2003 >>> +++ /usr/src/etc/sendmail/Makefile Wed Apr 2 23:51:50 2003 >>> @@ -1,7 +1,7 @@ >>> # @(#)Makefile 8.19 (Berkeley) 1/14/97 >>> # $FreeBSD: src/etc/sendmail/Makefile,v 1.21 2002/07/29 09:40:06 ru Exp $ >>> >>> -M4= m4 >>> +M4= /usr/bin/m4 >>> CHMOD= chmod >>> ROMODE= 444 >>> RM= rm -f >> >> This shouldn't be necessary, since m4 is in the path in buildworld, is > > installworld, you meant? Actually no. One of the last things done during buildworld is (wrapped to fit under 80 columns): : ===> etc/sendmail : rm -f freebsd.cf : (cd /usr/src/etc/sendmail && \ : m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ \ : /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 freebsd.mc) \ : > freebsd.cf : chmod 444 freebsd.cf : rm -f /etc/mail/gothmog.cf : (cd /usr/src/etc/sendmail && \ : m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ \ : /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 \ : /etc/mail/gothmog.mc) > /etc/mail/gothmog.cf : chmod 444 /etc/mail/gothmog.cf : rm -f /etc/mail/gothmog.submit.cf : (cd /usr/src/etc/sendmail && \ : m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ \ : /usr/src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 \ : /etc/mail/gothmog.submit.mc) > /etc/mail/gothmog.submit.cf : chmod 444 /etc/mail/gothmog.submit.cf