From owner-freebsd-isp@FreeBSD.ORG Wed Jun 25 05:15:24 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9617A37B401 for ; Wed, 25 Jun 2003 05:15:24 -0700 (PDT) Received: from psknet.com (kennedy.psknet.com [63.171.251.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF8C43FA3 for ; Wed, 25 Jun 2003 05:15:23 -0700 (PDT) (envelope-from troy@psknet.com) Received: from pool-141-152-69-180.roa.east.verizon.net ([141.152.69.180] helo=tws) by psknet.com with asmtp (TLSv1:RC4-MD5:128) (Exim 4.20) id 19V9BG-0006DY-P2; Wed, 25 Jun 2003 08:15:19 -0400 From: "Troy Settle" To: , Date: Wed, 25 Jun 2003 08:13:19 -0400 Message-ID: <003001c33b13$2add9d10$0100a8c0@tws> 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.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <3ef89ec4.bd7.0@nortenet.pt> Importance: Normal Subject: RE: qmail not listening X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 12:15:24 -0000 > -----Original Message----- > From: Guilherme Oliveira > Sent: Tuesday, June 24, 2003 3:56 PM > > Thanks in advance for your help ! > > >On Tue, Jun 24, 2003 at 06:47:10PM +0000, Guilherme Oliveira wrote: > >Did you install qmail via ports, or from the source tarball? > I've had > >problems with the ports, IIRC... > > I've installed it from ports. > I run '/var/qmail/configure/config-fast vianavirtual.com' > Then I've copied /var/qmail/boot/home to /var/qmail/rc to > /usr/local/etc/rc.d/qmail.sh > be funtional. That's a good start, though not always a desireable way to do it. I much prefer running qmail-send under daemontools. > > >> I read the docs and I've configured the virtual domains > but doing netstat > it > >Which docs? 'Life With Qmail'? The author's own docs? > > With the source, 2 faq's, qmail.org and from author site. If your heart is set on running Qmail, you really need to check out the LWQ, it's probably the most concise manual for running Qmail in existence. http://www.lifewithqmail.org Since you've already got the basic setup out of the way, start with section 2.8: http://www.lifewithqmail.org/lwq.html#start-qmail > > >Qmail-smtpd does use TCP. How are you invoking it? inetd? > tcpserver? > >We'd need to see config files, output of logs, etc. > > I've said how I configured it. Logs and configuration files > are in http://www.vianaonline.com/qmail.txt Good stuff, but where's the supervise process for qmail-smtpd? A basic supervise script (run file) under daemontools looks something like this (don't use this though, it has no error checking): #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb \ -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd 2>&1 > > > This server runs (as djbdns) with ip 192.168.1.2 behind natd. > I've 3 domains wich dns redirects to natd. Then natd does > portforward to 192.168.1.2 Yup, dnbdns is pretty much a braindead installation, it depends on daemontools to run. Qmail, on the other hand, can be run in a variety of ways, and DJB leaves that up to the user to figure out. > > It's running very well tith apache and djbdns except qmail. Hopefully by now, you'll have yourself an operational mail server. > > I need some hints please. Oh, some more hints... You'll need to set up additional supervise scripts for pop3 and imap services if you want them. Both are fairly trivial to set up under daemontools. Good luck, -- Troy Settle Pulaski Networks http://www.psknet.com 540.994.4254 ~ 866.477.5638 Pulaski Chamber 2002 Small Business Of The Year