Jörg Mühlberger <lists@jhmnet.de> wrote:
>
> I wanted to use rblsmtpd with my qmail installation, but it does not
> work as fas as I understand.
Hmmm.
> #!/bin/sh
> QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
> QMAILDUID=`id -u vpopmail`
> NOFILESGID=`id -g vpopmail`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 14000000 \
> /usr/local/bin/tcpserver -v -p \
> -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 123.456.789.123 smtp \
> /usr/local/bin/rblsmtpd -rrelays.ordb.org
> -rblackholes.mail-abuse.org \
> /var/qmail/bin/qmail-smtpd 2>&1
That looks right. Make sure your tcprules file isn't setting the RBLSMTPD
environment variable for incoming connections.
> I tested this installation by telneting ns1.crynwr.com but all mail
> comes through.
That's not how you test rblsmtpd. You can normally try connecting to the
127.0.0.2 test address (RBL-dependent), but not in your case, because
tcpserver is apparently only listening to 123.456.789.123.
> When looking into the log files I can see that rblsmtpd is not started!
rblsmtpd doesn't log anything if it doesn't block mail; these logs don't prove
anything. Use strace/truss to follow a tcpserver child process and see if it
does in fact run rblsmtpd.
Charles
--
--------------------------------------------------------------------------
Charles Cazabon <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting. See http://pyropus.ca/ for details.
--------------------------------------------------------------------------
|