On Fri, Jun 13, 2003 at 04:42:51PM +0200, Cthulhu wrote: > > Hi! > > I'm trying to use the builtin RBL feature of the Qmail-LDAP patch, > following it the thing I did so far. > > This is how qmail-smtpd is called from Daemon Tools: > > exec /opt/qmail/bin/tcpserver -c 200 -p -b 5 \ > -x /opt/qmail/control/relay.cdb \ > -u 1002 -g 1001 0 smtp \ > /opt/qmail/bin/qmail-smtpd &> /var/log/tcpserver.log > > This is what I put in /opt/qmail/control/relay: > > # LocalHost > 127.:allow,RELAYCLIENT="" > > # Agora' NetBlock > xxx.xxx.xxx.:allow,RELAYCLIENT="",RBL="On" > xxx.xxx.xxx.:allow,RELAYCLIENT="",RBL="On" > [...] > > :allow,RBL="On" > > This is what qmail-showctl report about rbllist: > > rbllist: > RBL to check: relays.osirusoft.com?reject?127.0.0.2?blocked by OSIRUSOFT. > RBL to check: relays.osirusoft.com?reject?127.0.0.7?blocked by OSIRUSOFT. > RBL to check: relays.osirusoft.com?reject?127.0.0.9?blocked by OSIRUSOFT. > RBL to check: relays.ordb.org?reject?any?blocked by ORDB. > > That should be enought, but I don't see any "blocked" message in > mail.log nor in tcpserver.log. > > How can I test if it is working right? >
Setting the LOGLEVEL to 2 should result in messages like: @400000003ee9e5341f0d748c qmail-smtpd 8842: RBL check with 'sbl.spamhaus.org': no match found, continue. and so on. -- :wq Claudio
