Date: Wed, 02 Jan 2002 22:32:40 +0100 From: dirk.meyer@dinoex.sub.org (Dirk Meyer) To: freebsd-ports@FreeBSD.ORG Subject: Re: Sendmail port vs default sendmail (/usr/src)? Message-ID: <7PGh1KZL6h@dmeyer.dinoex.sub.org> References: <Pine.LNX.4.21.0201021202210.4006-100000@danzig.sd.quantified.net> <200201021953.g02Jr3O93839@onceler.kciLink.com> <Pine.LNX.4.21.0201021202210.4006-100000@danzig.sd.quantified.net> <20020102154212.A1282@pr0n.kutulu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Because sendmail startup support is in the base system, there's no > need to put a startup script in. Sendmail, in fact, is a special case, in > that there is *a lot* of support in the base system for replacing it with a > new version and/or totally different MTA. > > If you want to do this, here's the "proper" way. I say proper only because > this is how the install documentation for postfix instruct one to replace > sendmail with postfix, and I assume the same applies to replacing base > sendmail with a ports sendmail: > > 1. Install sendmail from ports as normal. > 2. Edit /etc/mail/mailer.conf > * Replace each instance of the base sendmail path with the pathname to > the new sendmail binary. If yoou don't liek to edit, just type: cd /usr/ports/mail/sendmail && make mailer.conf > 3. Optional but recommended: Edit /etc/make.conf and add: > NO_SENDMAIL= true > > > The various mail programs (like mailq and newaliases and even sendmail > itself) are just links to mailwrapper(8), which reads /etc/mail/mailer.conf > to determine what program to run for a given function. Read the man pages > to mailer.conf(5) and mailwrapper(8) for more details, but overall it's a > very clean way to replace the system MTA with very little collateral damage. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7PGh1KZL6h>