🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92726

Re: High and low water marks vs active file

#92726
From: Russ Allbery
Date: Sat, 02 May 2026 16:04
112 lines
6821 bytes
InterLinked <nntp@phreaknet.org> writes:
> On 5/1/2026 10:44 PM, Russ Allbery wrote:

>> For a news server that requires mininmum maintenance and can mostly
>> just be ignored, I would recommend CNFS. That's what I use personally.
>> You lose some control and visibility and it's a bad choice if you never
>> want articles to expire, but it has the huge advantage that you'll
>> never run out of disk space (the worst thing that happens is that
>> things expire a bit faster), there's no expensive expire process, and
>> it's really fast and light on resources.

> Interesting... CNFS has always seemed a bit "weird" to me - I see how it
> excels at certain properties, but not sure if I'm interested in
> supporting it myself. My plan is really to run two news servers myself,
> one in the "cloud", with expiration varying by group, and open to
> authenticated users, and one at home, for groups of interest, where
> articles never expire (which would function as an archive, but also be
> used by my local newsreader).

Yeah, and if you never want articles to expire, CNFS is a bad choice. It's
ideal for transit-only servers, which used to be a thing and probably
aren't as much any more because there's no point these days in having so
large a server farm that you need to separate transit and reading servers
unless you're one of the few sites still trying to have a go at a
commercial Usenet service. I like it for small reading servers where you
don't care about keeping things around forever and don't have any
particular preferences on expiration other than "don't run out of disk
space."

> CNFS seems to work well if you have a set size you want to dedicate per
> group, but not as efficient for small/empty groups, or if you want to
> expire by article count or age - maybe I'm missing something here
> though.

> I assume because the articles for a group are just in one big file,
> articles also have to be duplicated to multiple of these blogs when
> cross-posted?

CNFS doesn't use one file per group. Well, it *can*, you can configure it
all sorts of different ways, but the configuration that I use is one
logical file for the whole server. (It's actually divided into several
files, but for no good reason.) All the articles go into the same file,
and when it rolls over the earliest articles start getting overwritten by
order of arrival.

So yes, it's complicated for fine-grained expiration control: You have to
move the articles you want to have a different expiration for into their
own CNFS files or into another storage backend like tradspool. When I was
running a larger news server for more people, I had most groups in CNFS
and local groups that we kept forever in tradspool.

>> It's rather irrelevant these days, although it does let the client mail
>> a submission to a moderated group directly, which in theory would
>> actually be better in these days of spam filtering, DMARC, and similar
>> problems with the email relay system. Not that any clients do this. :)

> In what sense is it irrelevant?

In the sense that all the news servers send the message to the moderator
directly and clients never use that file, and also in the sense that we're
doing a much better job these days of getting all the moderator addresses
into moderators.isc.org, so there's less need to have other rules than the
default.

My memory on this is very vague, but I could have sworn that there were
some news readers that used this file to send mail to the moderator
directly some thirty years or more ago. It certainly used to be the case
that there were different moderator forwarding rules for different
hierarchies and moderators.uu.net (as it was back then) was only usable
for Big Eight groups.

It's still useful on the server side if you have local moderated groups.
But providing it to the client is basically pointless now.

> I hear people say moderated groups are dead, but I still subscribe to
> one moderated group, comp.dcom.telecom, though I thought the news server
> forwarded it to the moderator, not the client directly. Is the server
> not using the LIST MODERATORS data internally to send to moderator?

No, it is, it's just that because it's handling that, there's no real
reason for the client to care.

I still moderate several groups and at least one of them has active
traffic, so moderated groups as a concept are not dead.

> Admittedly I need to learn more about how moderation works - I don't
> think I've seen it discussed much in any RFCs since it's implementation
> rather than protocol related. But I would imagine when a new group
> control message gets shared, it would have to contain moderation info,
> and dynamically update the moderator info at that point.

No, all the forwarding these days is handled by moderators.isc.org, and
there's no place in a control message to document that.

Moderation is a horrible cludge. You will probably be appalled. :) It's a
design from another era, and we never completed the work we were hoping to
do to try to make it less of a cludge, so it's very much something out of
an earlier era of the Internet when spam didn't exist.

RFC 5537 is the place to go for all the details on that side of how
netnews works. There is indeed a protocol; it's just not part of NNTP. I
try to collect all the relevant RFCs on a couple of web pages; you may
find them useful:

    https://www.eyrie.org/~eagle/usefor/
    https://www.eyrie.org/~eagle/nntp/

-- 
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: <87v7d5ol0p.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
References: <10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org> <10t12o5$14bjd$1@dont-email.me> <87se8bxc5x.fsf@hope.eyrie.org> <10t32uf$1mio9$1@dont-email.me> <87zf2ix26q.fsf@hope.eyrie.org> <10t3gha$1qe2v$1@dont-email.me> <87340ay1gl.fsf@hope.eyrie.org> <10t5137$27f47$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
From: Russ Allbery <eagle@eyrie.org>
Newsgroups: news.software.nntp
Subject: Re: High and low water marks vs active file
Date: Sat, 02 May 2026 09:04:38 -0700
Organization: The Eyrie
Message-ID: <87v7d5ol0p.fsf@hope.eyrie.org>
References: <10t0m5h$1177o$1@dont-email.me> <877bpo570b.fsf@hope.eyrie.org>
	<10t12o5$14bjd$1@dont-email.me> <87se8bxc5x.fsf@hope.eyrie.org>
	<10t32uf$1mio9$1@dont-email.me> <87zf2ix26q.fsf@hope.eyrie.org>
	<10t3gha$1qe2v$1@dont-email.me> <87340ay1gl.fsf@hope.eyrie.org>
	<10t5137$27f47$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org;
	logging-data="31843"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:XIcULMk3Pw2yrEx4JtBpnt+6qKI=