| 1 |
# |
| 2 |
# Proftpd sample configuration for dnsbl. |
| 3 |
# |
| 4 |
<IfModule mod_dnsbl.c> |
| 5 |
# Syntax: DNSBLDomain domain |
| 6 |
# Default: None |
| 7 |
|
| 8 |
DNSBLDomain sbl.spamhaus.org |
| 9 |
DNSBLDomain xbl.spamhaus.org |
| 10 |
|
| 11 |
# Syntax: DNSBLEngine on|off |
| 12 |
# Default: None |
| 13 |
# usually used inside a <VirtualHost> section to enable DNS blacklist |
| 14 |
# use for a particular virtual host. |
| 15 |
DNSBLEngine on |
| 16 |
|
| 17 |
# Syntax: DNSBLLog file |
| 18 |
# Default: None |
| 19 |
DNSBLLog /var/log/proftpd/mod_dnsbl.log |
| 20 |
|
| 21 |
# Syntax: DNSBLPolicy "allow,deny"|"deny,allow" |
| 22 |
# Default: None |
| 23 |
# If DNSBLPolicy is configured using "allow,deny", then the mod_dnsbl module |
| 24 |
# will allow the connection, unless the connecting client is blacklisted |
| 25 |
# by any of the configured DNSBLDomain sites. |
| 26 |
# If DNSBLPolicy is configured using "deny,allow", then the mod_dnsbl module |
| 27 |
# will not allow the connection, unless the connecting client is listed by |
| 28 |
# any of the configured DNSBLDomain sites. |
| 29 |
DNSBLPolicy "allow,deny" |
| 30 |
|
| 31 |
</IfModule> |