summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-29 06:05:12 +0200
committerErich Eckner <git@eckner.net>2021-03-29 06:05:12 +0200
commit508d63cb774f0e0685c7bdecfb90a44d593e66f0 (patch)
tree53054b692e488f3579629551a804dda09f372a39
parent300c1435c9ecb996b42f65f4d77dd34d10b4289e (diff)
downloadlogwatch-overrides-508d63cb774f0e0685c7bdecfb90a44d593e66f0.tar.xz
courier: fetch "recovered by transformation"
-rw-r--r--courier2
1 files changed, 2 insertions, 0 deletions
diff --git a/courier b/courier
index 237a683..80e48bb 100644
--- a/courier
+++ b/courier
@@ -593,6 +593,8 @@ while (defined($ThisLine = <STDIN>)) {
$zdkimResults{$domain}{substr $result, 2}++;
} elsif ( (my $domain, my $result) = ($ThisLine =~ /^zdkimfilter\[[0-9]+\]:id=\S+: (\S+) (pass only because \S+)$/ ) ) {
$zdkimResults{$domain}{$result}++;
+ } elsif ( (my $domain, my $result) = ($ThisLine =~ /^zdkimfilter\[[0-9]+\]:id=\S+: signature by (\S+), s=\S+ (recovered by transformation)$/ ) ) {
+ $zdkimResults{$domain}{$result}++;
} elsif ( (undef, my $zdkimError) = ($ThisLine =~ /^zdkimfilter\[[0-9]+\]:(id=\S+: )?(Cannot sign message: no authenticated sender, empty or disabled RELAYCLIENT, and no default_domain|transformation enabled for "[^"]+(" retry (header and body|(header|body) only))?|Original header without colon: (Can't use Bind DLZ through LDAPS SSL|underscore in A or PTR records|BIND DLZ - ldap_init and LDAP_PORT function argument values)|renaming unparseable Authentication-Results|temporary verification failure: '[^']+' query failed)$/ ) ) {
$zdkimErrors{$zdkimError}++;
} elsif (