From owner-freebsd-questions Mon Jul 3 12:20:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from theory1.physics.iisc.ernet.in (theory1.physics.iisc.ernet.in [144.16.71.20]) by hub.freebsd.org (Postfix) with SMTP id A36FA37B584 for ; Mon, 3 Jul 2000 12:20:43 -0700 (PDT) (envelope-from rsidd@physics.iisc.ernet.in) Received: (qmail 36694 invoked from network); 3 Jul 2000 19:20:33 -0000 Received: from unknown (HELO theory3.physics.iisc.ernet.in) (qmailr@144.16.71.158) by theory1.physics.iisc.ernet.in with SMTP; 3 Jul 2000 19:20:33 -0000 Received: (qmail 6401 invoked by uid 211); 3 Jul 2000 19:20:33 -0000 Date: Tue, 4 Jul 2000 00:50:33 +0530 From: Rahul Siddharthan To: Arcady Genkin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Qmail and selective relaying Message-ID: <20000704005033.D6285@physics.iisc.ernet.in> Mail-Followup-To: Arcady Genkin , freebsd-questions@FreeBSD.ORG References: <20000703151622.A71512@soup.thpoon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000703151622.A71512@soup.thpoon.com>; from antipode@thpoon.com on Mon, Jul 03, 2000 at 03:16:22PM -0400 X-Operating-System: Linux 2.4.0-test3 i686 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I found an article on FreeBSD'zine http://www.freebsdzine.org/200005/qmail. > which gives nice instructions on doing what I want. Also I found some info > qmail's FAQ at http://www.skyinet.net/~onogos/docs/Qmail-HOWTO section 5.2. > I have a question, though. > > I've installed daemontoools and ucspi-tcp and created tcprules file > in /usr/local/etc/tcp.smtp.cdb. Now, according to the instructions all > I need to do is ``add "-x /usr/local/etc/tcp.smtp.cdb" to qmail-smtpd > startup script.'' You're supposed to run qmail through tcpserver, and remove it altogether from /etc/inetd.conf. (tcpserver is a Bernstein replacement for inetd.) This flag goes for tcpserver, not for qmail-smtpd. I start it up from /etc/rc.local as follows /usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -u 82 -g 81 0 smtp /var/qmail/bin/qmail-smtpd & The best documentation for qmail is what comes with qmail itself, it's all quite clearly explained there. Rahul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message