🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89739

INN2: importing archival messages an threads

#89739
From: ejs
Date: Sun, 23 Oct 2022 14:57
33 lines
2199 bytes
Hi All,

We are running a local instace of Usenet server.

Sometimes we get a pieces of historical messages and in order not to 
obstruct the active groups, we moved them to a hifferent hierarchy.

The current problem is the messages we have to proces will interfere 
with the messages on the server, as they cover the save time period.

Cold someone explain how the messages are stored and referenced on the 
server? I can see the numerical ID, corresponding to the physical file 
on the server and Message-ID, which appears from ...?

My current idea is to query the INN server for a Message-IDs in a 
specific newsgroup and if they are found, we have a duplicates. If no, i 
can feed the message and the entire thread to the server. The file name 
and the history entry will be created by the server.
Am i right? Or maybe there are messages on a different groups and i may 
have a clash there?

What we did until now - just placed the files into spool and recreated 
the history. But we were sure there will be no clashes neither in file 
names, nor Message-IDs; this was performed with vgrep and oh, boy ...
It works for small batches and short threads and į'm not sure if it will 
scale easilly.

I have the nearly 3M messages to be fed in the database and i can 
perform alomst any adjustments on-the-fly.

-- 
ejs
  news://news.rkm.lt
Technical Details
Message-ID: <tj3ko6$197dn$3@dont-email.me>
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

Show Full Headers
Complete Article Headers
Message-ID: <tj3ko6$197dn$3@dont-email.me>
Subject: INN2: importing archival messages an threads
Date: Sun, 23 Oct 2022 17:57:10 +0300
From: ejs <Usernet.eternal-september@seniejitrakai.net>
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: A noiseless patient Spider
Lines: 33
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Oct 2022 14:57:10 -0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Thunderbird/107.0
Cancel-Lock: sha1:gN29koo3hMOePP2Fd9ESGGbJRwo=
Content-Language: lt