Article View: news.software.nntp
Article #89762Re: using nnrpd on cnews spool
From: Russ Allbery
Date: Wed, 23 Nov 2022 23:53
Date: Wed, 23 Nov 2022 23:53
44 lines
2735 bytes
2735 bytes
Julian Bradfield <jcb@inf.ed.ac.uk> writes:
> I read my bazillion mailing lists by feeding them into a private
> (non-root) installation of c-news, which I have kept going for about 30
> years (with occasional pain coping with the changes in Unix over the
> years, but nowadays things don't change much:).
> I've always read this direct from the spool directory, but sshfs is
> very slow, and I'd like nntp access.
> Unfortunately, I failed to save a copy of nntpd along with c-news, and
> now nntpd is no longer to be found anywhere on the web (as far as I
> see).
https://snapshot.debian.org/package/nntp/1.5.12.1-19.1/
> So:
> question 1: Can I use INN's nnrpd directly on a c-news spool, or does
> nnrpd need other files created by INN ?
nnrpd needs a history file and an overview database, and won't be able to
use the ones generated by C News. It will be happy with the article tree,
but you'll need to run makehistory and makeoverview on it.
> question 2: If I decide finally to abandon c-news, should switching my
> system over to INN be a simple drop in replacement of binaries, plus
> suitable configuration? It rather looks that way. (The only way news
> comes in to the system is being being piped into newsspool by procmail
> - I guess that would switch to INN's inew.)
Or possibly rnews. Yeah, you'll need to generate the databases as
mentioned above, but INN's tradspool article format should be compatible
with C News. That said, I suspect that C News probably stored files in
native format rather than wire format, so you'll need to tell INN (with
the wireformat: false setting) to do line ending conversion. Or at least
that's required for writing; I forget if it figures it out on the fly for
reading (it might).
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87v8n5jkhj.fsf@hope.eyrie.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<slrntnt692.1b37n.jcb@high.jcbradfield.org>Show Full Headers
Complete Article Headers
Message-ID: <87v8n5jkhj.fsf@hope.eyrie.org> Subject: Re: using nnrpd on cnews spool Date: Wed, 23 Nov 2022 15:53:44 -0800 From: Russ Allbery <eagle@eyrie.org> References: <slrntnt692.1b37n.jcb@high.jcbradfield.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Mime-Version: 1.0 Content-Type: text/plain Injection-Info: hope.eyrie.org; logging-data="738"; mail-complaints-to="news@eyrie.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:s9Gc+aHKKqGkeXkiMo8oIxUoFuQ=