qmail + rblsmtpd not working

This is a discussion on qmail + rblsmtpd not working within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hello, I'm (I think) very friendly with qmail, I've pathed qmail witch very various patches, and all working ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2003
Marek Bartnikowski
 
Posts: n/a
Default qmail + rblsmtpd not working

Hello,
I'm (I think) very friendly with qmail, I've pathed qmail witch very
various patches, and all working very good. I've wrote a lot of
modyfications to qmail-smtpd.c and it work like I WANT.
even so, when I want to use rblsmtpd on my new qmail serwer (without any
patches!, only make setup check), it doesn't work.
my
/var/qmail/supervise/qmail-smtpd/run:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 2000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org \
/var/qmail/bin/qmail-smtpd 2>&1

and I always get:
From: nelson-SBL-test@crynwr.com
To: marek@xxxxxxxxxxxx

Uh-oh, your SBL block is not working!

I have no idea what I made wrong. I tcpdumped traffic when I send email
to nelson-SBL-test and I saw, that qmail ask for client IP to
relays.ordb.org, but answer is always NXDomain.

Is modyfication of /var/qmail/supervise/qmail-smtpd/run is all what
should I do? Or, maybe, I miss something?

Thank you
--
Marek Bartnikowski * *
System Administrator @ RTK Autocom * EU *
http://www.autocom.pl * *
Reply With Quote
  #2 (permalink)  
Old 06-23-2003
AK
 
Posts: n/a
Default Re: qmail + rblsmtpd not working

Marek Bartnikowski wrote:
> Hello,
> I'm (I think) very friendly with qmail, I've pathed qmail witch very
> various patches, and all working very good. I've wrote a lot of
> modyfications to qmail-smtpd.c and it work like I WANT.
> even so, when I want to use rblsmtpd on my new qmail serwer (without any
> patches!, only make setup check), it doesn't work.
> my
> /var/qmail/supervise/qmail-smtpd/run:
>
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> LOCAL=`head -1 /var/qmail/control/me`
> if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
> echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
> echo /var/qmail/supervise/qmail-smtpd/run
> exit 1
> fi
> exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org \
> /var/qmail/bin/qmail-smtpd 2>&1
>
> and I always get:
> From: nelson-SBL-test@crynwr.com
> To: marek@xxxxxxxxxxxx
>
> Uh-oh, your SBL block is not working!
>
> I have no idea what I made wrong. I tcpdumped traffic when I send email
> to nelson-SBL-test and I saw, that qmail ask for client IP to
> relays.ordb.org, but answer is always NXDomain.
>
> Is modyfication of /var/qmail/supervise/qmail-smtpd/run is all what
> should I do? Or, maybe, I miss something?
>
> Thank you


What are the contects of your /etc/tcp.smtp.cdb?

AK

Reply With Quote
  #3 (permalink)  
Old 06-23-2003
Marek Bartnikowski
 
Posts: n/a
Default Re: qmail + rblsmtpd not working

:
: What are the contects of your /etc/tcp.smtp.cdb?
:
: AK


only one line:

127.:allow,RELAYCLIENT=""

not enough ?


--
Marek Bartnikowski * *
System Administrator @ RTK Autocom * EU *
http://www.autocom.pl * *
Reply With Quote
  #4 (permalink)  
Old 06-23-2003
Juergen Kendzorra
 
Posts: n/a
Default Re: qmail + rblsmtpd not working

Marek Bartnikowski:
> -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -r
> relays.ordb.org \


Maybe simple solution: Try "-r sbl.spamhaus.org" - I think the test you
tried only works with this block list.
Juergen
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0