mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Plugin postfix-rbl-blocked-mails: count by top-level-domain
It looks like the spamhaus domain changed from sbl-xbl.spamhaus.org to zen.spamhaus.org. The same may have happened for other RBL domains. Thus we just filter by the top level domain (instead of the specific sub-domain).
This commit is contained in:
parent
e77b778c91
commit
9e47c112b9
@ -41,8 +41,13 @@ if [ "$1" = "config" ]; then
|
||||
fi
|
||||
|
||||
|
||||
printf 'spamhaus.value %s\n' "$(get_blocked_by_domain_count "sbl-xbl.spamhaus.org")"
|
||||
printf 'spamcop.value %s\n' "$(get_blocked_by_domain_count "bl.spamcop.net")"
|
||||
printf 'manitu.value %s\n' "$(get_blocked_by_domain_count "ix.dnsbl.manitu.net")"
|
||||
printf 'msrbl.value %s\n' "$(get_blocked_by_domain_count "combined.rbl.msrbl.net")"
|
||||
printf 'njabl.value %s\n' "$(get_blocked_by_domain_count "combined.njabl.org")"
|
||||
# sbl-xbl.spamhaus.org or zen.spamhaus.org
|
||||
printf 'spamhaus.value %s\n' "$(get_blocked_by_domain_count "spamhaus.org")"
|
||||
# bl.spamcop.net
|
||||
printf 'spamcop.value %s\n' "$(get_blocked_by_domain_count "spamcop.net")"
|
||||
# ix.dnsbl.manitu.net
|
||||
printf 'manitu.value %s\n' "$(get_blocked_by_domain_count "manitu.net")"
|
||||
# combined.rbl.msrbl.net
|
||||
printf 'msrbl.value %s\n' "$(get_blocked_by_domain_count "msrbl.net")"
|
||||
# combined.njabl.org
|
||||
printf 'njabl.value %s\n' "$(get_blocked_by_domain_count "njabl.org")"
|
||||
|
Loading…
Reference in New Issue
Block a user