From f38115ee67fc01e3fdef105bc02b582880c87a70 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 29 Mar 2021 06:08:30 +0200 Subject: courier: ignore redundant transform-line --- courier | 2 ++ 1 file changed, 2 insertions(+) diff --git a/courier b/courier index 80e48bb..993fd5c 100644 --- a/courier +++ b/courier @@ -595,6 +595,8 @@ while (defined($ThisLine = )) { $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 ( -- cgit v1.2.3-54-g00ecf