🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58509

Re: How to change groupnames in INN

#58509
From: Jeffrey M. Vinocur
Date: Sun, 28 Apr 2002 20:48
33 lines
2291 bytes
In article <slrnacl6ck.gli.mazikonn@netsys12.kaist.ac.kr>,
Soonki Lee <mazikonn@netsys12.kaist.ac.kr> wrote:
>
>I'm running a local newsserver installed with INN rpm package on a redhat
>7.1 linux box.
>
>I created initial newsgroups when I installed the newsserver, but now I
>want to change the name of some newsgroups. How can I do this?
>
>If it is not possible by some clean and neat way, I think there is a
>way to create a new newsgroup and then to move corresponding articles from
>the existing newsgroup into the new one.. Any idea for this? The storage
>method of INN is the 'timehash'.

There is no simple way to do this.  It can be done without too
much difficulty in tradspool by rewriting the articles (with a
script) to have the new names and then rebuilding overview.
Potentially that will work for timehash, I'm not sure.

You can likely find example scripts in the archives (Google), and
it's essentially one line of Perl, the idea being to change the
name in the Newsgroups: and Xref: headers.  I can't make it up
offhand without testing, so I won't try, but if you aren't a Perl
person, say so and someone will try to give more explicit
directions.

Then you use `makehistory` to rebuild the overview databases.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <aahn6k$qvs$3@marduk.litech.org>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <slrnacl6ck.gli.mazikonn@netsys12.kaist.ac.kr>

Show Full Headers
Complete Article Headers
Message-ID: <aahn6k$qvs$3@marduk.litech.org>
Subject: Re: How to change groupnames in INN
Date: Sun, 28 Apr 2002 20:48:20 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <slrnacl6ck.gli.mazikonn@netsys12.kaist.ac.kr>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 32
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 1020026900 27644 128.84.154.54 (28 Apr 2002 20:48:20 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 28 Apr 2002 20:48:20 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)