🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #91450

Re: tradspool and crosspost expiry

#91450
From: Jesse Rehmer
Date: Wed, 17 Jan 2024 06:19
59 lines
3830 bytes
On Jan 16, 2024 at 11:10:16 PM CST, "John Goerzen" <jgoerzen@complete.org>
wrote:

> On 2024-01-17, Russ Allbery <eagle@eyrie.org> wrote:
>> John Goerzen <jgoerzen@complete.org> writes:
>> 
>>> In reading some more docs, I have a clue, but it is not an answer.
>> 
>>> It doesn't state which is the default.
>> 
>> I believe the default is neither of those: the overview information is
>> removed as the article expires from each group, but the article itself is
>> retained until it has expired from all groups.
> 
> Hi Russ, and thanks for the reply!
> 
> I am a little fuzzy on the relationship between the triple of (overview,
> history, article storage on disk).
> 
> It sounds like you're saying:
> 
> - The overview information is per-group (which is pretty much has to be, given
>   what overview is for).  So expireover could remove the article from overview
>   for a group per expire.ctl without removing the hardlink to it from that
>   group, or the history entry.
> 
> - Then after it is expired from all groups (I guess by checking the Xref
>   header?) it is finally removed from the history and on-disk as well.
> 
> Did I get that right?  I think this could explain the behavior I was seeing, of
> ovdb and active not showing all the old articles, but them still being on disk
> and (mostly?) in history.
> 
> In that case, the only "penalty" I am paying here is the cost of the directory
> entry, since the inode and data is already spoken for with the other
> crossposts.
> 
> So, expireover -k would modify that by not even removing it from overview
> either, until all references are removed.
> 
> And -e would change it to remove from everywhere as soon as even one of the
> Xrefs expire it.

If you want to keep tradspool, you may want to add the 'X' flag to the
expire.ctl entry for alt.atheism, and any other similar group that you wish to
expire crossposted articles. That will expire articles posted to that group
that are also crossposted to other groups. Using the '-e' flag with expireover
may result in behavior you do not expect if you have many entries in
expire.ctl.

"An expiration policy is applied to every article in a newsgroup it
matches.  There is no way to set an expiration policy for articles
crossposted to groups you don't carry that's different than other
articles in the same group.  Normally, articles are not completely
deleted until they expire out of every group to which they were posted,
but if an article is expired following a rule where <flag> contains
"X", it is deleted out of all newsgroups to which it was posted
immediately.  (If that behaviour is wanted for all rules, you may want
to give the -e flag to expireoverview.)"
Technical Details
Message-ID: <uo7rh9$2v8s$1@nnrp.usenet.blueworldhosting.com>
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
References: <slrnuqdfcq.9bhe.jgoerzen@slrnh.complete.org> <slrnuqebiq.borl.jgoerzen@slrnh.complete.org> <8734uw4qs3.fsf@hope.eyrie.org> <slrnuqeo9o.borl.jgoerzen@slrnh.complete.org>

Show Full Headers
Complete Article Headers
Message-ID: <uo7rh9$2v8s$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: tradspool and crosspost expiry
Date: Wed, 17 Jan 2024 06:19:21 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <slrnuqdfcq.9bhe.jgoerzen@slrnh.complete.org> <slrnuqebiq.borl.jgoerzen@slrnh.complete.org> <8734uw4qs3.fsf@hope.eyrie.org> <slrnuqeo9o.borl.jgoerzen@slrnh.complete.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: BWH Usenet Archive (https://usenet.blueworldhosting.com)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Jan 2024 06:19:21 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:gLdvIh0RLjRuDAYaOiGtDg/p1K0= sha256:RKY+MmTli/SUpHiOBVGaKyuOM6z9Fs9kZaJ3X3AUMwY=
X-Usenapp: v1.27.2/d - Full License