🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Etienne Gauthier Tue, 02 Nov 1999 00:00
rmgroup won't remove articles ...
#41230
Author: Etienne Gauthier
Date: Tue, 02 Nov 1999 00:00
39 lines
2255 bytes
Hi all,

  I have a little trouble here. I'm building an internal administration
tool. I'm asked to build a 'rename newsgroup' function.

What I thought to do :
1) Create the newname newsgroup.
2) Repost every article in the oldname newsgroup (with inews). As I
removed the reference-ID, INN really create a new article, with a new
reference-ID.
3) rmgroup oldname (actually I want to remove all articles and make
oldname be moderated to prevent users to post messages there).
4) recreate oldname, but moderated.
5) Post an article explaning that the newsgroup has been renamed. This
article contains an URL (yes it's an HTML article) that is a link top
the new newsgroups.


  My problem is that, when I send a control message 'rmgroup oldname',
the message files stay there. When using with netscape or outlook
express (we use these tools, so I have to make it works with them).
  So actually, I have two troubles:
- The message files (I use conventional storage) stay on my server.
- The messages (at least their headers) stay on the readers.

  I'd like to play with something like expire ... as it would suppress
messages on both side. But these manipulations must be done on all
replicated servers (internal to my enterprise).
  And the list of newsgroups depend on the server (actually on the
country hosting this server).


  If someone has a better idea to rename a newsgroup .. I would be happy
to read a bit about it

Etienne

Re: rmgroup won't remove articles ...
#41294
Author: Etienne Gauthier
Date: Thu, 04 Nov 1999 00:00
66 lines
3059 bytes
Thanks for your answer, 

  and sorry for the delay (I've a do just a little change to my
configuration ... and get no more posting outside for a while))

Russ Allbery wrote:
> 
> Etienne Gauthier <egauthie@capgemini.fr.nospam> writes:
> 
> > My problem is that, when I send a control message 'rmgroup oldname', the
> > message files stay there. When using with netscape or outlook express
> > (we use these tools, so I have to make it works with them).
> 
> >   So actually, I have two troubles:
> > - The message files (I use conventional storage) stay on my server.
> > - The messages (at least their headers) stay on the readers.
> 
> There's a standard trick to use with expire to get it to delete all
> articles out of rmgroup'd newsgroups the next time it runs.  Instead of
> starting your expire.ctl with something like:
> 
>         *:A:0:10:10
> 
> you instead use:
> 
>         *:A:0:0:0
>         *:U:0:10:10
>         *:M:0:10:10
> 
> The only thing that will match the first line but neither of the second
> two are articles in groups that have been removed.

  Ok, I keep this trick. Thanks.

> 
> That only takes effect the next time that expire runs, though.  So if you
> need to make the articles go away immediately, you'll have to remove them
> yourself, and then switch the group to moderated and make that additional

  Remove them myself (through all replicated servers) means cancel all
messages, I think ?
Or an other way exists ?

> one post.  The overview entries will remain in overview, and how well
> readers will cope with the situation depends a lot on the reader.  Doing a

  Ok, I'll test with the readers we use...

> ctlinnd renumber group.name after removing the old articles should help.
> 
> Down the road, I'd like to support mvgroup internal to INN (and the Usenet
> article format is likely to introduce a control message for it
> eventually); it requires a history file format that can be rewritten in
> place, though, and handling the overview is pretty tricky.
> 
> --
> Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


Thank you very much for your answer.

Regard
Etienne

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