From owner-freebsd-questions Mon Jul 3 12:16:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from soup.thpoon.com (cr103675-a.bloor1.on.wave.home.com [24.114.152.71]) by hub.freebsd.org (Postfix) with SMTP id A731637B7D6 for ; Mon, 3 Jul 2000 12:16:24 -0700 (PDT) (envelope-from antipode@soup.thpoon.com) Received: (qmail 71524 invoked by uid 1001); 3 Jul 2000 19:16:22 -0000 Date: Mon, 3 Jul 2000 15:16:22 -0400 From: Arcady Genkin To: freebsd-questions@freebsd.org Subject: Qmail and selective relaying Message-ID: <20000703151622.A71512@soup.thpoon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to configure qmail to do the selective relaying (serve as a smart host for another computer on internal network). The link from qmail's documentation page to http://qmail-docs.surfdirect.com.au/docs/qmail-antirelay.html where the instructions for configuring this are supposed to be located doesn't work for me. 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.'' I only found invocation of qmail-smtpd in /etc/inetd.conf, so I added that "-x ..." to the command there. I then sent HUP to inetd. This has had no effect. :-/ I still can't relay mail from my internal machine. What am I doing wrong? The tcprules file looks like this: 192.168.:allow,RELAYCLIENT="" :allow Thanks a lot for any input! -- Arcady Genkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message