From 87cb4a166c47b57df48c2918e47801d77639fbb0 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 16 Dec 2016 20:45:44 +0000 Subject: Fix DKIM information leakage --- test/runtest | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/runtest') diff --git a/test/runtest b/test/runtest index c656cc50b..6b5a3e9d9 100755 --- a/test/runtest +++ b/test/runtest @@ -358,6 +358,7 @@ open(IN, "$file") || tests_exit(-1, "Failed to open $file: $!"); my($is_log) = $file =~ /log/; my($is_stdout) = $file =~ /stdout/; my($is_stderr) = $file =~ /stderr/; +my($is_mail) = $file =~ /mail/; # Date pattern @@ -1140,6 +1141,13 @@ RESET_AFTER_EXTRA_LINE_READ: next if / Berkeley DB error: /; } + elsif ($is_mail) + { + # Experimental_DSN info in bounces + next if /^Remote-MTA: /; + next if /^X-Exim-Diagnostic: /; + } + # ======== All files other than stderr ======== print MUNGED; -- cgit v1.2.3