🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1572

Re: Newbie question

#1572
From: Julien ÉLIE
Date: Wed, 22 Mar 2023 21:16
61 lines
3658 bytes
Hi Eli,

>> If you've already made a full pass over the group with pullnews and want to
>> make another full pass, I think the easiest is to modify the pullnews.marks
>> counts for that group and set to 1. That should cause pullnews to start from
>> the beginning.
> 
> That's what I thought at first too, but this prevents all existing files in
> the spool from being downloaded again and all messages are treated as
> '-- not downloading already existing message'.
> 
> My question is therefore how you can completely reset a newsgroup so that
> everything is downloaded again.

Ah yes, that's a bit tricky as what you want is to remove all traces of 
articles in spool, overview and history.

The proper method would be to:

- ctlinnd rmgroup xxx
- remove the <pathspool>/articles/.../xxx directory of the group
- set /remember/ to 0 in expire.ctl
- run the expireover and expire process (for instance via news.daily 
called with the same parameters as in crontab, plus "notdaily")
- undo the change in expire.ctl (/remember/ set to 11)
- ctlinnd newgroup xxx
- reset the last downloaded article in pullnews.marks for this group
- deactivate Perl and Python filters, and set the artcutoff to 0
- run pullnews
- reactivate the filters, and artcutoff to 10


I think INN will happily accept to be refed of these articles.


> This in particular for the newsgroup 'news.lists.filters'. This group contains
> the references to the 'spam' messages that NoCem then deletes. I want to reset
> this newsgroup 'news.lists.filters' so that all messages are checked locally
> again and in case of spam removed.

As for NoCeM, you can directly refeed your notices to perl-nocem without 
resetting anything.

perl-nocem expects storage tokens on its standard input.
Example:

echo '@020162BEB132016300000000000000000000@' | perl-nocem

As you're running tradindexed overview, I would suggest to have a look 
at the output of:

     tdx-util -g -n news.lists.filters

It dumps the overview data of this newsgroup.  The last field is a 
storage token.
You could replay NoCeM notices with these information :)

-- 
Julien ÉLIE

« Ta remise sur pied lui a fait perdre la tête ! » (Astérix)
Technical Details
Message-ID: <tvfr7u$1ua8$2@news.trigofacile.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: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tve89p$1510$1@news.trigofacile.com> <40CSL.1853521$geq2.1460412@fx09.ams4> <tvf6hd$21vh$1@nnrp.usenet.blueworldhosting.com> <k9ISL.3083904$nwq3.1576765@fx13.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <tvfr7u$1ua8$2@news.trigofacile.com>
Subject: Re: Newbie question
Date: Wed, 22 Mar 2023 22:16:46 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tve89p$1510$1@news.trigofacile.com> <40CSL.1853521$geq2.1460412@fx09.ams4> <tvf6hd$21vh$1@nnrp.usenet.blueworldhosting.com> <k9ISL.3083904$nwq3.1576765@fx13.ams4>
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.admin.peering
Organization: Groupes francophones par TrigoFACILE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Mar 2023 21:16:46 -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="63816"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.0
Cancel-Lock: sha1:X+UhrQTNYGWPm1jdWfoq4LnctpE= sha256:kwMvRwGPB+fcz3CKasKhT4JPyhoVjCJElkz5Qg8Bnuw= sha1:JAnrxVoZ4of9GJVVnrNqsPxFPv4= sha256:N/obGQ1yslwRxIWTe2ZvoVP4dgnKgRII03WgoCY9GyM=
In-Reply-To: <k9ISL.3083904$nwq3.1576765@fx13.ams4>