Article View: news.software.nntp
Article #89741Re: INN2: importing archival messages an threads
From: ejs
Date: Mon, 24 Oct 2022 11:07
Date: Mon, 24 Oct 2022 11:07
38 lines
2482 bytes
2482 bytes
2022-10-24 11:31, Henning Hucke raΕ‘Δ: > You want to import historic/archived postings into a running inn > instance? Yes. I've done it in the off-line mode, but that was for the new hierarchy. > In which format are the postings you have available? One article per > file? Batch files containing multiple postings? I can export either as one file per message or feed them using Python NNTP library. > And do you want to know whether or not you use a viable method to import > the postings or do you want to know a / the appropriate way to import the > postings? > (I think the later would be the/a sensefull way) I need to do it in the proper way. > Be aware that article numbers are heavily problematic since they may be - > not unlikely are - already in use on the actual server. They are also > only partially helpfull if you use other storage methods than "tradspool". Right now I assume there will be Message-ID duplicates. > Duplicate detection and the like are performed if you "feed" the > postings into inn. This is processor intensive but from my point of > view the most secure method to feed - historic as well as current - > postings into the message base. So, for the consistency, i could fetch all the headers, build a list of Message-IDs used and alter the Message-ID as well as 'References:' and 'In-Reply-To:' fields of the message imported. I need to have proper threading and no duplicate messages on the server. -- ejs news://news.rkm.lt
Technical Details
Message-ID:
<tj5rle$1lkov$1@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-mailReferences:
<tj3ko6$197dn$3@dont-email.me> <tj5igi$hsc$1@sirius.aeon.icebear.cloud>Show Full Headers
Complete Article Headers
Message-ID: <tj5rle$1lkov$1@dont-email.me> Subject: Re: INN2: importing archival messages an threads Date: Mon, 24 Oct 2022 14:07:26 +0300 From: ejs <Usernet.eternal-september@seniejitrakai.net> References: <tj3ko6$197dn$3@dont-email.me> <tj5igi$hsc$1@sirius.aeon.icebear.cloud> 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: 39 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 24 Oct 2022 11:07:26 -0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Thunderbird/107.0 Cancel-Lock: sha1:1KhPWBfjVmFgB8jJ8Pi5t+UUHFI= In-Reply-To: <tj5igi$hsc$1@sirius.aeon.icebear.cloud> Content-Language: lt