🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Codd Thu, 25 Jan 2001 16:05
Newbie: Move articles?
#50139
Author: Codd
Date: Thu, 25 Jan 2001 16:05
18 lines
1245 bytes
Hi,

We run innd here internally for collaboration etc and I have been given
the following request:

"We would like to move all articles older than one month from one
newsgroup to another"

Can somebody out there tell me how to achieve this?

Thanks in advance!

Codd


Sent via Deja.com
http://www.deja.com/
Re: Newbie: Move articles?
#50141
Author: Terrance Richard Boyes
Date: Thu, 25 Jan 2001 20:33
46 lines
3263 bytes
Codd <codd@my-deja.com> wrote:

> We run innd here internally for collaboration etc and I have been given
> the following request:

> "We would like to move all articles older than one month from one
> newsgroup to another"

Well if you set the group to expire after 30 days and then
modify the expirerm script to munge the Newsgroups:[1], append
the Message-ID to the References:, regenerate the Message-ID[2],
and then repost it. The munging could easily be done in perl,
awk, etc...

Some newsreaders, eg tin, already have facilities to repost
articles in a similar way.

[1] it probably also makes sense to insert an X-Newsgroups: or
something which holds the original newsgroups.
[2] an easy solution would be to do something like adding
the word "archive." to the start of the old one.

The only problems I can see with doing it that way is if you
want to access the articles by their original Message-ID,
and I'm not sure how well References: threading would work.

If you need to keep the original Message-ID then you may need
to get a little tricky with timing, but you should still be
able to do it. Part of the problem with keeping the original
ID is that the article will be rejected as a duplicate. You 
may have to delay the repost slightly to ensure that they don't
get rejected.

Question: at what point do the message-ids get removed from
the history db ?

And to ensure it all works you'll need to set artcutoff high
enough so that the articles don't get rejected as too old,
and make sure that the remember value isn't greater than the
expire value.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
That which is not good for the swarm, neither is it good for the bee.

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