🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Tony Cheung Sun, 07 Oct 2001 15:32
Dynamically creating groups in INN
#54567
Author: Tony Cheung
Date: Sun, 07 Oct 2001 15:32
10 lines
1229 bytes
Hi,

Is it possible to configure INN, such that when a user posts message in
a new group (unknown in active) via NNTP protocol, that group would be
automatically created, instead of being posted in the junk group?

Thanks a lot.

Tony Cheung
Re: Dynamically creating groups in INN
#54565
Author: The Incredible Expanding Meowbot
Date: Sun, 07 Oct 2001 16:00
21 lines
2056 bytes
Tony Cheung <dragonman@asiayeah.com> wrote:

> Is it possible to configure INN, such that when a user posts message in
> a new group (unknown in active) via NNTP protocol, that group would be
> automatically created, instead of being posted in the junk group?

You could make this happen, but I wouldn't actually want to try it
with INN.

One approach would be to have one of the filters check each article's
groups against active, and fork out to ctlinnd as needed.

If you've got more than a small active, however, this is going to
cause performance problems.  Stock innd needs to rebuild all its feed
tables any time a group is added, and incoming feeds are suspended
while all that happens.  You will also be missing details like whether
or not the group is supposed to be moderated.

Also you would end up with misspellings in active, and would need to
work out some way to clean up after them.
Re: Dynamically creating groups in INN
#54569
Author: Frank Slootweg
Date: Mon, 08 Oct 2001 14:30
13 lines
1394 bytes
Tony Cheung <dragonman@asiayeah.com> wrote:
> Hi,
> 
> Is it possible to configure INN, such that when a user posts message in
> a new group (unknown in active) via NNTP protocol, that group would be
> automatically created, instead of being posted in the junk group?

  Which newsreader allows this (posting to an unknown group), or do you
mean *cross*posted to an unknown group?

  Reading between the lines: Are you trying to set up a dynamic demand
'feed', i.e. get only those groups which are actually read?
Re: Dynamically creating groups in INN
#54635
Author: Dave Korn
Date: Thu, 11 Oct 2001 11:07
26 lines
1955 bytes
Tony Cheung wrote in message <3BC0757D.4E685194@asiayeah.com>...
>Hi,
>
>Is it possible to configure INN, such that when a user posts message in
>a new group (unknown in active) via NNTP protocol, that group would be
>automatically created, instead of being posted in the junk group?
>
>Thanks a lot.
>
>Tony Cheung

  You could maybe write a script that scanned the junk group, spotted the
incoming messages, parsed the Newsgroups: header, and called innctl (or
whatever it's called these days) to newgroup the group locally (as opposed
to say synthesizing and injecting a cmsg newgroup which might inadvertently
get propagated), then recycle the article to the incoming feed?

  I think that might work.

       DaveK
--
Burn your ID card!  http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!


Re: Dynamically creating groups in INN
#54638
Author: Jeffrey M. Vinocur
Date: Thu, 11 Oct 2001 12:56
29 lines
2308 bytes
In article <dOfx7.205$gW6.1078174@newsr2.u-net.net>,
Dave Korn <no.spam@my.mailbox.invalid> wrote:
>Tony Cheung wrote in message <3BC0757D.4E685194@asiayeah.com>...
>>
>>Is it possible to configure INN, such that when a user posts message in
>>a new group (unknown in active) via NNTP protocol, that group would be
>>automatically created, instead of being posted in the junk group?
>
>  You could maybe write a script that scanned the junk group, spotted the
>incoming messages, parsed the Newsgroups: header, and called innctl (or
>whatever it's called these days) to newgroup the group locally (as opposed
>to say synthesizing and injecting a cmsg newgroup which might inadvertently
>get propagated), then recycle the article to the incoming feed?

ctlinnd.  Trouble is that once INN has seen an article, it
doesn't like to touch it again.

Hmm.  I suppose you could run two INNs, a transit server with no
retention for the actual groups you carry (just feed those
articles directly along) and an actual main server.  Stuff to an
unknown group doesn't leave the transit server, except that it
gets filed in junk and a script notices, creates the group on
both servers, and then feeds the article over using innxmit or
something.

-- 
Jeffrey M. Vinocur
jeff@litech.org
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