🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Andre Majorel Sun, 24 Jun 2007 11:37
Retrieve new articles a la Slrnpull but into an mbox
#201087
Author: Andre Majorel
Date: Sun, 24 Jun 2007 11:37
16 lines
1728 bytes
Is there Unix software out there that works like Slrnpull but
saves the posts to a single mbox-format file ?

Bonus points for switching to a new mbox file, say, every
quarter so as not to end up with a 200-MB mbox on busy groups.

More bonus points for being able to download from multiple news
servers.

Thanks.

-- 
André Majorel <URL:http://www.teaser.fr/~amajorel/>
(Counterfeit: pocacohyl@pavlov.com jymocoj@therefor.com)
"Duty, honor, country" -- Douglas MacArthur
"Travail, famille, patrie" -- Philippe Pétain
Re: Retrieve new articles a la Slrnpull but into an mbox
#201088
Author: Whiskers
Date: Sun, 24 Jun 2007 12:47
53 lines
3799 bytes
On 2007-06-24, Andre Majorel <cheney@halliburton.com> wrote:
> Is there Unix software out there that works like Slrnpull but
> saves the posts to a single mbox-format file ?
>
> Bonus points for switching to a new mbox file, say, every
> quarter so as not to end up with a 200-MB mbox on busy groups.
>
> More bonus points for being able to download from multiple news
> servers.
>
> Thanks.

I don't know of any usenet software that will fetch articles into an 
'mbox' file (but it seems that most newsreaders will 'save' posted articles 
in that format so that they can be read using an email client - slrn 
certainly does, even though it can't read mbox files).

Leafnode seems to be the most widely used 'caching proxy NNTP server' for 
small Unix/Linux systems; it can fetch from and post to as many 
news-servers as you have accounts with, and fill gaps in the articles 
available in a particular group from one server by getting the missing 
ones from whichever other server you have set it up with happens to have 
them.  It stores its spool as plain text files, one file per article, one 
directory per newsgroup.  As with any usenet software I've ever used 
(apart from the current newsreader built into the Opera browser),  Leafnode
will purge old articles according to whatever policy you configure -
globally and per group, if you want different 'retentions' for different
groups.  The purging is expected to be done as a cron job, of course - as 
fetching can be, if you want.  (I haven't used slrn-pull, but I'm sure it 
will have an option to 'expire' old articles automatically).

Noffle (which I am using at present) makes more efficient use of disc 
space by keeping its spool in a database file (gdbm format) (overview 
files are stored as text, one per group) and also fetches more efficiently
than Leafnode.  Noffle can use as many servers as you have accounts with,
but for each group it will only fetch from and post to one server - which
is fine, if your upstream feeds are reliable.

You could also look into sn and INN; I haven't tried either of those.  INN 
is the software used by many large public news-services, but will run on a 
modern desktop machine.

Any of these local servers can be used in conjunction with any normal 
usenet client ('newsreader') using the NNTP protocol.

The foregoing remarks assume that you are interested only in text groups; 
extensive use of binary groups requires a rather different approach, which
I am not familiar with.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: Retrieve new articles a la Slrnpull but into an mbox
#201090
Author: Frank Slootweg
Date: Sun, 24 Jun 2007 14:03
40 lines
2872 bytes
Whiskers <catwheezel@operamail.com> wrote:
> On 2007-06-24, Andre Majorel <cheney@halliburton.com> wrote:
> > Is there Unix software out there that works like Slrnpull but
> > saves the posts to a single mbox-format file ?
> >
> > Bonus points for switching to a new mbox file, say, every
> > quarter so as not to end up with a 200-MB mbox on busy groups.
> >
> > More bonus points for being able to download from multiple news
> > servers.
> >
> > Thanks.
> 
> I don't know of any usenet software that will fetch articles into an 
> 'mbox' file (but it seems that most newsreaders will 'save' posted articles 
> in that format so that they can be read using an email client - slrn 
> certainly does, even though it can't read mbox files).

  The tin newsreader can fetch articles in batch mode and can save them
in mbox format or mail them.

  Saving: The saved articles are one (mbox format) file per article with
the article number (1, 2, ... or more generally n, n+1, ...) as their
name. Writing a little shell script to concatenate the articles into a
single mbox format file should not be too difficult.

  Mailing: If your mailer uses mbox format, the mailed articles will
obviously be in mbox format (one mbox format file for all articles), but
I don't know what headers (other than "To:") or other stuff is added, so
the save option or probably better/easier.

  tin uses 'standard' .newsrc format, so it can share .newsrc format
files with other newsreaders (like slrn). So you can use tin *just* for
this function (saving/mailing) and use another newsreader for your
normal newsreading. If you *want*, tin can of course read the saved
(unconcatenated) articles.

  I hope this helps.

[rest deleted]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads