From: Ian Jackson Date: Mon, 27 Aug 2018 11:26:15 +0000 (+0100) Subject: strip out some system headers, caused trouble during my testing X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~webstump/git?p=modbot-ulm.git;a=commitdiff_plain;h=1b14f264cc8896b57265ad843d275f762943c5c5 strip out some system headers, caused trouble during my testing Signed-off-by: Ian Jackson --- 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; }