🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Grandmasta Tue, 01 Jun 1999 00:00
Creating a copy of a forum (or renaming) with INN 1.5?
#37759
Author: Grandmasta
Date: Tue, 01 Jun 1999 00:00
21 lines
1094 bytes
Hi,

1) On our news server, there is currently a forum named
lineone.lineone.games, how can I rename this to lineone.lineone.fun?
If this is not possible, can I create a new forum and then copy all of the
messages from the original forum to the new forum?

2) Can I forward postings to a certain forum to an email address? If so,
how?

Any help would be greatly appreciated.

Faisal







Re: Creating a copy of a forum (or renaming) with INN 1.5?
#37750
Author: Russ Allbery
Date: Tue, 01 Jun 1999 00:00
25 lines
1528 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [laww@lineone.net]

>>   If this is not possible, can I create a new forum and then copy
>>   all of the messages from the original forum to the new forum?

> Yes, just change the name in the active file (you should stop the news
> server first).  You'll have to edit the Xref-line in each individual
> article, though.  Perhaps something like

> perl -pi.bak -e 's/^(Xref: servername lineone.lineone).games/$1.fun/' *

> Remember that all your users will need to adjust their subscription
> list.

Note that this doesn't build an overview file, although the next time you
run expireover -a, that should be taken care of.

More problematically, though, this doesn't get those articles into the
history file, which in my experience means they never get expired.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Creating a copy of a forum (or renaming) with INN 1.5?
#37784
Author: Kjetil Torgrim Homme
Date: Wed, 02 Jun 1999 00:00
19 lines
1375 bytes
[Russ Allbery]

>   More problematically, though, this doesn't get those articles into
>   the history file, which in my experience means they never get
>   expired.

Duh!  I forgot about that (so there is one advantage to the tokens in
INN 2.x ;-).  Well, doing a sed on the history text file and running
makehistory should work, I think.

(Oh, and the Perl regexp I posted won't work right for crossposted
articles.)

I think it boils down to "you don't really want to do this" :-)


Kjetil T.

Re: Creating a copy of a forum (or renaming) with INN 1.5?
#37785
Author: Kjetil Torgrim Homme
Date: Wed, 02 Jun 1999 00:00
30 lines
1779 bytes
[laww@lineone.net]

>   1) On our news server, there is currently a forum named
>   lineone.lineone.games, how can I rename this to lineone.lineone.fun?

No.

>   If this is not possible, can I create a new forum and then copy
>   all of the messages from the original forum to the new forum?

Yes, just change the name in the active file (you should stop the news
server first).  You'll have to edit the Xref-line in each individual
article, though.  Perhaps something like

perl -pi.bak -e 's/^(Xref: servername lineone.lineone).games/$1.fun/' *

Remember that all your users will need to adjust their subscription
list.

>   2) Can I forward postings to a certain forum to an email address?
>   If so, how?

Either make it moderated, and let a script send it to the newsgroup
and via email, or use "find -newer timestamp -exec mail; touch
timestamp" (very approx. syntax) in the traditional spool.


Kjetil T.

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