Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2000 14:46:04 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Jim Conner <jconner@enterit.com>
Cc:        Alexander Werner Skwar <askwar@DigitalProjects.com>, FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: Installing exim and removing sendmail
Message-ID:  <20000428144604.V86507@strontium.scientia.demon.co.uk>
In-Reply-To: <4.3.1.2.20000428032208.029fd9f0@pseudonet.org>
References:  <4.3.1.2.20000428030347.029fa4d0@pseudonet.org> <20000428084643.E8007@gartenfrucht.DigitalProjects.com> <4.3.1.2.20000428030347.029fa4d0@pseudonet.org> <20000428090920.A2187@gartenfrucht.DigitalProjects.com> <4.3.1.2.20000428032208.029fd9f0@pseudonet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Conner wrote:

> no no :) Im not talkin about exim.  I was talking about "disabling" 
> sendmail.  =P  Chmod it 0 (cuz by default its 4555)

No, don't.  God knows how many mail programs expect to send mail by piping
it to sendmail.  What you need to do depends on your version of FreeBSD.

4.x and higher:
	configure /etc/mail/mailer.conf appropriately, that's all that's
	needed.

3.x and lower:
	replace /usr/bin/mailq and /usr/sbin/sendmail with symlinks to
	/usr/local/sbin/exim, and set NO_SENDMAIL=true in /etc/make.conf so
	the links don't get clobbered by your next installworld.

Of course either way you also need to set sendmail_enable="NO" in
/etc/rc.conf and make sure the Exim daemon gets started somehow.  I
think the port handles starting the daemon by putting a script in
/usr/local/etc/rc.d, I do it myself from /etc/rc.local (I don't use the
port for Exim).

-- 
Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D


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?20000428144604.V86507>