On Thu, Aug 24, 2000 at 11:28:49AM -0700, Dan Mahoney wrote:
> 127.0.0.:allow,RELAYCLIENT=""
> 192.168.:allow,RELAYCLIENT=""
> 4.19.67.: allow,RELAYCLIENT=""
           ^
Take out that space.

> where 4.19.67 is the net part of our external subnet.
> 
> I ran "tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp
> < /home/vpopmail/etc/tcp.smtp" and my inetd.conf contains a line with
>    smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
> /var/qmail/bin/qmail-smtpd -s /etc/tcp.smtp.cdb

inetd doesn't know beans about tcprules-compiled cdb files. I don't use inetd,
so I can't tell you how to make it aware of environment variables, but it's not
with cdb files created by tcprules. And it sure isn't done by providing the -s
option to qmail-smtpd (there's no such thing as -s).

Read the rest of FAQ 5.4, where it tells you how to make this work with inetd.
Or better yet, use tcpserver instead, which will understand your rules cdb.

> Just to be sure, I sent a "kill -HUP" to qmail-smtpd.

That doesn't do anything. Unless someone is actually connected to you, there
won't even be a qmail-smtpd process to HUP, and qmail-smtpd doesn't do anything
with a HUP (anything that's defined, anyway).

> Now I can telnet into port 25 of the qmail machine (mx.lessonlink.com),
> and my session goes something like this:
> 220 lessonlink.com ESMTP
> helo me
> 250 lessonlink.com
> mail from: [EMAIL PROTECTED]
> 250 ok
> rcpt to: [EMAIL PROTECTED]
> 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
> 
> The IP address of my machine is 192.168.0.5. My understanding of the
> FAQ is that I should be able to send this message. What have I likely
> overlooked?

You have overlooked much of FAQ 5.4, in particular the part that answers this
question.

Chris

Reply via email to