Article View: news.software.readers
Article #216505Re: Append all new articles to mbox unattended
From: Tom Newton
Date: Tue, 05 Feb 2008 23:01
Date: Tue, 05 Feb 2008 23:01
86 lines
4559 bytes
4559 bytes
On 2008-02-05, Andre Majorel <cheney@halliburton.com> wrote: > On 2008-02-05, Tom Newton <tom@server.invalid> wrote: >> On 2008-02-05, Andre Majorel <cheney@halliburton.com> wrote: >>> Is there a libre software program for Unix to retrieve by NNTP >>> all new articles in the specified newsgroups and append them to >>> mbox files, one per newsgroup ? >>> >>> 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. >>> >>> Bonus points if it can include the current YYYY-MM in the names >>> of the mbox files. >> >> Use leafnode and run a script that will convert the directories >> full of files with one post each into an mbox with the name >> you want. >> >> I can write that without any problem. > > Current solution involves that, with s/leafnode/slrnpull/. > Modifying slrnpull to do what I want is probably somewhat easier > than messing with its spool (that can fail in more ways). What > I'm worried about is locking. > >> But what date would the mbox have? > > Date of retrieval. If there's a way to reliably get the date at > which it an article was posted, or even at which it arrived on > the news server, I'm not aware of it. > >> Would you be downloading new posts once a week and naming each >> new mbox for each newsgroup with the date and time of the >> download? > > That's the idea, except that the program would be run several > times a day. About as often as you'd check your mail. > >> So you'd have a directory for each newsgroup, filling with >> mboxes of new posts. > > Yes. That or all mboxes in the same directory. Doesn't matter > much. > >> Kind of strange.. > > I'm trying to do three things : read news, post, and archive. > > What I used to do was fetching with slrnpull (with infinite > retention) and reading and posting with slrn (working from the > slrnpull spool). There were two problems with that approach : > > a) Slrnpull stores each article in a separate file. That does not > scale well. > > b) For Slrn, there are only two possible states for an article : > read and unread. This is an order of magnitude less convenient > for me than the mail client three-state view (read, old and > new). > > Replacing the news spool by monthly or quarterly mbox mailboxes > solves a) and lets me replace Slrn by Mutt which solves b). > Unfortunately, that also prevents me from posting as I don't > think Mutt can post via NNTP if it didn't also read via NNTP. > But nothing prevents me from starting Slrn/NNTP to post. > >> Mutt has an nntp patch. Does _it_ store posts in mboxes? > > If you *save* or *copy* the article, probably. But I'd be > surprised if it preemptively retrieved all articles in the > current newsgroup. Does it do that with IMAP folders ? > Sounds like Frank's Tin idea is a good solution. If it was me, I'd just get devote a new disk to slrnpull's newsspool and call it a day. If you are really into conserving space, then the mboxes should all be compressed... Tom -- calhobbit (at) gmail [DOT] com
Technical Details
Message-ID:
<foaprf$jal$1@registered.motzarella.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!news.motzarella.org!motzarella.org!not-for-mailReferences:
<slrnfqgk13.40n.cheney@atc5.vermine.org> <fo9lu4$pmo$1@registered.motzarella.org> <slrnfqh4tk.40n.cheney@atc5.vermine.org>Show Full Headers
Complete Article Headers
Message-ID: <foaprf$jal$1@registered.motzarella.org> Subject: Re: Append all new articles to mbox unattended Date: Tue, 05 Feb 2008 23:01:04 +0000 From: Tom Newton <tom@server.invalid> References: <slrnfqgk13.40n.cheney@atc5.vermine.org> <fo9lu4$pmo$1@registered.motzarella.org> <slrnfqh4tk.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!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: A noiseless patient Spider Lines: 86 Reply-To: tom@server.invalid X-Trace: feeder.motzarella.org U2FsdGVkX1/yjoCpJVVZNX4YM1/uzoCmoMreJyqp9xFBv4pV1PmJJjXXHeOjfI0bmONs+MVGtVuZYX3r+6TA3nRTMumoYVMZzUk+Zy14X/chQQsC7RQxdU8QdCcJy0f1CD/czzyKVfc= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Tue, 5 Feb 2008 23:01:04 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18rFsUuZOj853xIYIlP51pd Cancel-Lock: sha1:SS9YYAaJwvcYl361GSVsdqf27+I= User-Agent: slrn/0.9.8.1 (Linux)