From 9e47c112b97ca6129f5510084d71e980ad7f642e Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Fri, 3 Aug 2018 13:05:40 +0200 Subject: [PATCH] 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). --- plugins/postfix/postfix-rbl-blocked-mails | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/plugins/postfix/postfix-rbl-blocked-mails b/plugins/postfix/postfix-rbl-blocked-mails index d9e595d6..beb78b4e 100755 --- a/plugins/postfix/postfix-rbl-blocked-mails +++ b/plugins/postfix/postfix-rbl-blocked-mails @@ -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")"