From owner-freebsd-stable Fri Feb 15 3:11:14 2002 Delivered-To: freebsd-stable@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 181DD37B400 for ; Fri, 15 Feb 2002 03:11:10 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020215111109.BSCC1214.rwcrmhc54.attbi.com@blossom.cjclark.org>; Fri, 15 Feb 2002 11:11:09 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1FBB8m39127; Fri, 15 Feb 2002 03:11:08 -0800 (PST) (envelope-from cjc) Date: Fri, 15 Feb 2002 03:11:08 -0800 From: "Crist J. Clark" To: Rick Hoppe Cc: calvinng@brel.com, freebsd-stable@FreeBSD.ORG Subject: Re: Sendmail broken after upgrade 4.4-RELEASE to 4.5-STABLE Message-ID: <20020215031108.M36782@blossom.cjclark.org> References: <20020214151252.B36782@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mailing@rickhoppe.nl on Fri, Feb 15, 2002 at 09:12:27AM +0100 X-URL: http://people.freebsd.org/~cjc/ 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 Fri, Feb 15, 2002 at 09:12:27AM +0100, Rick Hoppe wrote: [snip] Calvin is correct about mailwrapper. I was going to wait to see if you really didn't build sendmail before bringing that up. > I assume normally there would be a sendmail directory in here. But there > isn't. So it looks like the /etc/make.conf is respected. But how come > /usr/sbin/sendmail had a new date- and timestamp and was complaining about > the version when it was started? /usr/sbin/sendmail should be a symbolic link to /usr/sbin/mailwrapper. > Calvin NGs reply about the mailwrapper: Is that the one located in > /usr/libexec/sendmail/? That one is not overwritten, and is still the "old" > version. Does make world copy this version over /usr/sbin/sendmail ? No, the wrapper is /usr/sbin/mailwrapper which, as I mention above, should be what /usr/sbin/sendmail points to. > # ls -l /usr/libexec/sendmail > total 408 > -r-sr-xr-x 1 root wheel 403136 Sep 18 19:30 sendmail > # This is the real sendmail binary. > # /usr/libexec/sendmail/sendmail > Warning: .cf version level (10) exceeds sendmail version 8.11.6 > functionality (9) See. :) > # cat /etc/mail/mailer.conf > # $FreeBSD: src/etc/mail/mailer.conf,v 1.2 1999/12/29 18:24:06 peter Exp $ > # > # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail > # > sendmail /usr/libexec/sendmail/sendmail > send-mail /usr/libexec/sendmail/sendmail > mailq /usr/libexec/sendmail/sendmail > newaliases /usr/libexec/sendmail/sendmail > > I rebooted again this morning, and the last two lines of /var/log/maillog > contained this: > > Feb 15 08:49:49 ns1 sendmail[2303]: NOQUEUE: SYSERR(root): Warning: .cf > version level (10) exceeds sendmail version 8.11.6 functionality (9) > Feb 15 09:01:08 ns1 sendmail[104]: starting daemon (8.12.2): > SMTP+queueing@00:30:00 > > Should I copy /usr/sbin/sendmail over /usr/libexec/sendmail/sendmail ? If > yes, I already should have done that when I upgraded sendmail in the first > place? The ideal way to deal with this is to put your custom sendmail into someplace like /usr/local and then configure mail.conf to point at it. Don't touch anything in /usr/sbin. > I've got another labmachine that I will upgrade later this weekend, but this > one will be upgraded from 4.3-RELEASE to 4.5-RELEASE (including the > patches). I will use the correct procedure there. I never used a Fix-it CD, > but I assume it's something I really don't want to. Although it should be a > good lesson for me. None of this requires the fixit CD. The system is definately bootable to multiuser. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message