Qmail
[Top] [All Lists]

Re: RBLSMTPD not working

To: qmail@list.cr.yp.to
Subject: Re: RBLSMTPD not working
From: Charles Cazabon <qmail@discworld.dyndns.org>
Date: Sun, 7 Jan 2007 09:50:16 -0600
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <45A10E9D.8010700@jhmnet.de>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <45A10E9D.8010700@jhmnet.de>
User-agent: Mutt/1.5.11
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.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>