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?a=commitdiff_plain;h=9e78ee976de4b363f48ad1c1042cfddd991b96f5;p=modbot-ulm.git 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 7ad6563..8a18853 100755 --- a/stump/bin/submission.pl +++ b/stump/bin/submission.pl @@ -276,6 +276,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; }