🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90332

Re: Re-feeding articles?

#90332
From: Jesse Rehmer
Date: Fri, 28 Apr 2023 18:15
57 lines
3578 bytes
On Apr 28, 2023 at 10:59:03 AM CDT, "Nigel Reed" <sysop@endofthelinebbs.com>
wrote:

> Hi there,
> 
> I've now got myself an zfs file system so shouldn't have any inode
> issues, plus I'm blocking the mixmin server, I hope, by adding
> mixmin.com to the cleanfeed bad_paths file.
> 
> Now, after I've deleted all the rogue articles, I'm ready to copy my
> spool back to the server. This means I'm going to be missing news from
> somewhere around 15th April until current.
> 
> Julien told me that it's possible for newsmasters to resend articles
> but it's a manual process and didn't elaborate.
> 
> Can someone explain how that would be achieved? for example, to resend
> everything from Apr 15 at 00:00 GMT.
> 
> I'll just have a "ME" line in newsfeeds so the articles wont get sent
> out to everyone else until the process is complete.
> 
> To be sure, I'll also need to make sure my newsserver doesn't reject
> the older articles. Oh man, I feel such a noob! lol.
> 
> Thanks,

This is the best explanation for what you're after from
https://www.eyrie.org/~eagle/faqs/inn.html#S6.4:

To feed all articles on an existing server to another one, regardless of how
they're stored on the server, first tell the new server to accept articles
regardless of how old they are (otherwise, INN will reject articles older than
artcutoff in inn.conf) and disable your filtering:

    ctlinnd param c 0
    ctlinnd perl n
    ctlinnd python n

In case you wish to only feed articles arrived on the old server between two
dates, you can adapt the previous commands with a condition on the $arrived
variable (or the $posted variable if you prefer to use the Date header field
instead of the actual arrival time). For instance, the following commands will
feed articles arrived between two given timestamps (that can be computed with
the convdate utility shipped with INN).

    convdate -n '15 Apr 2014 20:42 +0200' '16 Apr 2014 12:37 +0200'
returns the two corresponding timestamps 1397586540 and 1397644620 that can
then be used to retrieve a subset of articles to feed:

    cd <pathdb in inn.conf>
    perl -ne 'chomp; our ($hash, $timestamps, $_) = split " "; \
        my ($arrived, $expires, $posted) = split("~", $timestamps); \
        print "$_\n" if $_ and $arrived >= 1397586540 \
            and $arrived <= 1397644620' history \| tr . / ><pathoutgoing in
inn.conf>/list
    innxmit server list
Technical Details
Message-ID: <u2h2f8$rjm$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: <20230428105903.5eb31dd4@wibble.sysadmininc.com>

Show Full Headers
Complete Article Headers
Message-ID: <u2h2f8$rjm$1@nnrp.usenet.blueworldhosting.com>
Subject: Re: Re-feeding articles?
Date: Fri, 28 Apr 2023 18:15:04 +0000
From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com>
References: <20230428105903.5eb31dd4@wibble.sysadmininc.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
Newsgroups: news.software.nntp
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 Apr 2023 18:15:04 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="28278"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:u0WXhSOi5U0JO7YoeniEjEbXFgQ= sha256:UvpUDGQJ36Ee5RE7zkzthxG8ytMoH/qzvx1ARjqzAHY= sha1:J7fpN6uicV2jhonDCAstdE2lVE0= sha256:lRn8dxrLzswL7WgOFZJyUk1vyW3s31W8ec+KILQZHWc=
X-Usenapp: v1.26.6/d - Full License
Lines: 56