[rbldnsd] How to's
Benedict White
Benedict.White at cse-ltd.co.uk
Mon May 11 15:08:18 MSD 2009
-----Original Message-----
From: rbldnsd-bounces at corpit.ru [mailto:rbldnsd-bounces at corpit.ru] On Behalf Of Skull
Sent: 11 May 2009 11:11
To: Daemon for DNSBLs
Subject: Re: [rbldnsd] How to's
On May 11, 2009, at 11:58 AM, Benedict White wrote:
>> Many thanks for the responses from Michele Neylon and Skull.
>>
>> I may be being a bit daft, so I just wanted to check some things:
>>
>> I have a file called testzonefile.txt with one entry in it, (Just
>> hotbox.tst)
>> in the directory /var/lib/rbldnds
>>
>> I have the executable in /usr/bin/rbldnsd and a directory
>>
>> The server is on a private IP, 192.168.X.X.
>>
>> I want it to respond to requests from spamassassin.
>>
>> What startup switches do I need?
>It's a bit complex to be detailed here...
>
>Briefly, you'll need to point NS servers for your zone to the rbldnsd
>server, then configure your spamassassin in order to query it.
>
>You'd better refer to some of the online documents you can find on
>the web, like
>
>http://www.spamhaus.org/datafeed/faq.lasso
>
>or http://www.surbl.org/datafeed/ (see point n°8 near the end of the
>page).
Just to clarify what I want to do here:
I have a list of websites sent in spams, which I currently have in a set of
Spamassassin rules. These are becoming large, and also because I have several
spamassassin servers I look after, it is a pain to keep the files in sync and then
reload spamassassin only if there are any changes.
So I need to know the following:
What do I put in the files? Is it something like:
www.somedomain.com
www.pillsrus.cn
How do I get rbldnsd to serve the contents of the file?
How do I access it? From what you seem to be saying I need to get the local
spamassassin server to have bind running on it to have access to the rbldnsd?
Can I not just add a rule in spamassassin to access the rbldnsd server directly?
Something like:
urirhssub CSE_SC_SURBL 192.168.0.10. A 2
body CSE_SC_SURBL eval:check_uridnsbl('CSE_SC_SURBL')
describe CSE_SC_SURBL Contains an URL listed in the SC SURBL blocklist
tflags CSE_SC_SURBL net
score 5.0
Where 192.168.0.10 is the IP of the rbldnsd server.
I hope that makes sense..
Kind regards
Benedict White
More information about the rbldnsd
mailing list