I have been trying to setup RBL and DUL on our servers in the last 2 days. I
have RBL working just fine, and DUL is also working. The problem is a few
of our class C's from our netblock have been listed in the DUL. Which this is
not really a big deal i just have to set the $RBLSMTPD variable to accept
mail from those IP's. Well so i thought, no matter if that variable is set or
not those hosts are denied access. I have tried just everything i can think of,
read all the docs that i have found, followed them to the letter and still
no luck. We are running qmail-1.03 and ucspi-tcp-0.88. Did something change
in the way rblsmtpd is setup and the docs don't reflect this change?
here are the scripts i use for tcpserver and a output of a telnet session to
port 25. Any help would be greatly appericated!
rc.rblsmtpd
-----------
#!/bin/sh
TCPSERVER="/usr/local/bin/tcpserver"
SPLOGGER="/var/qmail/bin/splogger"
WRAPPER="/var/qmail/bin/rblsmtpd-wrapper"
TCPRULES="/etc/tcprules.cdb"
LOGFILE="/var/log/tcpserver-smtp.log"
HOSTNAME="mail2.networkone.net"
PORT=25
MAXCONNS=120
SUID=301
SGID=101
$TCPSERVER -v -c $MAXCONNS -x $TCPRULES -u $SUID -g $SGID \
-p -l $HOSTNAME 0 $PORT $WRAPPER 2> $LOGFILE &
rblsmtpd-wrapper
----------------
#!/bin/sh
DUL="dialups.mail-abuse.org"
RBL="rbl.maps.vix.com"
SPLOGGER="/var/qmail/bin/splogger"
SMTPD="/var/qmail/bin/qmail-smtpd"
RBLSMTPD="/usr/local/bin/rblsmtpd -r$DUL -r$RBL"
echo "SMTP connect from $TCPREMOTEHOST ($TCPREMOTEIP)" | $SPLOGGER qmail-smtpd
exec $RBLSMTPD $SMTPD
tcprules.txt
------------
one of the entries in question, which i have tried several differnet ways
209.144.118.:allow,RELAYCLIENT="",RBLSMTPD="",REASON="Local Dialup"
output of telnet session to port 25
-----------------------------------
telnet mail2.networkone.net 25
Trying 209.144.121.9...
Connected to mail2.networkone.net.
Escape character is '^]'.
220 rblsmtpd.local
451 /usr/local/bin/rblsmtpd -rdialups.mail-abuse.org -rrbl.maps.vix.com
quit
221 rblsmtpd.local
Connection closed by foreign host.
Chris Scheller
Network One Internet, inc.
http://www.networkone.net/
System/Network Administration
1-888-GOT-NET1