From 1b14f264cc8896b57265ad843d275f762943c5c5 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 27 Aug 2018 12:26:15 +0100 Subject: [PATCH] strip out some system headers, caused trouble during my testing Signed-off-by: Ian Jackson --- stump/bin/submission.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stump/bin/submission.pl b/stump/bin/submission.pl index b1a7df4..fdd5acc 100755 --- a/stump/bin/submission.pl +++ b/stump/bin/submission.pl @@ -282,6 +282,9 @@ sub ignoreHeader { return 1 if( $header =~ /^Sender:/i ); return 1 if( $header =~ /^In-Reply-To:/i ); return 1 if( $header =~ /^Originator:/i ); + return 1 if( $header =~ /^X-Trace:/i ); + return 1 if( $header =~ /^X-Complaints-To:/i ); + return 1 if( $header =~ /^NNTP-Posting-Date:/i ); return 0; } -- 2.30.2