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=849aff2b2f9b5cc2573a8c2bbb349e80b387caec;p=modbot-uram.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; }