[CentOS] QMAIL - RBLSMTP - HOW to WHITELIST

Tue Nov 21 01:20:17 UTC 2006
Adriano Frare <alfrare at e-alinux.com>

Dear Friend,

I done configuration using RBLSMTPD with WHITELIST, but I don't know it 
is correct.

Please check files below are corrects.

Thanks

Adriano

=== FILE WHITELIST.DOMINIO.RBL. ====
$ttl 900
whitelist.dominio.rbl. IN SOA host1.xxxxxx.com. root.xxxxx.com. (
2006112002 ; serial;
3600 ; refresh period (1 hora);
900 ; retry time (15 minutos);
1800 ; expire tiem (30 minutos);
900 ; default_ttl (15 minutos);
)
whitelist.dominio.rbl. IN NS host1.xxxxx.com.
whitelist.dominio.rbl. IN A 127.0.0.1

; Lista de IPs para a WHITELIST
;
; Insira o IP 200.190.80.1 da seguinte forma
1.80.190.200.whitelist.dominio.rbl IN A 127.0.0.2

================================================== ===================



============= FILE NAMED.CONF ===========================
zone "whitelist.dominio.rbl" {
type master;
file "whitelist.dominio.rbl.hosts";
allow-update {none;};
allow-query {any;};
allow-transfer {any;};
};

================================================== ==========



==== FILE qmail-smtp/RUN ================================

..........
/usr/local/bin/rblsmtpd -t 5 -b -C -r bl.spamcop.net \
-r sbl.spamhaus.org -r relays.ordb.org -r dnsbl.antispam.or.id \
-r rhsbl.ahbl.org -r opm.blitzed.org \
-r cn-kr.blackholes.us -r japan.blackholes.us \
-r taiwan.blackholes.us -r thailand.blackholes.us \
-r nigeria.blackholes.us -r argentina.blackholes.us \
-r bl.spamcop.net -r smtp.dbl.sorbs.net \
-r web.dnsdl.sorbs.net -r spam.dnsbl.sorbs.net \
-r zombie.dnsbl.sorbs.net -r dul.dnsbl.sorbs.net \
-a whitelist.dominio.rbl \
/var/qmail/bin/qmail-smtpd srv001.xxxxxxx.com \
/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
================================================== ============