diff options
author | Jeremy Harris <jgh@wizmail.org> | 2016-12-16 20:45:44 +0000 |
---|---|---|
committer | Jeremy Harris <jgh@wizmail.org> | 2016-12-18 14:02:28 +0000 |
commit | 87cb4a166c47b57df48c2918e47801d77639fbb0 (patch) | |
tree | 315721ad1ecede575e36521fd19a0f64b2ae4a2b /test/runtest | |
parent | 142622b3f385bfcc36eae176763a7225c2e49b3c (diff) |
Fix DKIM information leakage
Diffstat (limited to 'test/runtest')
-rwxr-xr-x | test/runtest | 8 |
1 files changed, 8 insertions, 0 deletions
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; |