Article View: news.software.nntp
Article #80695Re: autocreate groups when someone posts to a nonexisting group?
From: D. Stussy
Date: Thu, 23 Apr 2009 20:08
Date: Thu, 23 Apr 2009 20:08
37 lines
2767 bytes
2767 bytes
"Jon Bendtsen" <noone@example.com> wrote in message
news:gsn69g$3f3$1@munin.diku.dk...
> Bo Lindbergh 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).
>
> No, it wont for my setup, see my other more detailed posting to why
> typos wont matter. The poster is mainly a python script that takes
> project, branch and tag names from subversion.
>
> Further more, in subversion my users can create projects themselves,
> and there hasnt been any problem with people making typos.
I too have experimented with this. I'm not certain what kind of filter you
plan on using to prevent the misspelled groups; they are a problem.
As alot of the misspelled groups contain only spam, what I do is when I run
my script that scans the {newslog}"/unwanted.log" file is to create any
validly-named group (via a regex) with a moderation flag of "j" (so it will
be passed only to peers that want the "junk" pseudogroup). This is often
followed with a pass of using actsync feeding mod-active to remove some of
the invalid names that get past the regex (like names that have an
all-numeric component, "bork" groups, etc.).
~news/bin/actsync -p 0 -b 2 -d 2 -t 2 ./active ./active |
~news/bin/mod-active
Mod-active is your friend in this. Issuing individual "ctlinnd newgroup"
commands is not.
Technical Details
Message-ID:
<gsqhrf$6f1$1@aux.snarked.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!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mailReferences:
<gsn31b$37q$1@munin.diku.dk> <gsn52p$sqq$1@aioe.org> <gsn69g$3f3$1@munin.diku.dk>Show Full Headers
Complete Article Headers
Message-ID: <gsqhrf$6f1$1@aux.snarked.org> Subject: Re: autocreate groups when someone posts to a nonexisting group? Date: Thu, 23 Apr 2009 13:08:02 -0700 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <gsn31b$37q$1@munin.diku.dk> <gsn52p$sqq$1@aioe.org> <gsn69g$3f3$1@munin.diku.dk> 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!weretis.net!feeder1.news.weretis.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 37 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net X-Trace: aux.snarked.org 1240517295 6625 71.106.211.188 (23 Apr 2009 20:08:15 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Thu, 23 Apr 2009 20:08:15 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478