From owner-freebsd-questions Mon Apr 8 4:23:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.tdb.uu.se (mail2.tdb.uu.se [130.238.18.35]) by hub.freebsd.org (Postfix) with ESMTP id 1289837B416 for ; Mon, 8 Apr 2002 04:23:49 -0700 (PDT) Received: from rackarberget.it.uu.se (rackarberget.it.uu.se [130.238.18.38]) by mail2.tdb.uu.se (8.12.1/8.12.1/STUD_1.2) with ESMTP id g38BNkTN001726; Mon, 8 Apr 2002 13:23:47 +0200 (MET DST) Received: (from ertr1013@localhost) by rackarberget.it.uu.se (8.11.6/8.11.6/STUD_NULL_1.2) id g38BNka20878; Mon, 8 Apr 2002 13:23:46 +0200 (MET DST) Date: Mon, 8 Apr 2002 13:23:46 +0200 From: Erik Trulsson To: "Erik Funkenbusch" Cc: Subject: Re: Staying current or stable with non-standard MTA Message-ID: <20020408132346.A19877@student.uu.se> References: <00c901c1deed$1905a3e0$dd8e1bd8@zeus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00c901c1deed$1905a3e0$dd8e1bd8@zeus>; from erikf@visi.com on Mon, Apr 08, 2002 at 06:04:04AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 08, 2002 at 06:04:04AM -0500, Erik Funkenbusch wrote: > I'm using qmail for my MTA, and have been running this pretty well for about > 2 years. > > I have is that I have made several modifications to the system to accomodate > qmail, such as adding sendmail wrappers and remove /bin/mail. The problem > is that ever time I cvsup and make world, these get replaced with newly > built copies of the original sendmail and /bin/mail. There is no need to modify or replace any of the "standard" binaries. > > Are there any other qmail users on the list that have solved this problem? > I currently have a script to replace these everytime I make world, but this > seems kludgy to me and would prefer a more elegant solution than the brute > force approach. > > Any ideas? > Yes, please read the mailwrapper(8) and mailer.conf(5) manpages. The default when installing qmail from ports is to have it installed under /var/qmail, thus not changing any of the normal files. After editing /etc/mail/mailer.conf to make sure that qmail is invoked instead of sendmail when /usr/sbin/sendmail is run everything works fine. No need to replace anything after a make world. > As a side note, i'm wondering about the viability of a formal change in the > layout of the FreeBSD binary structure to make MTA's (and possibly other > common base tools) more modular, rather than forcing sendmail on everyone. mailwrapper(8) is a step in that direction. > I realize that sendmail is the defacto standard, and there's lots of > software out there that assumes sendmail, however i'd just like a way to > have make world not clobber my modified base settings. Hell, i'd be happy > with some kind of way to "turn off" individual programs from the compile and > install (then I can install my wrappers and not worry about them being > replaced). Something akin to the cvsup configuration, perhaps. You can of course add NO_SENDMAIL=true to /etc/make.conf but there is really no need for that. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message