filter out spamhaus 127.255.255.0/24 error codes
This commit is contained in:
parent
d9427b677e
commit
2bf4ce46c1
|
@ -561,7 +561,7 @@ acl_rcpt_to:
|
|||
# check DNSBL(s) and if found add header for filtering to Junk
|
||||
accept
|
||||
!condition = ${if eq {$header_X-Whitelist-Flag:}{YES}}
|
||||
dnslists = zen.spamhaus.org
|
||||
dnslists = zen.spamhaus.org!&127.255.255.0
|
||||
logwrite = Warning: $sender_host_address is listed in DNSBL $dnslist_domain ${if def:dnslist_text {($dnslist_text)}}
|
||||
add_header = :at_start_rfc:X-DNS-Blacklist: $sender_host_address is listed in $dnslist_domain ${if def:dnslist_text {($dnslist_text)}}
|
||||
set acl_m_junk = yes
|
||||
|
|
|
@ -597,7 +597,7 @@ acl_rcpt_to:
|
|||
# check DNSBL(s) and if found add header for filtering to Junk
|
||||
accept
|
||||
!condition = ${if eq {$header_X-Whitelist-Flag:}{YES}}
|
||||
dnslists = zen.spamhaus.org
|
||||
dnslists = zen.spamhaus.org!&127.255.255.0
|
||||
logwrite = Warning: $sender_host_address is listed in DNSBL $dnslist_domain ${if def:dnslist_text {($dnslist_text)}}
|
||||
add_header = :at_start_rfc:X-DNS-Blacklist: $sender_host_address is listed in $dnslist_domain ${if def:dnslist_text {($dnslist_text)}}
|
||||
set acl_m_junk = yes
|
||||
|
|
Loading…
Reference in New Issue
Block a user