#
# Proftpd sample configuration for dnsbl.
#
<IfModule mod_dnsbl.c>
# Syntax: DNSBLDomain domain
# Default: None

DNSBLDomain sbl.spamhaus.org
DNSBLDomain xbl.spamhaus.org

# Syntax: DNSBLEngine on|off
# Default: None
# usually used inside a <VirtualHost> section to enable DNS blacklist 
# use for a particular virtual host.
DNSBLEngine on
	
# Syntax: DNSBLLog file
# Default: None
DNSBLLog /var/log/proftpd/mod_dnsbl.log
	
# Syntax: DNSBLPolicy "allow,deny"|"deny,allow"
# Default: None
# If DNSBLPolicy is configured using "allow,deny", then the mod_dnsbl module 
# will allow the connection, unless the connecting client is blacklisted 
# by any of the configured DNSBLDomain sites.
# If DNSBLPolicy is configured using "deny,allow", then the mod_dnsbl module 
# will not allow the connection, unless the connecting client is listed by 
# any of the configured DNSBLDomain sites. 
DNSBLPolicy "allow,deny"

</IfModule>
