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
echo
echo ======================
cat $tf
-) | mail -s 'lost moderated newsgroup submission' webstump
+) | mail -s "lost moderated newsgroup submission %ABBREV%" webstump