From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 11:53:07 2004 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 A504316A4CE for ; Mon, 1 Mar 2004 11:53:07 -0800 (PST) Received: from clanbuckbuck.org (c-24-17-98-189.client.comcast.net [24.17.98.189]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A78843D54 for ; Mon, 1 Mar 2004 11:53:07 -0800 (PST) (envelope-from ryallsd@datasphereweb.com) Received: (qmail 15651 invoked from network); 1 Mar 2004 19:53:06 -0000 Received: from unknown (HELO RYALLS1) (131.107.3.73) by c-24-17-98-189.client.comcast.net with SMTP; 1 Mar 2004 19:53:06 -0000 From: "Derrick Ryalls" To: "'Ralph M. Los'" , Date: Mon, 1 Mar 2004 11:53:03 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: qmail patches... 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: Mon, 01 Mar 2004 19:53:07 -0000 > > Hi, > I have followed the install from freebsd.qmailrocks.org, > and everything appears to be going OK, I'm almost done with > the guy's walk-thru...but I found something of interest on > the qmail.org website - patches to do smtp-auth so I can have > my clients be able to 'roam' while being able to send email > through my SMTP gateway out. There are a bunch of links > there to "patches", for SMTP-AUTH...but I have very little > idea about how to implement them? > Can someone who's done it before throw me a clue? > > Here's what I'd like to get working: > http://students.imsa.edu/~ngroot/qmail-1.03-starttls-smtp-auth .patch Is there something better? I was thinking about using that very patch, just haven't gotten around to trying it out. So, if you are gunna try this out, do not use a live system for testing. As per the instructions included within the patch: +How to install it: + +Simply patch your qmail-1.03 distribution with the included patch +file and recompile & install like usual. + +The steps to do this are as follows (assuming your virgin +qmail-1.03 install is in "../qmail-1.03"): + + cp README.auth base64.c base64.h ../qmail-1.03 + patch -d ../qmail-1.03 < auth.patch + +Install qmail normally, with the exception of the new arguments +to qmail-smtpd described elsewhere in this file. + +Also obtain, unpack, compile and install the cmd5checkpw utility +(or some other checkpassword utility) and add a sample account to +/etc/poppasswd file. This file must be readable by the qmail-smtpd +user, usually qmaild. So, I am guessing that means you do this: #cd /usr/ports/mail/qmail #make patch #cd work/qmail-1.03 #fetch http://students.imsa.edu/~ngroot/qmail-1.03-starttls-smtp-auth.patch #patch -d ../qmail-1.03 < qmail-1.03-starttls-smtp-auth.patch #cd /usr/ports/mail/qmail (make sure qmail is not running) #make install After that you will need to modify /var/qmail/rc to accommodate the qmail-smtpd startup changes. Please let us (or atleast me) know how it works. I am interested in doing this as well as soon as I have some free time.