🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55676

Re: How to change a newsgroup name

#55676
From: MikeL
Date: Wed, 19 Dec 2001 03:02
41 lines
2785 bytes
On 17 Dec 2001 19:13:39 +0100, Kjetil Torgrim Homme
<kjetilho@haey.ifi.uio.no> wrote:

>[Jeffrey M. Vinocur]
>
>>   I don't suppose they'd be happy with creating new groups and
>>   making the old ones no-posting (i.e., just archived)?
>>   
>>   Otherwise, you can rename the directories (I'm assuming you're
>>   using tradspool), rewrite each article's Newsgroups and Xref
>>   headers (this is one line of Perl), and then rebuild your
>>   overview/history databases, but `makeoverview` is not entirely
>>   reliable in 2.3.x unfortunately.
>

No, I'm using tradindexed (not tradspool). (That's the way it was
configured, I didn't know any better to change it.)

So, here's what I need to do: 

1) starting with /var/spool/news/articles read directories
recursively, process each file (rewrite the Newsgroups & Xref headers
to reflect whatever our new naming scheme is. 

2) run makeoverview  (which, is not reliable)

Any other gotchas I need to watch out for?

Thanks for you responses....

Mike

>You only need to rewrite Xref if crossposts should be marked correctly
>when readers read old articles, and you only need to rewrite
>Newsgroups if you anticipate readers posting followups to old
>articles.
>
>If you leave a symlink to the new directory, you don't have to rewrite
>paths in history.

Technical Details
Message-ID: <ii002uon534hgneag1hjelv4ci5l0pfl03@4ax.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin3.nnrp.aus1.giganews.com.POSTED!not-for-mail
References: <6d0s1usk7r9vseemcq5vsivjj69m3nl36r@4ax.com> <9vl7ir$v5s$3@marduk.litech.org> <1r4rmpd8a4.fsf@fimm.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <ii002uon534hgneag1hjelv4ci5l0pfl03@4ax.com>
Subject: Re: How to change a newsgroup name
Date: Wed, 19 Dec 2001 03:02:58 GMT
From: MikeL <MikeL@spammers-suck.com>
References: <6d0s1usk7r9vseemcq5vsivjj69m3nl36r@4ax.com> <9vl7ir$v5s$3@marduk.litech.org> <1r4rmpd8a4.fsf@fimm.ifi.uio.no>
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!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin3.nnrp.aus1.giganews.com.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 40
NNTP-Posting-Date: Tue, 18 Dec 2001 21:02:58 CST
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-Q0VhXlETCnwrD5JVkLcEXZCpQLyf6z92POzPCY5YHNvrkk/BXPMaWcRyizatS4fsAfEm19D2ZtxrK8I!mUcYtsnZWUeJrWMZtllX/tSYX8ZBgI2HU0ct7BOahNsluizAHEwIOA6/fqWRMhsYgP8Z
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly