🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88735

Re: mbox archive for a news server

#88735
From: Ted Heise
Date: Tue, 24 Aug 2021 00:29
29 lines
2163 bytes
On Mon, 23 Aug 2021 13:05:50 -0700,
  Russ Allbery <eagle@eyrie.org> wrote:
>  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.

The formail tool that comes with procmail may be worth looking at 
in this context too.

-- 
Ted Heise      <theise@panix.com>       West Lafayette, IN, USA
Technical Details
Message-ID: <slrnsi8faf.rkt.theise@panix2.panix.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: <sfvheu$o2u$1@theuse.news.theuse.net> <877dgc6i5d.fsf@hope.eyrie.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnsi8faf.rkt.theise@panix2.panix.com>
Subject: Re: mbox archive for a news server
Date: Tue, 24 Aug 2021 00:29:03 +0000
From: Ted Heise <theise@panix.com>
References: <sfvheu$o2u$1@theuse.news.theuse.net> <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
Newsgroups: news.software.nntp
Organization: My own, such as it is
Injection-Date: Tue, 24 Aug 2021 00:29:03 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix2.panix.com:166.84.1.2"; logging-data="23198"; mail-complaints-to="abuse@panix.com"
User-Agent: slrn/1.0.3 (NetBSD)
Lines: 28