Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7c4dc11e3bfd8ede253252e848cd7752 > files > 4

apache-mod_smtpd_rbl-0-1.r239351.8mdv2010.0.i586.rpm

mod_smtpd_rbl brings "RBL" (DNSBL/RHSBL) support to mod_smtpd
-> requires mod_smtpd
-> requires mod_dnsbl_lookup

The only directives introduced by mod_smtpd_rbl are
SmtpWhitelist - Set SMTP whitelist chain name
SmtpBlacklist - Set SMTP blacklist chain name

The main configuration is handled by mod_dnsbl_lookup, see its README for 
a complete description of how to configure multiple chains for DNSBL and 
RHSBL lookups. Once mod_smtpd_rbl knows which chain to use as a whitelist 
and which to use as a blacklist, it will invoke mod_dnsbl_lookup's 
facilities and return information to mod_smtpd via hooks in order to allow 
or deny mail.

Sample configuration for mod_smtpd + mod_smtpd_rbl + mod_dnsbl_lookup

# Enable mod_smtpd
SmtpProtocol On

# Define whitelist and blacklist chains for mod_smtpd_rbl
SmtpWhitelist mywhitelist
SmtpBlacklist myblacklist

# Enable mod_dnsbl_lookup
DnsblLookups On

# The zones and chains for mod_dnsbl_lookup

RhsblZone myblacklist	rhsbl.ahbl.org.		127.0.0.2
RhsblZone myblacklist	abuse.rfc-ignorant.org.	127.0.0.4

DnsblZone myblacklist	sbl.spamhaus.org.	any
DnsblZone myblacklist	cbl.abuseat.org.	any