🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88733

Re: mbox archive for a news server

#88733
From: Russ Allbery
Date: Mon, 23 Aug 2021 20:05
25 lines
2037 bytes
Jason Evans <jsevans@mailfence.com> writes:

> I would like to know if anyone here knows about an archival tool or
> script that can be used to back up new articles into mbox
> format. Similar to what exists in archive.org.  I'm not much of a
> programmer but before I spend the time and effort to cobble together a
> bash script to do this, I want to see if someone here already has some
> this that can do that already. No need to re-invent the wheel, etc.

The archive program that comes with INN and can be configured as a feed in
newsfeeds is fairly close to what you want except that when you configure
it to store multiple messages in a single file, it uses a custom separator
rather than doing From escaping and inserting a mailbox From.

You could run it in its default mode where it saves each individual
message to a file and then separately run some other program to convert a
directory full of files to a mailbox.  I suspect most of the Google hits
for "maildir2mbox" would do it, since a maildir is essentially a directory
full of messages.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <877dgc6i5d.fsf@hope.eyrie.org>
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: <sfvheu$o2u$1@theuse.news.theuse.net>

Show Full Headers
Complete Article Headers
Message-ID: <877dgc6i5d.fsf@hope.eyrie.org>
Subject: Re: mbox archive for a news server
Date: Mon, 23 Aug 2021 13:05:50 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <sfvheu$o2u$1@theuse.news.theuse.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: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="25382"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:D9e+nuzR6Kg2zaTLERq7xHjQXOQ=
Lines: 24