chiark
/
gitweb
/
~webstump
/
modbot-uram.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
truncation: adjust limit, and fix handling so we can do that in one place
[modbot-uram.git]
/
inews.INO
diff --git
a/inews.INO
b/inews.INO
index 6acee1afcbc21fc0169b88ac0bd310c1fd9328c6..915dd6eab3043758f5fa883913a3924ee7cbda71 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-$&/;
+
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
@@
-40,4
+40,4
@@
fi
echo
echo ======================
cat $tf
echo
echo ======================
cat $tf
-) | mail -s
'lost moderated newsgroup submission'
webstump
+) | mail -s
"lost moderated newsgroup submission %ABBREV%"
webstump