Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

(null cookie; hope that's ok)


computers / news.software.nntp / Re: Question about INN expire

SubjectAuthor
* Question about INN expireJesse Rehmer
`* Re: Question about INN expireJesse Rehmer
 `* Re: Question about INN expireJesse Rehmer
  `* Re: Question about INN expireJesse Rehmer
   `* Re: Question about INN expireJulien ÉLIE
    `* Re: Question about INN expireJesse Rehmer
     `* Re: Question about INN expireJulien ÉLIE
      `* Re: Question about INN expireJesse Rehmer
       +* Re: Question about INN expireJulien ÉLIE
       |`* Re: Question about INN expireJesse Rehmer
       | +* Re: Question about INN expireJesse Rehmer
       | |`- Re: Question about INN expireJulien ÉLIE
       | `- Re: Question about INN expireJulien ÉLIE
       `* Re: Question about INN expireJulien ÉLIE
        +- Re: Question about INN expireJulien ÉLIE
        `* Re: Question about INN expireJesse Rehmer
         `* Re: Question about INN expireJulien ÉLIE
          +* Re: Question about INN expireJesse Rehmer
          |`* Re: Question about INN expireJesse Rehmer
          | `- Re: Question about INN expireJesse Rehmer
          `* Re: Question about INN expireJesse Rehmer
           `* Re: Question about INN expireJulien ÉLIE
            `* Re: Question about INN expireJesse Rehmer
             `* Re: Question about INN expireRuss Allbery
              +* Re: Question about INN expireJulien ÉLIE
              |+* Re: Question about INN expireJesse Rehmer
              ||`- Re: Question about INN expireJulien ÉLIE
              |`* Re: Question about INN expireRuss Allbery
              | +- Re: Question about INN expireJesse Rehmer
              | `* Re: Question about INN expireJulien ÉLIE
              |  +* Re: Question about INN expireJesse Rehmer
              |  |`* Re: Question about INN expireJulien ÉLIE
              |  | `* Re: Question about INN expireRuss Allbery
              |  |  `- Re: Question about INN expireJesse Rehmer
              |  `- Re: Question about INN expireRuss Allbery
              `- Re: Question about INN expireJulien ÉLIE

Pages:12
Re: Question about INN expire

<ta9pep$1f5un$1@news.trigofacile.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=968&group=news.software.nntp#968

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 19:27:53 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ta9pep$1f5un$1@news.trigofacile.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com>
<ta7fgr$1d8cj$1@news.trigofacile.com>
<4185399788.df02eb50@freebsd-inject1.usenet.blueworldhosting.com>
<ta9im0$1eoqq$1@news.trigofacile.com>
<9587585379.2acfce4f@freebsd-inject1.usenet.blueworldhosting.com>
<87fsjb1ti0.fsf@hope.eyrie.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 17:27:53 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105";
logging-data="1546199"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:v6BP7zlSZsOZEIAx2we5nsJGNMo= sha256:banF8Elcu3qNClyWM/1JNYiJgtgV+FhLDmqB28REHNs=
sha1:VFOo+0IQa1+X9j/JvCPNxUJ92p8= sha256:vJVR6SI1iEKfoM4X1nxc5A5Ht0EIPxmf9LU2t3rBK/g=
In-Reply-To: <87fsjb1ti0.fsf@hope.eyrie.org>
 by: Julien ÉLIE - Fri, 8 Jul 2022 17:27 UTC

Hi Russ,

> It doesn't help that this whole thing grew organically over many years and
> involves multiple programs with multiple somewhat confusing modes of
> operation and one really intrusive configuration option (groupbaseexpiry)
> that basically changes how everything works. This thread makes it clear
> that this is all more complicated than it probably should be, but of
> course making it less complicated without breaking anything is also very
> complicated!

It would perhaps imply to make a new INN 3.0 product with all sort of
oddities removed and less options. Yet, it's still a hard work because
it would also need unifying all the configuration files (in YAML ^^) and
refactoring thigs...

--
Julien ÉLIE

« – D'ailleurs je vais préparer de la potion magique qui ne servira bien
entendu que contre un retour éventuel des Romains !
– Mais, pour l'heure, les Romains ne sont pas encore revenus de leur
mésaventure. » (Astérix)

Re: Question about INN expire

<0144157859.3154854c@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=969&group=news.software.nntp#969

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.re...@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 17:30:42 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <0144157859.3154854c@freebsd-inject1.usenet.blueworldhosting.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com> <9587585379.2acfce4f@freebsd-inject1.usenet.blueworldhosting.com> <87fsjb1ti0.fsf@hope.eyrie.org> <ta9p31$1f5nu$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 17:30:42 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="3361"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:pwSofmWy/iPtwIZY/2mE0yNQY7g= sha256:1Xqaw2Ezx1VBKyugrf/krcGoXc7HZWtqUEMIihvFyNs=
sha1:Hfk+dBsumoRHZfwky+Pl7mlqeHA= sha256:0PrXNtBpV2FuDfS9RNTz8YcUwcXXnpQVZ9cKl1gm4sU=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 17:30 UTC

On Jul 8, 2022 at 12:21:37 PM CDT, "Julien ÉLIE" in
<ta9p31$1f5nu$1@news.trigofacile.com> wrote:

> Hi Jesse and Russ,
>
> Per-group expiry, that is to say when groupbaseexpiry is true, is
> mostly done by expireover(8): news articles are removed from the news
> spool by expireover, and then expire purges the history file.
>
> Regardless the setting of groupbaseexpiry, expireover should be run
> along with expire, usually via news.daily out of cron.
>
> Note that expire never purges articles which do not match any entry in
> expire.ctl.

Those three paragraphs really clear it up for me. My original issue stemmed
from my misunderstanding that expireover and expire functioned the same in
terms of using expire.ctl.

> Now that expire's documentation is fixed and "expire -p" is in fact working
> as it does, let's release INN 2.7.0 :-)
> I'll generate the release this week-end.
>
> Thanks again Jesse for all your questions on your fresh INN installation which
> permitted to make it better, and especially its documentation!

No rc2? I'm still pouring over everything, might find more... ;) (Joking - I
say go for it, I'll gladly update my boxes)

Glad I could contribute something useful.

Regards,

Jesse

Re: Question about INN expire

<ta9qlq$1f6fk$1@news.trigofacile.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=970&group=news.software.nntp#970

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 19:48:42 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ta9qlq$1f6fk$1@news.trigofacile.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com>
<9587585379.2acfce4f@freebsd-inject1.usenet.blueworldhosting.com>
<87fsjb1ti0.fsf@hope.eyrie.org> <ta9p31$1f5nu$1@news.trigofacile.com>
<0144157859.3154854c@freebsd-inject1.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 17:48:43 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105";
logging-data="1546740"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:TW8dCuFYJQXWjHvYW5F2jxNiByc= sha256:AqMzhrFfawSmhYQURL0qg/5G4R0pL1dXGSpJCi+yxNk=
sha1:A2kpp5J2o04H3L5UB7T4oW09L2Q= sha256:bYtx/TXalOLyJbbK/jSLabQVX8N/YS+TCV2XKQ41l88=
In-Reply-To: <0144157859.3154854c@freebsd-inject1.usenet.blueworldhosting.com>
 by: Julien ÉLIE - Fri, 8 Jul 2022 17:48 UTC

Hi Jesse,

>> Now that expire's documentation is fixed and "expire -p" is in fact working
>> as it does, let's release INN 2.7.0 :-)
>> I'll generate the release this week-end.
>
> No rc2? I'm still pouring over everything, might find more... ;) (Joking - I
> say go for it, I'll gladly update my boxes)

I don't plan on releasing rc2 (changes since rc1 are essentially
documentation) and delay a bit more the final release.

And incidentally, if you're looking for what would be rc2, just try the
latest daily snapshot :-)
https://ftp.isc.org/isc/inn/snapshots/

You're of course welcome to go on pouring over everything. Fixes of
possible bugs, as well as other improvements in documentation, will be
in INN 2.7.1.

--
Julien ÉLIE

« I don't know if it's what you want, but it's what you get. » (Larry
Wall)

Re: Question about INN expire

<87bktz1oev.fsf@hope.eyrie.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=972&group=news.software.nntp#972

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.killfile.org!news.eyrie.org!.POSTED!not-for-mail
From: eag...@eyrie.org (Russ Allbery)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 08 Jul 2022 10:53:44 -0700
Organization: The Eyrie
Message-ID: <87bktz1oev.fsf@hope.eyrie.org>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com>
<ta7fgr$1d8cj$1@news.trigofacile.com>
<4185399788.df02eb50@freebsd-inject1.usenet.blueworldhosting.com>
<ta9im0$1eoqq$1@news.trigofacile.com>
<9587585379.2acfce4f@freebsd-inject1.usenet.blueworldhosting.com>
<87fsjb1ti0.fsf@hope.eyrie.org> <ta9p31$1f5nu$1@news.trigofacile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org;
logging-data="27365"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:3Zm9txURmzB1YgVs91RezM4KpV4=
 by: Russ Allbery - Fri, 8 Jul 2022 17:53 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> Per-group expiry, that is to say when groupbaseexpiry is true, is
> mostly done by expireover(8): news articles are removed from the
> news spool by expireover, and then expire purges the history
> file.

This is getting at something that if I remember correctly is true, but
which I'm not sure we say anywhere. (But don't take my word for it since
it's been a very long time since I looked at this code!) Specifically, I
believe it's correct to say something like this:

When groupbaseexpiry is true, article expiration is primarily done by
expireover based on the expiration rules that match each newsgroup.
expire then does some additional cleanup to remove old history
database entries.

When groupbaseexpiry is false, article expiration is primarily done by
expire based on the expiration rules that match the storage class of
each article. expire removes the articles and the history entries,
and then expireover does the additional cleanup of removing the
overview database entry.

This is the thing that always confused me about groupbaseexpiry: depending
on what it's set to, which program does the actual work of deleting
articles changes.

--
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.

Re: Question about INN expire

<0384572613.6d944ca3@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=974&group=news.software.nntp#974

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.re...@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 18:10:46 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <0384572613.6d944ca3@freebsd-inject1.usenet.blueworldhosting.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com> <87fsjb1ti0.fsf@hope.eyrie.org> <ta9p31$1f5nu$1@news.trigofacile.com> <87bktz1oev.fsf@hope.eyrie.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 18:10:46 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="69865"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:uhzvPGbOOBj39Th+E353g6tpKDY= sha256:4fIFfETZpOi6EV6ec8RPu82dAi4hL2y/43pqTadMdWs=
sha1:GmYGY3ypLF5IX3n1DTC1WoUimD8= sha256:a2lXPHA8R3eLte26u6gopFOnrP1nMedAn5ugejgbtv8=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 18:10 UTC

On Jul 8, 2022 at 12:53:44 PM CDT, "Russ Allbery" in
<87bktz1oev.fsf@hope.eyrie.org> wrote:

> This is getting at something that if I remember correctly is true, but
> which I'm not sure we say anywhere. (But don't take my word for it since
> it's been a very long time since I looked at this code!) Specifically, I
> believe it's correct to say something like this:
>
> When groupbaseexpiry is true, article expiration is primarily done by
> expireover based on the expiration rules that match each newsgroup.
> expire then does some additional cleanup to remove old history
> database entries.
>
> When groupbaseexpiry is false, article expiration is primarily done by
> expire based on the expiration rules that match the storage class of
> each article. expire removes the articles and the history entries,
> and then expireover does the additional cleanup of removing the
> overview database entry.
>
> This is the thing that always confused me about groupbaseexpiry: depending
> on what it's set to, which program does the actual work of deleting
> articles changes.

That adds additional clarification that is most helpful in understanding the
differences in their operation depending upon the groupbaseexpiry value.

From the content of this thread, I believe it is accurate.

Re: Question about INN expire

<ta9skt$1fehp$1@news.trigofacile.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=975&group=news.software.nntp#975

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 20:22:21 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <ta9skt$1fehp$1@news.trigofacile.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com>
<ta7fgr$1d8cj$1@news.trigofacile.com>
<4185399788.df02eb50@freebsd-inject1.usenet.blueworldhosting.com>
<ta9im0$1eoqq$1@news.trigofacile.com>
<9587585379.2acfce4f@freebsd-inject1.usenet.blueworldhosting.com>
<87fsjb1ti0.fsf@hope.eyrie.org> <ta9p31$1f5nu$1@news.trigofacile.com>
<87bktz1oev.fsf@hope.eyrie.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 18:22:21 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105";
logging-data="1555001"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:vh2QlFpYcQBbiluqyVwQDvrvF4E= sha256:5IHJjnLgw/IDy+H2UJY660I+3Ewgdv0O1TWL7xgApUk=
sha1:rBJ5lMTuGOapSjxTbg2x6DRot0w= sha256:J8tBnhIbsvOjaXfb8aMpsfs0+Sz531elRpMlUNhW+fE=
In-Reply-To: <87bktz1oev.fsf@hope.eyrie.org>
 by: Julien ÉLIE - Fri, 8 Jul 2022 18:22 UTC

Hi Russ,

> This is getting at something that if I remember correctly is true, but
> which I'm not sure we say anywhere.

I indeed did not see in the documentation the explanation you propose.
I believe it could be inserted in expire.ctl man page, when speaking
about groupbaseexpiry. And also in INSTALL.

> When groupbaseexpiry is true, article expiration is primarily done by
> expireover based on the expiration rules that match each newsgroup.
> expire then does some additional cleanup to remove old history
> database entries.

Yes, that's the behaviour I saw.

> When groupbaseexpiry is false, article expiration is primarily done by
> expire based on the expiration rules that match the storage class of
> each article. expire removes the articles and the history entries,
> and then expireover does the additional cleanup of removing the
> overview database entry.

Yes, agreed too.
With the subtlety that expire won't expire articles in CNFS unless -N is
given!

And you're right that expire doesn't do anything with overview (I'll
update my previous wording, which was wrong).

> This is the thing that always confused me about groupbaseexpiry: depending
> on what it's set to, which program does the actual work of deleting
> articles changes.

Sure! It is really confusing.
And news.daily does magic with the order of all the calls to
expire/expireover depending on groupbaseexpiry.

Hmm, if a news admin ever configures his server with groupbaseexpiry to
true and *without* overview, he won't be able to expire articles from
his spool, will he? (something maybe worth mentioning!)

--
Julien ÉLIE

« C'est une forêt vierge où la main de l'homme n'a jamais mis le pied. »

Re: Question about INN expire

<0491393226.f6c765f1@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=976&group=news.software.nntp#976

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.re...@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 18:28:34 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <0491393226.f6c765f1@freebsd-inject1.usenet.blueworldhosting.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com> <ta9p31$1f5nu$1@news.trigofacile.com> <87bktz1oev.fsf@hope.eyrie.org> <ta9skt$1fehp$1@news.trigofacile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 18:28:34 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="54283"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:aNfP4tncAGNZj/EiSHvI8LHyX4A= sha256:88OLpTSz3K9kQpceMXUY/+CJA9iVRRGJwEheWEEahp8=
sha1:DhMlyTWc+eIMW3wY1iSNIRktlJk= sha256:pWLYBjY/iTxxagaNdP3D/+HnEeZGvX5cN7soCZxl4ig=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 18:28 UTC

On Jul 8, 2022 at 1:22:21 PM CDT, "Julien ÉLIE" in
<ta9skt$1fehp$1@news.trigofacile.com> wrote:

> Hmm, if a news admin ever configures his server with groupbaseexpiry to
> true and *without* overview, he won't be able to expire articles from
> his spool, will he? (something maybe worth mentioning!)

This may be helpful, my feeder has no overview and only a CNFS buffer:

$ grep groupbaseexpiry etc/inn.conf
groupbaseexpiry: true

$ expireover
expireover: enableoverview is not true
expireover: can't open overview database

$ expire -v 3
Article lines processed 124432
Articles retained 124428
Entries expired 4

My expire.ctl entries (for this test):

*:A:1:90:never
*.test:AX:1:1:1

Re: Question about INN expire

<8735fb1lni.fsf@hope.eyrie.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=977&group=news.software.nntp#977

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.killfile.org!news.eyrie.org!.POSTED!not-for-mail
From: eag...@eyrie.org (Russ Allbery)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 08 Jul 2022 11:53:21 -0700
Organization: The Eyrie
Message-ID: <8735fb1lni.fsf@hope.eyrie.org>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com>
<ta7fgr$1d8cj$1@news.trigofacile.com>
<4185399788.df02eb50@freebsd-inject1.usenet.blueworldhosting.com>
<ta9im0$1eoqq$1@news.trigofacile.com>
<9587585379.2acfce4f@freebsd-inject1.usenet.blueworldhosting.com>
<87fsjb1ti0.fsf@hope.eyrie.org> <ta9p31$1f5nu$1@news.trigofacile.com>
<87bktz1oev.fsf@hope.eyrie.org> <ta9skt$1fehp$1@news.trigofacile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org;
logging-data="27365"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:e9eUqXphFpoyxK6wkLSpnNlwwXU=
 by: Russ Allbery - Fri, 8 Jul 2022 18:53 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> Hmm, if a news admin ever configures his server with groupbaseexpiry to
> true and *without* overview, he won't be able to expire articles from
> his spool, will he? (something maybe worth mentioning!)

I believe that's correct, although if you're only using self-expiring
storage backends like CNFS, you may not care. The history entries (the
only database outside of the article spool in that scenario) will still
get cleaned up by expire when it detects that the article no longer
exists.

--
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.

Re: Question about INN expire

<taa0t5$1fh1l$1@news.trigofacile.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=978&group=news.software.nntp#978

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176.143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 21:35:01 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <taa0t5$1fh1l$1@news.trigofacile.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com>
<ta9p31$1f5nu$1@news.trigofacile.com> <87bktz1oev.fsf@hope.eyrie.org>
<ta9skt$1fehp$1@news.trigofacile.com>
<0491393226.f6c765f1@freebsd-inject1.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 19:35:01 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176.143-2-105.abo.bbox.fr:176.143.2.105";
logging-data="1557557"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Cancel-Lock: sha1:YdkSwrEf2/AjR2sVI2HcISk79y0= sha256:nyH4jOL6SEXz/6OBK5hAxMx0V8MChqLZZGil/m4qFIY=
sha1:8wk6dpgC6hcTQHzht7mtL7StUzI= sha256:+z6Bb/yF1J8zPRBhqGsTh6XTVLF8oqx7+6s2yMquyCs=
In-Reply-To: <0491393226.f6c765f1@freebsd-inject1.usenet.blueworldhosting.com>
 by: Julien ÉLIE - Fri, 8 Jul 2022 19:35 UTC

Hi Jesse,

>> Hmm, if a news admin ever configures his server with groupbaseexpiry to
>> true and *without* overview, he won't be able to expire articles from
>> his spool, will he? (something maybe worth mentioning!)
>
> This may be helpful, my feeder has no overview and only a CNFS buffer:
>
> $ expire -v 3
> Article lines processed 124432
> Articles retained 124428
> Entries expired 4
>
> My expire.ctl entries (for this test):
>
> *:A:1:90:never
> *.test:AX:1:1:1

When groupbaseexpiry is set to true, expire just does a probe whether
the article is still in the spool.

I would tend to think the 4 entries expired are cancelled articles whose
tokens are removed from the history file. (More than 4 entries would
have expired for all test groups...)
Thanks for the test anyway!

If you want to be sure, you may want to run "grephistory <mid>" on a
Message-ID you know was posted to a test group 2 days ago, and see if
the command returns a token.

--
Julien ÉLIE

« C'est une forêt vierge où la main de l'homme n'a jamais mis le pied. »

Re: Question about INN expire

<87czefs7db.fsf@hope.eyrie.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=979&group=news.software.nntp#979

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.killfile.org!news.eyrie.org!.POSTED!not-for-mail
From: eag...@eyrie.org (Russ Allbery)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 08 Jul 2022 12:59:44 -0700
Organization: The Eyrie
Message-ID: <87czefs7db.fsf@hope.eyrie.org>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com>
<ta9p31$1f5nu$1@news.trigofacile.com> <87bktz1oev.fsf@hope.eyrie.org>
<ta9skt$1fehp$1@news.trigofacile.com>
<0491393226.f6c765f1@freebsd-inject1.usenet.blueworldhosting.com>
<taa0t5$1fh1l$1@news.trigofacile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org;
logging-data="31719"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:EcEZytetmB0Vj1mlnc+gvt8VTnU=
 by: Russ Allbery - Fri, 8 Jul 2022 19:59 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> When groupbaseexpiry is set to true, expire just does a probe whether the
> article is still in the spool.

> I would tend to think the 4 entries expired are cancelled articles whose
> tokens are removed from the history file. (More than 4 entries would
> have expired for all test groups...)

The other common case is articles with Expires headers, which is still
sometimes done for the few FAQs that are autoposted.

--
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.

Re: Question about INN expire

<1729388807.8c271efe@freebsd-inject1.usenet.blueworldhosting.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=980&group=news.software.nntp#980

  copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!news.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.re...@blueworldhosting.com (Jesse Rehmer)
Newsgroups: news.software.nntp
Subject: Re: Question about INN expire
Date: Fri, 8 Jul 2022 21:54:54 -0000 (UTC)
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <1729388807.8c271efe@freebsd-inject1.usenet.blueworldhosting.com>
References: <9830233015.44666439@freebsd-inject1.usenet.blueworldhosting.com> <0491393226.f6c765f1@freebsd-inject1.usenet.blueworldhosting.com> <taa0t5$1fh1l$1@news.trigofacile.com> <87czefs7db.fsf@hope.eyrie.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Jul 2022 21:54:54 -0000 (UTC)
Injection-Info: news.usenet.blueworldhosting.com;
logging-data="66507"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:Ximl+OZYph/mQr1X6H2Zf8E8I5M= sha256:Bsz9yLFXeL2UOp2rIPy4jXFLtvKdOdLfT1qPmuJ2YLc=
sha1:iqgBDSVQQ9HjROw7I17ZHouh5j0= sha256:3dIdpWRHPvbz83lTMxLKIYBgRdXDilxp11hvHNelGPc=
X-Usenapp: v1.22/d - Full License
 by: Jesse Rehmer - Fri, 8 Jul 2022 21:54 UTC

On Jul 8, 2022 at 2:59:44 PM CDT, "Russ Allbery" in
<87czefs7db.fsf@hope.eyrie.org> wrote:

> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:
>
>> When groupbaseexpiry is set to true, expire just does a probe whether the
>> article is still in the spool.
>
>> I would tend to think the 4 entries expired are cancelled articles whose
>> tokens are removed from the history file. (More than 4 entries would
>> have expired for all test groups...)
>
> The other common case is articles with Expires headers, which is still
> sometimes done for the few FAQs that are autoposted.

I ran it again a few minutes later and it expired a few hundred articles.
Though, as mentioned, I can't be certain these were removed from the spool by
expire or they self-expired due to be rolled over.

It only keeps a few days worth of articles, but will let it sit a day and do a
test with a known-existing Message-ID that should expire.

However, I just realized on this box the test with expire may be moot because
I have a minimal active file and everything is going to "junk" (I had
forgotten that earlier).

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor