OT: Rbldnsd and Spamhaus setup

Julian Field MailScanner at ecs.soton.ac.uk
Tue Sep 18 19:08:56 IST 2007



Julian Field wrote:
> It's dead easy to set it up so they use the real domain names instead 
> of your "dnsbl" zone, so you can leave all the SpamAssassin 
> configuration alone. All you need is this:
>
> I start rbldnsd like this:
>
> XBL="xbl.spamhaus.org:ip4tset:xbl"
> PBL="pbl.spamhaus.org:ip4trie:pbl"
> SBL="sbl.spamhaus.org:ip4set:sbl"
> ZEN="zen.spamhaus.org:ip4set:sbl zen.spamhaus.org:ip4trie:pbl 
> zen.spamhaus.org:ip4tset:xbl"
> WORKDIR="/var/lib/rbldns"
> BIND="127.0.0.6/53"
> /usr/local/sbin/rbldnsd -s /var/adm/rbldnsd.log -w $WORKDIR -b $BIND 
> -4 -f $XBL $PBL $SBL $ZEN
>
> /var/lib/rbldns has ownership and permissions "drwxr-xr-x root other".
>
> In my named.conf for BIND I have this:
> zone "sbl.spamhaus.org" {
>        type forward;
>        forward only;
>        forwarders { 127.0.0.6 port 53; };
> };
> zone "pbl.spamhaus.org" {
>        type forward;
>        forward only;
>        forwarders { 127.0.0.6 port 53; };
> };             zone "xbl.spamhaus.org" {
>        type forward;
>        forward only;
>        forwarders { 127.0.0.6 port 53; };
> };             zone "zen.spamhaus.org" {
>        type forward;
>        forward only;
>        forwarders { 127.0.0.6 port 53; };
> };
Sorry, the zones should obviously start on a new line (it got screwed up 
by my mail client).

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list