From owner-freebsd-questions Fri Apr 28 7:45:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 05B2F37BED6 for ; Fri, 28 Apr 2000 07:45:21 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12lB5o-0005Uj-00; Fri, 28 Apr 2000 14:46:04 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 12lB5o-0004nu-00; Fri, 28 Apr 2000 14:46:04 +0100 Date: Fri, 28 Apr 2000 14:46:04 +0100 From: Ben Smithurst To: Jim Conner Cc: Alexander Werner Skwar , FreeBSD-Questions@FreeBSD.ORG Subject: Re: Installing exim and removing sendmail Message-ID: <20000428144604.V86507@strontium.scientia.demon.co.uk> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <4.3.1.2.20000428032208.029fd9f0@pseudonet.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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