Article View: news.software.nntp
Article #53747Re: Newbie question - migrating C-news spool to INN
From: Russ Allbery
Date: Mon, 13 Aug 2001 21:20
Date: Mon, 13 Aug 2001 21:20
50 lines
3223 bytes
3223 bytes
G Hardman <gph@comp.leeds.ac.uk> writes:
> I've been responsible for installing INN on a test server (done), then
> configuring it (nearly there), and then copying the existing spool
> across from our current server running C-news (tradspool, tradindexed,
> carrying local newsgroups only).
> My plan of attack :
> 1) tar up the existing spool, copy it to the new server, along with
> history, newsgroups and active.
No, you don't want to take this approach.
Instead, grab the active file from the C News server, but replace all the
numbers with 0000000000 0000000001. Use that as your active file. Bring
the system up with xrefslave set to true.
Then, edit all of the files from your old spool to add an Xref header if
they don't already have one (I don't know if C News ever added one). The
first word in the Xref line doesn't matter; the second and all subsequent
words needs to be the newsgroup name, colon, article number. Did C News
create Xref for crossposted articles? If not, that gets a bit complicated
to handle for crossposts. I have a script floating around to do this if
you want it.
Now, use find to create a list of all those files, dump it into a file,
and then point innxmit at your new server and that list of files.
That's by far the best way to get all the overview and everything created
properly. makehistory still has odd problems that we haven't tracked down
yet.
> My problem is that most of the articles are hidden when I try to view
> them in my newsreader (slrn/tin). They're definitely there, as the
> reader prompts me for how many I want to view, and it gives the correct
> number of articles. Only a small percentage of them make it to the
> reader, though, and the only thing I can find in common is that they
> were all crossposted on the existing server. The overview entries do
> indeed appear to contain only those articles which appear in the reader.
Sounds like C News only creates Xref headers for crossposted messages.
INN's makehistory expects Xref headers in every message.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylpu9zu05o.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<slrn9ng152.mgs.gph@cslin-gps.comp>Show Full Headers
Complete Article Headers
Message-ID: <ylpu9zu05o.fsf@windlord.stanford.edu> Subject: Re: Newbie question - migrating C-news spool to INN Date: Mon, 13 Aug 2001 21:20:51 +0000 From: Russ Allbery <rra@stanford.edu> References: <slrn9ng152.mgs.gph@cslin-gps.comp> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 49 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 997737652 24588 171.64.13.23 (13 Aug 2001 21:20:52 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)