Web Hosting Talk







View Full Version : RBLList for qmail-ldap server


search4u2003
05-20-2004, 06:11 AM
I am trying to setup up rbllist to block Real Time DNS Domains on qmail-ldap server

I have created a file called rbllist in /var/qmail/control/. In rbllist I have put the following lines:-

sbl.spamhaus.org reject any Spamhaus -
relays.ordb.org reject 127.0.0.2 ORDB -
list.dsbl.org reject 127.0.0.2 DSBL -
bl.spamcop.net reject 127.0.0.2 Spamcop -
relays.ordb.org reject any ORDB -
spamguard.leadmon.net reject 127.0.0.2 Dialup - Address is a dialup address

After this I went to /etc/tcp.smtp and add this line
:-

127.:allow,RELAYCLIENT=""
10.0.0.:allow,RELAYCLIENT=""
192.168.3.:allow,RELAYCLIENT=""
:allow,RBL=""

and then ran a command tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp to convert this in to cdb format.

After doing this when I check /etc/tcp/smtp it does not show me any thing. But mails are working as norma. But it is not blocking the Black Listed Domains.

Can you tell me what needs to be done to make it work.

Naes
05-20-2004, 05:12 PM
www.lifewithqmail.org