🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80646

Re: autocreate groups when someone posts to a nonexisting group?

#80646
From: Curt Welch
Date: Wed, 22 Apr 2009 17:27
46 lines
3815 bytes
Bo Lindbergh <blgl@hagernas.com> wrote:
> In article <gsn31b$37q$1@munin.diku.dk>, Jon Bendtsen <noone@example.com>
> wrote:
> > Can i autocreate groups when someone posts to a nonexisting group?
>
> Bad idea.  Your active file would fill up with a never-ending
> stream of typos of existing group names (nes.software.nntp,
> news.software.mmtp, and so on, et cetera, og så videre).
>
> (Isn't this in a FAQ somewhere?)
>
> /Bo Lindbergh

On the subject of auto creating groups, my server did it for many years and
it worked just fine.  It's it's done right, it's not a bad idea at all (at
least for alt groups).  The only trick is that you have to auto-delete them
as well because of the typo problem.  I used a rather complex algorithm in
the server which first would "hide" the group from the active list when it
was idle after an extended period and then later delete it.  You don't want
to lose the article numbering just because a group went quite for a month
but by hiding the groups that seemed to have died, it kept the size of the
active file a bit more reasonable.

The other improvement I thought up, but never got around to implementing,
is to not auto-create on cross post for articles received from peers.  That
basically meant that other servers had to create the group and someone had
to post directly to that new group without cross posting, before it would
be auto-created on mine.  That would have greatly cut down on the typo and
junk groups.  Still, even without that, the active file was reasonable in
length- around 125K - where as most commercial services have active files
near that size already.

The OP however has a special need where auto creating might work just fine.
I don't know if INN has an auto create feature?  Diablo does.  If he has
control over the subversion archives, he might consider adding hooks in
subversion that would trigger the creation of groups whenever the new
branches etc were created?  Not sure if that's possible for what he needs
but I know subversion has some ability to trigger scripts.

The other idea (if there's not a simple auto-create option on the server),
is to use a more advanced mail-to-news code that does the auto-create of
the group for you if it doesn't exist?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20090422132354.748$Fn@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
References: <gsn31b$37q$1@munin.diku.dk> <gsn52p$sqq$1@aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <20090422132354.748$Fn@newsreader.com>
Subject: Re: autocreate groups when someone posts to a nonexisting group?
Date: Wed, 22 Apr 2009 17:27:05 +0000
From: curt@kcwc.com (Curt Welch)
References: <gsn31b$37q$1@munin.diku.dk> <gsn52p$sqq$1@aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!transit3.readnews.com!news-xxxfer.readnews.com!transit4.readnews.com!textspool1.readnews.com!news-out.readnews.com!postnews3.readnews.com!nr5-q1.newsreader.com.POSTED!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-NRC-Trace: NewsReader.Com Sct2aH/PdvuxdyqZwZw_zv.BdR/V0BM+fcfRAcWa-4TXQd
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
 ?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 46
NNTP-Posting-Host: 92cb7c4f.nr5-q1.newsreader.com
X-Trace: DXC=Oa3XZTF?7H@bQI74DDah7FbgZaH`e<A[IZ?:i9<JJBSNOVNCc=eHCnNiJ;
 iV2YAoGE0F3WoQL<AiHeQEf0bonZjF
X-Complaints-To: abuse@newsreader.com