Path: utzoo!utgpu!water!watmath!clyde!att!ucbvax!hplabs!oracle!hqsun1!jdiaz From: jdiaz@hqsun1.oracle.UUCP (Jean Diaz) Newsgroups: news.sysadmin Subject: Re: Unjunking? Message-ID: <179@turbo.oracle.UUCP> Date: 13 Jul 88 04:47:42 GMT References: <2293@rtech.rtech.com> <3707@rpp386.UUCP> <1861@stpstn.UUCP> Sender: news@oracle.UUCP Reply-To: jdiaz@oracle.UUCP (Jean Diaz) Organization: ORACLE Corporation Lines: 39 In article <1861@stpstn.UUCP> aad@stpstn.UUCP (Anthony A. Datri) writes: > >Okay, but how do I resubmit junk articles? Here it is, courtesy of the only person who answered this question when I had it six months ago.... (edited somewhat to reflect what I've learned since then ). AMBAR >I have had to "rescue" articles from junk occasionally... here is what I >do. > >1) Copy contents of junk directory to (say) /usr/spool/news/repost > >2) Run /usr/lib/news/expire -n junk -I -e 0 -E 0 [-v if you want to see > what is going on...] > > This removes all trace of the articles from the news history and allows > you to repost them (otherwise you get "duplicate article errors). Make > sure you get the "-n junk" right or you will expire all the news on your > machine. > >3) Now, remove your site name from the Path: line of each article. > I do this on our bsd system with > > apply "sed -f script < %1 | rnews" [0-9]* > > where "script" contains the line "/^Path:/s/myhost!//" > > [I tried passing the sed command as a command line arg to sed but > couldn't get the quoting (particularly of the !) right] > >Duncan > >UUCP : "...seismo!mnetor!utcs!utai!calgary!vuwcomp!duncan" >"You can always tell when politicians lie... their lips move!" - Max Headroom AMBAR