Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 03:11:08 -0800
From:      "Crist J. Clark" <cjc@FreeBSD.ORG>
To:        Rick Hoppe <mailing@rickhoppe.nl>
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>
In-Reply-To: <MLECKHBMGODPBDHNOIAAMEMCCJAA.mailing@rickhoppe.nl>; from mailing@rickhoppe.nl on Fri, Feb 15, 2002 at 09:12:27AM %2B0100
References:  <20020214151252.B36782@blossom.cjclark.org> <MLECKHBMGODPBDHNOIAAMEMCCJAA.mailing@rickhoppe.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020215031108.M36782>