From owner-freebsd-isp Tue Jun 4 2:59:28 2002 Delivered-To: freebsd-isp@freebsd.org Received: from tchpc01.tcd.ie (tchpc01.tcd.ie [134.226.10.78]) by hub.freebsd.org (Postfix) with ESMTP id 7F4CC37B400 for ; Tue, 4 Jun 2002 02:59:21 -0700 (PDT) Received: from flipflop.tchpc.tcd.ie (hpc04.iss.tcd.ie [134.226.10.47]) by tchpc01.tcd.ie (Postfix) with ESMTP id 9AA66340A; Tue, 4 Jun 2002 11:05:06 +0100 (IST) Received: by flipflop.tchpc.tcd.ie (Postfix, from userid 1001) id CD7D3182; Tue, 4 Jun 2002 10:58:58 +0100 (IST) Date: Tue, 4 Jun 2002 10:58:58 +0100 From: Robert bobb Crosbie To: Nick Kraal Cc: freebsd-isp@freebsd.org Subject: Re: replacing sendmail Message-ID: <20020604105858.A77568@lummux.tchpc.tcd.ie> References: <20020604062654.86320.qmail@web20104.mail.yahoo.com> <013401c20ba5$30d88200$53e173cb@arc.net.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <013401c20ba5$30d88200$53e173cb@arc.net.my>; from nick@arc.net.my on Tue, Jun 04, 2002 at 04:52:43PM +0800 Organization: bobb Industries Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Nick Kraal hath declared on Tuesday the 04 day of June 2002 :-: > Thank you all for your reply and hints. From what I notice Sendmail is > installed by default which includes some configuration parameters and > FreeBSD scripts. I suspect it would be slightly more complicated than just > installing qmail/postfix and modifying some rc scripts. I have seen some > how-to documents to completely remove the default Sendmail installation but > some are too complicated and others not complete. > > Ideas? Thanks in advance. They handy thing about FreeBSD and MTA's is mailwrapper(8) see /etc/mail/mailer.conf things like /usr/sbin/sendmail and /usr/bin/mailq are just symlinks to /usr/sbin/mailwrapper. You can change what these links actually run by editing mailer.conf. I'm not sure about qmail, but its simple to replace sendmail with postfix, just `` cd /usr/ports/mail/postfix && make install && make replace ''. Although with recent changes with sendmail you now have to create a startup script for postfix, say, /etc/rc.posftix which contains the line `` /usr/local/sbin/postfix start '' (you could get fancy with a case and start/stop/restart if you like). Then add the follwing to /etc/rc.conf mta_start_script="/etc/rc.postfix" sendmail_enable="YES" sendmail_flags="-bd" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" And you should be away, don't forget to edit /usr/local/etc/postfix/main.cf :) HTH, - bobb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message