🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by MikeL Mon, 17 Dec 2001 14:36
How to change a newsgroup name
#55656
Author: MikeL
Date: Mon, 17 Dec 2001 14:36
21 lines
1901 bytes
I'm running an internal news server (inn 2.3.1). The newsgroups are
named like this: 

productname.requirements
productname.design
productname.design.datahelper
productname.design.exception
...

Naturally, now the company wants to change the name of the product.
(And, of course, all newsgroups start with the old name.) The ovmethod
specified in inn.conf is tradindexed.

So, is there any easy way to either globally change the productname or
eliminate it altogether?

TIA,

Mike

Re: How to change a newsgroup name
#55657
Author: Jeffrey M. Vinocur
Date: Mon, 17 Dec 2001 16:47
24 lines
1707 bytes
In article <6d0s1usk7r9vseemcq5vsivjj69m3nl36r@4ax.com>,
MikeL  <MikeL@spammers-suck.com> wrote:
>
> [ internal groups productname.* ]
>
>Naturally, now the company wants to change the name of the product.
>(And, of course, all newsgroups start with the old name.) 

Ugh.

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.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: How to change a newsgroup name
#55658
Author: Kjetil Torgrim Homme
Date: Mon, 17 Dec 2001 18:13
23 lines
1933 bytes
[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.

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.

-- 
Kjetil T.		abusing standards for the greater good
			http://www.microsoft.com:products@3333866552/
Re: How to change a newsgroup name
#55676
Author: 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.

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