Let me start with I have 5 other Shupp Toaster installs and all of
them work great. However, my 6th one is really starting to bake my
noodle. Short problem: it won't check against the RBLs I have
configured. Mail delivers just fine, but it's not blocking
connections from dynamic IPs which should be listed in the RBL.
I use, generally, the same smtpd/run supervise script on all my boxes;
some have a whitelist, some don't, etc. Here is what I have on the
6th box (sanitized) :
[EMAIL PROTECTED] etc]# more /var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 25000000 \
/usr/local/bin/tcpserver -v -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" aa.bb.cc.dd smtp \
/usr/local/bin/rblsmtpd -t 20 -b \
-a whitelist.mydomain.tld \
-r "safe.dnsbl.sorbs.net:safe.dnsbl.sorbs.net - see
<http://www.au.sorbs.net/lookup.shtml?ip=%IP%>" \
-r "combined.njabl.org:combined.njabl.org - see
<http://njabl.org/lookup?%IP%>" \
-r "zen.spamhaus.org:zen.spamhaus.org - see
<http://www.spamhaus.org/query/bl?ip=%IP%>" \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
[EMAIL PROTECTED] etc]#
I can't see anything wrong with the file, and I've even copy-n-pasted
the config from a known working server and it still won't query the
RBL.
I've tested the rblsmtpd binary with the following command:
[EMAIL PROTECTED] etc]# TCPREMOTEIP="61.144.178.252" /usr/local/bin/rblsmtpd
-t 20 -b -r safe.dnsbl.sorbs.net /bin/true
rblsmtpd: 61.144.178.252 pid 32658: 553 Dynamic IP Addresses See:
http://www.sorbs.net/lookup.shtml?61.144.178.252
220 rblsmtpd.local
[EMAIL PROTECTED] etc]#
This should at least tell me the binary is compiled right and that
there is connectivity to the RBL.
I've also looked in /var/log/messages and 'dmesg' and don't see
anything unusual; no blocked packets by iptables to tcp/53, no error
messages.
I've restarted the qmail-smtpd service multiple times but to no avail.
The only thing that seems to help is if I manually add an entry to
'/home/vpopmail/etc/tcp.smtp' and rebuild the database. Then I see
rblsmtpd entries in /var/log/qmail/smtpd/current.
I'm really at a loss as to why it's not working and would appreciate any input.
Oh, AMD-64 box with Redhat-ES-4.
Thanks!
-ken
--
Have a nice day ... unless you've made other plans.