Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 13:23:46 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        "Erik Funkenbusch" <erikf@visi.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Staying current or stable with non-standard MTA
Message-ID:  <20020408132346.A19877@student.uu.se>
In-Reply-To: <00c901c1deed$1905a3e0$dd8e1bd8@zeus>; from erikf@visi.com on Mon, Apr 08, 2002 at 06:04:04AM -0500
References:  <00c901c1deed$1905a3e0$dd8e1bd8@zeus>

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


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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