4 export NNTPSERVER=nnrp.chiark.greenend.org.uk
5 export NNTPAUTH='md5cookie1way chiark'
17 if [ x%DIVERTPOSTINGS% = x ]; then
19 next unless ($.==1)../^$/;
20 s/^(?:X-Trace|NNTP-Posting-(?:Date|Host)|X-Complaints-To|Injection-Info)/X-$&/;
21 ' $tf | inews -h -Q -R
24 echo "Newsgroups: %DIVERTPOSTINGS%"
25 sed 's/^Newsgroups:/X-Would-Newsgroups:/' $tf) | inews -h
34 %BASEDIR%/xlog/bin/record posted %GROUP% <$tf
39 printf "Errors: %s" "$output"
41 echo ======================
43 ) | mail -s "lost moderated newsgroup submission %ABBREV%" webstump