🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74553

Upload posts from mbox to inn2 - How?

#74553
From: Jakub Danecki
Date: Tue, 05 Dec 2006 01:10
16 lines
1876 bytes
	Hello,

	I'm running a small server on INN, that main role is to keep archive
(around 200k posts). Some time ago I made an update and because of
misconfiguration of expire.ctl all the archive was deleted. I decided to
recreate the archive from backup, but still some posts are missing. I
found out, that some 2000 posts can be recovered from one of the nntp
clients archive (Xananews). I got the export file, that looks like a
correct mbox format - around 20MB, 19000 posts in one txt file.
	And now the problem: How can I feed my INN with this mbox? All I found
is mailpost, but it accepts only single posts.
	I thought about writing a perl script that will "cut out" each message,
but... I just cannot beleive that nobody did it before.

	rgrds,
	Jakub
Technical Details
Message-ID: <el2guf$qqb$1@inews.gazeta.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.hanau.net!news-fra1.dfn.de!newsfeed.pionier.net.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <el2guf$qqb$1@inews.gazeta.pl>
Subject: Upload posts from mbox to inn2 - How?
Date: Tue, 05 Dec 2006 01:10:39 +0000
From: "Jakub Danecki" <jak_wytnijto@danecki.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.hanau.net!news-fra1.dfn.de!newsfeed.pionier.net.pl!newsfeed.gazeta.pl!news.gazeta.pl!not-for-mail
Newsgroups: news.software.nntp
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 16
NNTP-Posting-Host: bny92-5-82-232-56-7.fbx.proxad.net
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1250
X-Trace: inews.gazeta.pl 1165281039 27467 82.232.56.7 (5 Dec 2006 01:10:39 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Tue, 5 Dec 2006 01:10:39 +0000 (UTC)
X-User: jdanecki
User-Agent: XanaNews/1.18.1.5