From owner-freebsd-current@FreeBSD.ORG Wed Apr 2 09:26:07 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 0DD5C37B401; Wed, 2 Apr 2003 09:26:07 -0800 (PST) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9CAA43F93; Wed, 2 Apr 2003 09:26:05 -0800 (PST) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3p2/8.9.3) with ESMTP id KAA17445; Wed, 2 Apr 2003 10:26:03 -0700 (MST) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.8/8.12.8) id h32HQ3c3032106; Wed, 2 Apr 2003 10:26:03 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16011.7467.322808.498405@emerger.yogotech.com> Date: Wed, 2 Apr 2003 10:26:03 -0700 To: Gregory Neil Shapiro In-Reply-To: <16011.4537.279737.406477@horsey.gshapiro.net> References: <16011.4537.279737.406477@horsey.gshapiro.net> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Reply-To: Nate Williams List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 17:26:07 -0000 > evantd> Sendmail has not been working on my system for some time now. I > evantd> can't say exactly how long, but my guess is that it broke when I > evantd> upgraded to RELENG_5_0. This is how sendmail is invoked (by > evantd> default) and it's output. > > evantd> # sendmail -L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost > evantd> 451 4.0.0 No local mailer defined: Bad address > evantd> 554 5.0.0 QueueDirectory (Q) option must be set > > /etc/mail/sendmail.cf is a bogus (empty?) file. One way to fix this is: > > cd /etc/mail > mv sendmail.cf sendmail.cf~bogus > make > make restart 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.... Nate