From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 23:45:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DF2F16A417 for ; Mon, 22 Oct 2007 23:45:45 +0000 (UTC) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.embarqhsd.net [65.40.24.38]) by mx1.freebsd.org (Postfix) with ESMTP id AF52C13C4A8 for ; Mon, 22 Oct 2007 23:45:44 +0000 (UTC) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.14.1/8.13.1) with ESMTP id l9MNjPai031908 for ; Mon, 22 Oct 2007 19:45:30 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.14.1/8.13.1/Submit) id l9MNjK4H031907 for freebsd-questions@freebsd.org; Mon, 22 Oct 2007 19:45:20 -0400 (EDT) (envelope-from bv) Date: Mon, 22 Oct 2007 19:45:20 -0400 From: Bill Vermillion To: freebsd-questions@freebsd.org Message-ID: <20071022234520.GA31679@wjv.com> References: <20071022213308.87E7D16A494@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071022213308.87E7D16A494@hub.freebsd.org> User-Agent: Mutt/1.4.2.2i Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com Subject: Re: Want to upgrade sendmail in next OS release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 23:45:45 -0000 "Ang utong ko ay sasabog sa sarap!" exclaimed freebsd-questions-request@freebsd.org while reading this message on Mon, Oct 22, 2007 at 21:33 and then responded with: > Date: Mon, 22 Oct 2007 09:05:54 +0100 > From: Matthew Seaman > Subject: Re: Want to upgrade sendmail in next OS release > Tuc at T-B-O-H.NET wrote: > > I don't want to build out of ports because it is set up not > > to override the base install. > Actually, I think your perception is incorrect here. If you want > sendmail-8.14.1 on a FreeBSD 6.x system, then installing it out > of ports really is the best and easiest way to go. There's no > need to overwrite what the base system installs -- because of > the way mailwrapper works, /usr/sbin/sendmail will refer to the > ports version automatically. > The ports version of sendmail is a pretty seamless drop in for > the system version. You don't even need to use the startup > scripts the port installs in /usr/local/etc/rc.d Instead, if you > add the following to /etc/make.conf you can use the standard > /etc/rc.d/sendmail start/stop scripts and all the machinery in > /etc/mail for turning .mc into .cf files: > SENDMAIL_CF_DIR= /usr/local/share/sendmail/cf > MAKEMAP= /usr/local/sbin/makemap > > Cheers, > > Matthew > Agree completely as I've been doing that for the last couple of years at a smallish ISP. Never a problem. And the install script tells you how to update the 'mailwrapper'. It will also let you set options for other MTAs and not modify programs that call sendmail, which will then use the MTA of your choice. The mailwrapper is a nice concept. As to the OP's worry [in the original post not included here] was the concern about shutting down the system when doing this. Certainly it would problematic if he built from the system as in an OS upgrade, but for an application such as sendmail that's not needed. If he uses the ports and modifies the mailwrapper correctly, after that all he has to do is restart sendmail. That means his MTA will be down for only a very few seconds, depending upon the speed of the machine. On a fast machine it may be totally transparent. Bill -- Bill Vermillion - bv @ wjv . com