From owner-freebsd-questions Wed Aug 23 3:47:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web3208.mail.yahoo.com (web3208.mail.yahoo.com [204.71.200.29]) by hub.freebsd.org (Postfix) with SMTP id 7555337B423 for ; Wed, 23 Aug 2000 03:47:38 -0700 (PDT) Message-ID: <20000823104738.53522.qmail@web3208.mail.yahoo.com> Received: from [212.49.247.222] by web3208.mail.yahoo.com; Wed, 23 Aug 2000 11:47:38 BST Date: Wed, 23 Aug 2000 11:47:38 +0100 (BST) From: =?iso-8859-1?q?Dan=20Fairs?= Subject: Re: qmail does not accept e-mail To: Giorgos Keramidas , Raoul Schroeder Cc: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > In order to receive mail with SMTP over the network you need to set > up > qmail-smtpd to be started from your inetd. The line that you need to > add to your inetd.conf is also included in qmail's > /var/qmail/doc/FAQ, > but it looks like: > > smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env > /var/qmail/bin/qmail-smtpd The qmail guys recommend that you use tcpserver instead of inetd. This comes in the sysutils/ucspi-tcp port. This is how I start qmail-smtpd: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` exec /usr/local/bin/softlimit -m 2000000 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 softlimit comes from the sysutils/daemontools port. I set up qmail in accordance with the 'Life With qmail' guide, a comprehensive and clear document linked to from www.qmail.org. Hope this helps, Dan ===== Daniel Fairs dan@spiderplant.no-spam.net System Administrator spiderplant.net ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message