🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #216677

Re: Append all new articles to mbox unattended

#216677
From: Frank Slootweg
Date: Sat, 09 Feb 2008 16:02
30 lines
2383 bytes
Andre Majorel <cheney@halliburton.com> wrote:
[...]
> Saving (-S) does not help either because Tin saves each article
> to a separate file, just like Slrnpull does.
> 
> Back to square one. But thanks.

  Strange! Most Unices have cat(1), don't they? :-)

  But seriously: This is *so* trivial. If you wanted the *opposite*,
i.e. splitting up an mbox 'archive' into individual file-per-message
files, then that would be slightly more complex, but concatenating a
bunch of files is such a SMOSP

> >> I think some form of locking is needed so I can keep the mboxes
> >> open in Mutt and no-one overwrites anyone else's changes.
> >> Procmail is known to play nice with Mutt so invoking procmail
> >> once for each article would be acceptable.
> >
> >   Why do you want to keep them open?
> 
> Open or closing a large mbox file with Mutt is far from
> instantaneous. Having one long-lived instance of Mutt for every
> frequently-used folder saves time.

  Then procmail(1) - instead of cat(1) - is your solution, isn't it?

  I.e. you get the article files by *some* means - slrnpull, tin,
leafnode, <whatever> - and then feed them via procmail(1) to mutt's mail
folders, letting procmail do the required locking.
Technical Details
Message-ID: <47adce9f$0$20620$dbd4b001@news.wanadoo.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
References: <slrnfqgk13.40n.cheney@atc5.vermine.org> <47a89057$0$31223$dbd4f001@news.wanadoo.nl> <slrnfqpl10.40n.cheney@atc5.vermine.org>

Show Full Headers
Complete Article Headers
Message-ID: <47adce9f$0$20620$dbd4b001@news.wanadoo.nl>
Subject: Re: Append all new articles to mbox unattended
Date: Sat, 09 Feb 2008 16:02:39 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <slrnfqgk13.40n.cheney@atc5.vermine.org> <47a89057$0$31223$dbd4f001@news.wanadoo.nl> <slrnfqpl10.40n.cheney@atc5.vermine.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
 (CYGWIN_NT-6.0/1.5.22(0.156/4/2) (i686)) Hamster/2.0.2.2
Lines: 30
NNTP-Posting-Date: 09 Feb 2008 16:02:39 GMT
NNTP-Posting-Host: cd44075c2.cable.wanadoo.nl
X-Trace: 1202572959 dr6.euro.net 20620 212.64.117.194:63273
X-Complaints-To: abuse@wanadoo.nl