-
Notifications
You must be signed in to change notification settings - Fork 0
/
76-dns-blacklists
20 lines (18 loc) · 966 Bytes
/
76-dns-blacklists
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Other lists
# ==============
# Spamcop doesn't deal with ipv6 addresses
deny domains = +vhost_domains
condition = ${if and{ \
{isip4{$sender_host_address}} \
{exists{VHOST_DIR/$domain/VHOST_CONFIG_DIR/blacklists/bl.spamcop.net}} \
}}
dnslists = bl.spamcop.net=127.0.0.2
message = $sender_host_address is blacklisted at $dnslist_domain.\n\
Please see $dnslist_text
log_message = IP blacklisted at $dnslist_domain.
deny domains = +vhost_domains
condition = ${if exists{VHOST_DIR/$domain/VHOST_CONFIG_DIR/blacklists/b.barracudacentral.org}}
dnslists = b.barracudacentral.org=127.0.0.2
message = $sender_host_address is blacklisted at $dnslist_domain.\n\
Please see $dnslist_text
log_message = IP blacklisted at $dnslist_domain.