From owner-freebsd-stable Fri Feb 15 6:52:48 2002 Delivered-To: freebsd-stable@freebsd.org Received: from ns1.xtraxion.com (e134174.upc-e.chello.nl [213.93.134.174]) by hub.freebsd.org (Postfix) with ESMTP id 63BD037B400; Fri, 15 Feb 2002 06:52:41 -0800 (PST) Received: from xp (xp.xtraxion.com [10.0.0.3]) by ns1.xtraxion.com (8.12.2/8.12.2) with SMTP id g1FEr2N6000512; Fri, 15 Feb 2002 15:53:10 +0100 (CET) From: "Rick Hoppe" To: Cc: , , "Crist J. Clark" Subject: RE: Sendmail broken after upgrade 4.4-RELEASE to 4.5-STABLE Date: Fri, 15 Feb 2002 15:52:26 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020215031108.M36782@blossom.cjclark.org> Importance: Normal 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 > -----Original Message----- > [mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Crist J. Clark > Sent: vrijdag 15 februari 2002 12:11 > Subject: Re: Sendmail broken after upgrade 4.4-RELEASE to 4.5-STABLE > > Okay. I got the point about mailwrapper now. I dived into the friendly manpages about this. Let's say that make world corrects my previous mistake that I replaced /usr/sbin/sendmail, and replaces it with a copy of /usr/libexec/sendmail/sendmail. How else could it happen or where else did it get the binary from? I suppose that if I commented out the NO_SENDMAIL line from /etc/make.conf, again the /usr/sbin/sendmail would be replaced but this time with the version that came with that FreeBSD release. It looks like that when an custom updated sendmail is installed according to the FreeBSD hierarchy, and therefore is placed in /usr/local/sbin there would be no problem. Although I really wasn't aware about mailwrapper. So this concludes: ns1# ls -ld /usr/sbin/sendmail lrwxr-xr-x 1 root wheel 21 Feb 15 15:23 /usr/sbin/sendmail -> /usr/sbin/mailwrapper ns1# ns1# 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/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail ns1# ns1# ls -ld /usr/local/sbin/sendmail -r-xr-sr-x 1 root smmsp 554197 Feb 14 21:38 /usr/local/sbin/sendmail So /usr/sbin/sendmail is invoked by /etc/rc, that is symlinked to /usr/sbin/mailwrapper which will find in /etc/mail/mailer.conf that sendmail is located at /usr/local/sbin. I hope in future releases of FreeBSD that as default /usr/sbin/sendmail will be symlinked to /usr/sbin/mailwrapper. If this was the case in first place, I would have Googled and RTFM to find out what /usr/sbin/mailwrapper function was (when I upgraded sendmail). BTW, my comment on the fixit cd was not about using that CD for upgrading my other system. I meant to say that I never used that cd, and it may be a good lesson to learn to use it (when something goes wrong). I don't hope something goes wrong, but when it does go wrong, it's a good fix-it cd lesson for me. Crist J., Calvin and Jerry, thanks for your replies. The last reply from Jerry is probably what I wanted to achieve when I started make world. But now I also understand that mailwrapper is something I should use, when I want to play with different MTA's. Regards, Rick Hoppe Network- and Systemspecialist Xtraxion Internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message