chiark
/
gitweb
/
~webstump
/
modbot-urcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd2d3b6
)
strip out some system headers, caused trouble during my testing
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 27 Aug 2018 11:26:15 +0000
(12:26 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 27 Aug 2018 11:26:42 +0000
(12:26 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
stump/bin/submission.pl
patch
|
blob
|
history
diff --git
a/stump/bin/submission.pl
b/stump/bin/submission.pl
index b1a7df4d8aee5bbadbedb8f65a91add7f91b5173..fdd5acc2ec4c088acba73cdfb770a2cd4569426f 100755
(executable)
--- 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;
}