I'm trying to run rblsmtd with protection if the lookup fails. According
to both the rblsmtpd usage output and the man page, the -R flag should do
this. However, tcpserver contains this log fragment:

        @400000003aa185e70678a39c rblsmtpd: illegal option -- R
        @400000003aa185e70678c2dc rblsmtpd: usage: rblsmtpd [ -b ] [ -R ]
        [ -t timeout ] [ -r base ] [ -a base ] smtpd [ arg ... ]

And the undocumented -a flag is presumably the A record lookup enabled by
the patch for rblsmtpd, right?

My /var/qmail/supervise/qmail-smtpd/run now looks like:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
        /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"
\
        -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd \
        -rblackholes.mail-abuse.org -rdialups.mail-abuse.org \
        -rinput.orbs.org -routput.orbs.org \
        -arelays.mail-abuse.org /var/qmail/bin/qmail-smtpd 2>&1

And RSS and ORBS are still failing to block, but RBL and DUL work fine.

-- 
Todd A. Jacobs
CodeGnome Consulting, LTD


Reply via email to