chiark
/
gitweb
/
~webstump
/
modbot-mtm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow suppressing publication of posted messages according to rejection reason
[modbot-mtm.git]
/
inews.INO
diff --git
a/inews.INO
b/inews.INO
index 3f74debdfe3be09318190fc7c0b0c9e721a1d2f1..df077110acdbaac787d2560624ce9b3778075e1e 100755
(executable)
--- a/
inews.INO
+++ b/
inews.INO
@@
-17,7
+17,7
@@
output=`
if [ x%DIVERTPOSTINGS% = x ]; then
perl -pe '
next unless ($.==1)../^$/;
if [ x%DIVERTPOSTINGS% = x ]; then
perl -pe '
next unless ($.==1)../^$/;
- s/^(?:X-Trace|NNTP-Posting-(?:Date|Host)|X-Complaints-To)/X-$&/;
+ s/^(?:X-Trace|NNTP-Posting-(?:Date|Host)|X-Complaints-To
|Injection-Info
)/X-$&/;
' $tf | inews -h -Q -R
else
(set -e
' $tf | inews -h -Q -R
else
(set -e