Article View: news.software.nntp
Article #50141Re: Newbie: Move articles?
From: Terrance Richard Boyes
Date: Thu, 25 Jan 2001 20:33
Date: Thu, 25 Jan 2001 20:33
46 lines
3263 bytes
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.
Technical Details
Message-ID:
<20010125.203334.9E9801DE.mwaa@pierrot.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!btnet-peer0!btnet!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mailReferences:
<94pisa$j0o$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
Message-ID: <20010125.203334.9E9801DE.mwaa@pierrot.co.uk> Subject: Re: Newbie: Move articles? Date: Thu, 25 Jan 2001 20:33:34 +0000 From: tez@pierrot.co.uk (Terrance Richard Boyes) References: <94pisa$j0o$1@nnrp1.deja.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!btnet-peer0!btnet!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail Newsgroups: news.software.nntp Organization: ECL.Net X-Trace: mail2news.demon.co.uk 980454828 mail2news:18613 mail2news mail2news.demon.co.uk X-Complaints-To: abuse@demon.net X-Mail2News-Path: news.demon.net!anchor-post-34.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk X-Lan-Trace: news.pierrot.lan 20010125.203334 news:mwaa IDENT tez@pierrot.demon.co.uk User-Agent: tin/pre-1.4-980618 (AMIGA) X-Cancel-Lock: TEZT:7cbbcf582a2abddc417c98a67c7b04d2 f5dcb254377a60b22ecf35056b9b30c4 X-PGP-Keyfile: <URL:http://www.pierrot.co.uk/pgpauth/> X-PGP-Fingerprint: 20 66 0F E8 85 64 9C 2C 6F 82 6F 19 6C 2F 6A 1D X-PGP-Auth: pub 512/3A14C4B9 1999/04/22 Tez Boyes <tez@pierrot.co.uk> iQBVAwUBOnCNo0Xush46FMS5AQGPlgH9ES3i4+/lsRj/C9e0Z0ee2zyfw04d/m5o T58lIyFo13EBTdfqCN+woKinMIWFSD23qC69RTV36lKhLw1hiFGusQ== =tR58 X-NaMLServ: $VER: v0.9b <tez@pierrot.co.uk> Lines: 45