Date: Wed, 2 Jan 2002 15:42:12 -0500 From: Kutulu <kutulu@kutulu.org> To: Doug Silver <dsilver@quantified.com> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: Sendmail port vs default sendmail (/usr/src)? Message-ID: <20020102154212.A1282@pr0n.kutulu.org> In-Reply-To: <Pine.LNX.4.21.0201021202210.4006-100000@danzig.sd.quantified.net>; from dsilver@quantified.com on Wed, Jan 02, 2002 at 12:28:04PM -0800 References: <200201021953.g02Jr3O93839@onceler.kciLink.com> <Pine.LNX.4.21.0201021202210.4006-100000@danzig.sd.quantified.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 02, 2002 at 12:28:04PM -0800, Doug Silver wrote: > If using the ports is preferred, why isn't a startup script included in > /usr/local/etc/rc script for the sendmail port to use? 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. 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. --K 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?20020102154212.A1282>