summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-29 06:08:30 +0200
committerErich Eckner <git@eckner.net>2021-03-29 06:08:30 +0200
commitf38115ee67fc01e3fdef105bc02b582880c87a70 (patch)
tree74d87d2bfa637a334cc3cc86ac78f6aacac70a42
parent508d63cb774f0e0685c7bdecfb90a44d593e66f0 (diff)
downloadlogwatch-overrides-f38115ee67fc01e3fdef105bc02b582880c87a70.tar.xz
courier: ignore redundant transform-line
-rw-r--r--courier2
1 files changed, 2 insertions, 0 deletions
diff --git a/courier b/courier
index 80e48bb..993fd5c 100644
--- a/courier
+++ b/courier
@@ -595,6 +595,8 @@ while (defined($ThisLine = <STDIN>)) {
$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 ( ($ThisLine =~ /^zdkimfilter\[[0-9]+\]:(id=\S+: )?transformation enabled for "[^"]+(" retry (header and body|(header|body) only))$/) ) {
+ # this is accompanied by another line
} 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 (