Thread View: news.software.nntp
10 messages
10 total messages
Started by Tim Fardell
Wed, 07 Nov 2007 14:41
Filing articles in a different group?
Author: Tim Fardell
Date: Wed, 07 Nov 2007 14:41
Date: Wed, 07 Nov 2007 14:41
17 lines
1608 bytes
1608 bytes
Is it possible to configure INN (version 2.4.3) to file articles for a specific group in a different local group? For example, if I have a local group called "local.sausages", I want all messages posted to "some.sausage.related.group" to be filed locally in 'local.sausages'. In this example, my active file would contain local.sausages but not some.sausage.related.group. Can that be done, and if so, would it cause issues with cross-posted articles? Thanks! -- Please remove all-your-clothes before replying.
Re: Filing articles in a different group?
Author: Russ Allbery
Date: Wed, 07 Nov 2007 17:53
Date: Wed, 07 Nov 2007 17:53
32 lines
2458 bytes
2458 bytes
Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes:
> Is it possible to configure INN (version 2.4.3) to file articles for a
> specific group in a different local group?
> For example, if I have a local group called "local.sausages", I want all
> messages posted to "some.sausage.related.group" to be filed locally in
> 'local.sausages'. In this example, my active file would contain
> local.sausages but not some.sausage.related.group.
> Can that be done, and if so, would it cause issues with cross-posted
> articles?
Yes, it can be done:
ctlinnd newgroup some.sausage.related.group =local.sausages
If I remember how the implementation works, users will be able to read
either group and see the same articles, but will only be able to post to
local.sausages. (Of course, if you don't want readers to see the aliased
group at all, you can exclude it in readers.conf.)
Crossposted articles should work the same as any other articles.
Note that this isn't a widely used feature and hence may have some
surprises lurking.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Filing articles in a different group?
Author: Tim Fardell
Date: Thu, 08 Nov 2007 09:57
Date: Thu, 08 Nov 2007 09:57
44 lines
2974 bytes
2974 bytes
On Wed, 7 Nov 2007, Russ Allbery wrote: > Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes: > > > Is it possible to configure INN (version 2.4.3) to file articles for a > > specific group in a different local group? > > Yes, it can be done: > > ctlinnd newgroup some.sausage.related.group =local.sausages > > If I remember how the implementation works, users will be able to read > either group and see the same articles, but will only be able to post to > local.sausages. (Of course, if you don't want readers to see the aliased > group at all, you can exclude it in readers.conf.) > > Crossposted articles should work the same as any other articles. > > Note that this isn't a widely used feature and hence may have some > surprises lurking. Thanks Russ! Will this work if both groups already exist in the active file, or will I need to delete one or both of them first? Also, can it be done for multiple groups into the same target group, for example: ctlinnd newgroup local.cats-for-sale =local.forsale ctlinnd newgroup local.dogs-for-sale =local.forsale If this works, could it not form the basis of a much easier method of renaming a newsgroup than those proposed in the INN FAQ? I.e. - Simply set INN to file all articles in the old group to the new group, re-feed all the articles from the old group back to the server so that they appear in the new group, then delete the old group? It sounds too simple to be viable - have I overlooked something here? -- Please remove all-your-clothes before replying.
Re: Filing articles in a different group?
Author: Jeffrey M. Vinocur
Date: Thu, 08 Nov 2007 11:35
Date: Thu, 08 Nov 2007 11:35
46 lines
2857 bytes
2857 bytes
In article <Pine.LNX.4.44.0711080947240.7096-100000@menace.crumblenet.co.uk>, Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote: >On Wed, 7 Nov 2007, Russ Allbery wrote: > >> If I remember how the implementation works, users will be able to read >> either group and see the same articles, but will only be able to post to >> local.sausages. I just tested, and was surprised to see that the aliased group appears empty -- the articles are only visible in the local group. However, the Newsgroups header still lists the name of the aliased group. >Will this work if both groups already exist in the active file, or will I >need to delete one or both of them first? >Also, can it be done for multiple groups into the same target group, for >example: > > ctlinnd newgroup local.cats-for-sale =local.forsale > ctlinnd newgroup local.dogs-for-sale =local.forsale I'd say probably yes. >If this works, could it not form the basis of a much easier method of >renaming a newsgroup than those proposed in the INN FAQ? > >I.e. - Simply set INN to file all articles in the old group to the new >group, re-feed all the articles from the old group back to the server so >that they appear in the new group, then delete the old group? > >It sounds too simple to be viable - have I overlooked something here? Two problems at least with this approach: (1) You can't refeed articles like that because INN will refuse to have a new article with the same Message-ID, (2) the alias approach doesn't change the Newsgroups header, it simply changes how the articles are filed. -- Jeffrey M. Vinocur jeff@litech.org
Re: Filing articles in a different group?
Author: Tim Fardell
Date: Thu, 08 Nov 2007 11:54
Date: Thu, 08 Nov 2007 11:54
33 lines
2694 bytes
2694 bytes
On Thu, 8 Nov 2007, Jeffrey M. Vinocur wrote: > In article <Pine.LNX.4.44.0711080947240.7096-100000@menace.crumblenet.co.uk>, > Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote: > > >If this works, could it not form the basis of a much easier method of > >renaming a newsgroup than those proposed in the INN FAQ? > > > >I.e. - Simply set INN to file all articles in the old group to the new > >group, re-feed all the articles from the old group back to the server so > >that they appear in the new group, then delete the old group? > > > >It sounds too simple to be viable - have I overlooked something here? > > Two problems at least with this approach: (1) You can't refeed > articles like that because INN will refuse to have a new article > with the same Message-ID, You could do this by feeding all the articles off onto another server, delete the spool then rebuild the history, then feed them all back from the spare server while filing them to the new newsgroup. Then delete the old group. > (2) the alias approach doesn't change > the Newsgroups header, it simply changes how the articles are > filed. Is that a problem? Provided the local users 'see' the messages in the new group? -- Please remove all-your-clothes before replying.
Re: Filing articles in a different group?
Author: Russ Allbery
Date: Thu, 08 Nov 2007 18:18
Date: Thu, 08 Nov 2007 18:18
28 lines
2567 bytes
2567 bytes
jeff@litech.org (Jeffrey M. Vinocur) writes:
> Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote:
>> On Wed, 7 Nov 2007, Russ Allbery wrote:
>>
>>> If I remember how the implementation works, users will be able to read
>>> either group and see the same articles, but will only be able to post
>>> to local.sausages.
> I just tested, and was surprised to see that the aliased group appears
> empty -- the articles are only visible in the local group. However, the
> Newsgroups header still lists the name of the aliased group.
Oh, that's right, we broke this when we switched to the overview API and
never fixed it.
> Two problems at least with this approach: (1) You can't refeed articles
> like that because INN will refuse to have a new article with the same
> Message-ID, (2) the alias approach doesn't change the Newsgroups header,
> it simply changes how the articles are filed.
Which means that followups are rejected unless the user edits the
Newsgroups header themselves.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Filing articles in a different group?
Author: Jeffrey M. Vinocur
Date: Fri, 09 Nov 2007 03:18
Date: Fri, 09 Nov 2007 03:18
14 lines
1841 bytes
1841 bytes
In article <Pine.LNX.4.44.0711081148490.9485-100000@menace.crumblenet.co.uk>, Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote: > >You could do this by feeding all the articles off onto another server, >delete the spool then rebuild the history, then feed them all back from >the spare server while filing them to the new newsgroup. Then delete the >old group. ...hard to make the case that this is an easy method. -- Jeffrey M. Vinocur jeff@litech.org
Re: Filing articles in a different group?
Author: Tim Fardell
Date: Fri, 09 Nov 2007 09:54
Date: Fri, 09 Nov 2007 09:54
21 lines
2132 bytes
2132 bytes
On Fri, 9 Nov 2007, Jeffrey M. Vinocur wrote: > In article <Pine.LNX.4.44.0711081148490.9485-100000@menace.crumblenet.co.uk>, > Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote: > > > >You could do this by feeding all the articles off onto another server, > >delete the spool then rebuild the history, then feed them all back from > >the spare server while filing them to the new newsgroup. Then delete the > >old group. > > ...hard to make the case that this is an easy method. It's easier than both of the methods described in the INN FAQ. It completely removes the need to edit every single article to fix the Xref header, and also removes the problem of finding and re-creating links to cross-posted articles. -- Please remove all-your-clothes before replying.
Re: Filing articles in a different group?
Author: Tim Fardell
Date: Thu, 15 Nov 2007 15:26
Date: Thu, 15 Nov 2007 15:26
29 lines
2573 bytes
2573 bytes
On Thu, 8 Nov 2007, Jeffrey M. Vinocur wrote: > In article <Pine.LNX.4.44.0711080947240.7096-100000@menace.crumblenet.co.uk>, > Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote: > >On Wed, 7 Nov 2007, Russ Allbery wrote: > > > >> If I remember how the implementation works, users will be able to read > >> either group and see the same articles, but will only be able to post to > >> local.sausages. > > I just tested, and was surprised to see that the aliased group > appears empty -- the articles are only visible in the local > group. However, the Newsgroups header still lists the name of > the aliased group. I just tried this with two pre-existing groups. Both groups still show all their posts that they contained before the redirection, but any attempt to post to the redirected group gives a error: 441 The newsgroup "foo" has been renamed. and the post fails. Which is actually pretty-much exactly the effect I want when people try to post to the old group, so that's excellent behaviour. I haven't tried feeding articles in yet, but I presume they will just get redirected into the new group as described.
Re: Filing articles in a different group?
Author: D. Stussy
Date: Thu, 15 Nov 2007 21:50
Date: Thu, 15 Nov 2007 21:50
38 lines
3251 bytes
3251 bytes
"Tim Fardell" <tim.fardell.all-your-clothes@virgin.net> wrote in message news:Pine.LNX.4.44.0711151522280.7757-100000@menace.crumblenet.co.uk... > On Thu, 8 Nov 2007, Jeffrey M. Vinocur wrote: > > > In article <Pine.LNX.4.44.0711080947240.7096-100000@menace.crumblenet.co.uk>, > > Tim Fardell <tim.fardell.all-your-clothes@virgin.net> wrote: > > >On Wed, 7 Nov 2007, Russ Allbery wrote: > > > > > >> If I remember how the implementation works, users will be able to read > > >> either group and see the same articles, but will only be able to post to > > >> local.sausages. > > > > I just tested, and was surprised to see that the aliased group > > appears empty -- the articles are only visible in the local > > group. However, the Newsgroups header still lists the name of > > the aliased group. > > I just tried this with two pre-existing groups. Both groups still show all > their posts that they contained before the redirection, but any attempt to > post to the redirected group gives a error: > > 441 The newsgroup "foo" has been renamed. > > and the post fails. Which is actually pretty-much exactly the effect I > want when people try to post to the old group, so that's excellent > behaviour. > > I haven't tried feeding articles in yet, but I presume they will just get > redirected into the new group as described. It's documented that redirection works only for messages fed. Posting must be made directly to the destination group of the redirection. If your client program isn't doing this automatically (by either figuring this out when you first subscribed by getting the status from the "LIST [ACTIVE]" command, or by re-fetching the status via "LIST ACTIVE group" after getting the error), submit a bug report.
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