Hello,

I've been trying to get the RBL tagging feature of qmail-ldap working
with version 19 of the qmail-ldap patch
(qmail-ldap-1.03-20011001a.patch) but without success.

Bouncing of the message works fine with the same setup.

Firstly i had to change line 651 of qmail-smtpd.c  as there was an
argument passing mismatch.

from
rblheader(qqt,remoteip,rblmessage.s);

to
rblheader(&qqt,remoteip,rblmessage.s);

but after that it still core dumps:

#0  0x0 in ?? ()
#1  0x804d29d in allwrite (op=0, fd=0, buf=0x804f557 "X-RBL-Check: ",
len=13)
    at substdo.c:15
#2  0x804d3be in substdio_put (s=0x8052db0, buf=0x804f557 "X-RBL-Check:
",
    len=13) at substdo.c:69
#3  0x804d47a in substdio_puts (s=0x8052db0, buf=0x804f557 "X-RBL-Check:
")
    at substdo.c:100
#4  0x804c242 in qmail_puts (qq=0x8052da0, s=0x804f557 "X-RBL-Check: ")
    at qmail.c:60
#5  0x804be90 in rblheader (qqt=0x8052da0, remoteip=0xbfbffe72
"127.0.0.2",
    rbl=0x8051340 "relays.osirusoft.com") at received.c:92
#6  0x804a1fb in smtp_mail (arg=0x80514b5 "from: Me <[EMAIL PROTECTED]>")
    at qmail-smtpd.c:651
#7  0x804b001 in commands (ss=0x8050c9c, c=0x8050cb8) at commands.c:37
#8  0x804ad58 in main () at qmail-smtpd.c:1138
#9  0x8048a5d in _start ()

I'm using the following files/settings:

tcp.smtp
127.:allow,RBL="1",RBLONLYHEADER="1"
:deny

rbllist
relays.osirusoft.com

I get the following output from tcpserver/qmail-smtpd:

2002-03-18 17:49:26.511544500 tcpserver: status: 1/50
2002-03-18 17:49:26.512229500 tcpserver: pid 23308 from 127.0.0.2
2002-03-18 17:49:26.514341500 tcpserver: ok 23308 0:127.0.0.2:25
:127.0.0.2::1096
2002-03-18 17:49:26.514352500 qmail-smtpd 23308: Log RBL match only in
header, do not reject message
2002-03-18 17:49:26.514359500 qmail-smtpd 23308: connection from
127.0.0.2 ( unknown ) to 0
2002-03-18 17:49:29.140525500 qmail-smtpd 23308: remote helo = me.com
2002-03-18 17:49:31.510819500 qmail-smtpd 23308: remote sent 'mail from'
= from: Me <[EMAIL PROTECTED]>
2002-03-18 17:49:31.511562500 qmail-smtpd 23308: mail from = [EMAIL PROTECTED]
2002-03-18 17:49:31.511571500 qmail-smtpd 23308: RBL checking enabled,
going through list of RBLs
2002-03-18 17:49:36.541137500 qmail-smtpd 23308: RBL check with '
relays.osirusoft.com ': found match, sender is blocked
2002-03-18 17:54:42.900252500 tcpserver: end 23308 status 11
2002-03-18 17:54:42.901083500 tcpserver: status: 0/50

Does anyone know if this is a setup or "not fully implemented
yet" problem.

Thanks in advance,
Andy.

--
[EMAIL PROTECTED]
The Roman Rule
    The one who says it cannot be done should never interrupt the
    one who is doing it.



Reply via email to