are you actually compiling the cdb into /etc?
I had this problem before where I _thought_ I was doing everything correctly
but was putting the .cdb into a different location, after I changed my
scripts to use deamontools6.
I have to say it drove me insane.


-----Original Message-----
From: Reece Markowsky [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 12:24 PM
To: [EMAIL PROTECTED]
Subject: help pls! RELAYCLIENT won't bypass rcpthosts


I have configured selective relaying as described in Michael Samuel's
step-by-step
instructions to bypass rcpthosts by enabling RELAYCLIENT for select
customers.
 The problem is that I am receiving a denial of service for anybody-
even those hosts (IP addresses) listed in my tcp.smtp.cdb database.   It
seems to be ignoring these rules - only using the rcpthosts.
Any help is appreciated! Thanks.

For example, from my host 192.152.1.21  I try to telnet to the SMTP host
and send a
message to a host that is NOT defined in the rcpthosts file.
My understanding is that because my host (192.152.1.*) is allowed to
relay,
RELAYCLIENT will be set and rcpthosts will by bypassed.
It doesn't seem to work however.  Here is some output:

telnet mysmtphost.mydomain.com 25
Trying XXX.XX.XX.XX...
Connected to mysmtphost.mydomain.com.
Escape character is '^]'.
220 localhost.localdomain ESMTP
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)

Note, somewhereelse.com is not listed in my rcpthosts.  Ok, but this is
a telnet session
is from a machine who enables RELAYCLIENT in the tcp.smtp.cdb
database.   Here
is my configuration (ip info has been changed for security reasons)
tcp.smtp (I remembered to reload this):

192.152.1.:allow,RELAYCLIENT=""
:allow

You can see that I am running tcpserver correctly too:
 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 137 -g 223 0
smtp
/var/qmail/bin/qmail-smtpd


Any ideas??

Thanks!
rjm

Reply via email to