From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 14:58:45 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8808D37B401 for ; Wed, 6 Aug 2003 14:58:45 -0700 (PDT) Received: from adsl-209.142.188.58-rb.clm.centurytel.net (adsl-209.142.188.58-rb.clm.centurytel.net [209.142.188.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id C092F43F75 for ; Wed, 6 Aug 2003 14:58:44 -0700 (PDT) (envelope-from herbert@adsl-209.142.188.58-rb.clm.centurytel.net) Received: (qmail 76330 invoked by uid 1000); 6 Aug 2003 22:06:14 -0000 Date: Wed, 6 Aug 2003 17:06:14 -0500 From: Herbert Wolverson To: freebsd-questions@freebsd.org Message-ID: <20030806220614.GA75810@charizard.tsghelp.com> References: <000c01c35c3d$22013210$0701a8c0@darryl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000c01c35c3d$22013210$0701a8c0@darryl> User-Agent: Mutt/1.4i Subject: Re: qmail +smtp authentication ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 21:58:45 -0000 > I want to setup a personal email server for my domain > on my frebsd 4.7S box. I've heard great things about > qmail. This lead me to wonder about smtp authentication > with qmail as I think that would eliminate the open relay > problem. > > is smtp authentication possible with qmail ? What I do is add in an SMTP AUTH patch to the qmail source before installing. (I'm not sure if there is a clean way to do this with the port; make the port, patch in the changes, make again and then make install seems to work but is long winded!). We use Qmail-LDAP here, so I'm not sure which patch works best for a regular Qmail install - but there are several listed on http://www.qmail.org/top.html . A long time ago, I used Mrs Brisby's patch ( http://www.nimh.org/dl/qmail-smtpd.c ) and it worked okay. A friend of mine pointed me at http://www.qmail.org/qmail-auth-20010105.tar.gz - he said it worked for him. Incidentally, if you haven't found it yet, Life With Qmail (available online at http://www.lifewithqmail.com/lwq.html ) is a really excellent guide to getting everything working, and keeping it that way. -- Herbert.