🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81172

Re: Another INN 2.5.0 rc2 bug - control.ctl processing

#81172
From: Julien ÉLIE
Date: Sun, 31 May 2009 22:32
60 lines
3404 bytes
Hi D. Stussy,

>> Please read the EXAMPLES section in the same man page.
>> You will see that there are *5* actions done for:
>>
>>     checkgroups:foo@bar.com:foo.*:verify-key-foo
>>     checkgroups:foo@bar.com:foo.bar2.*:doit
>>     checkgroups:foo@bar.com:foo.bar3.*:mail
>>     checkgroups:foo@bar.com:foo.bar4|foo.bar4.*:doit
>>     checkgroups:foo@bar.com:foo.bar5|foo.bar5.*:drop
>>
>> It is the same if you put X copies af "all" with a log action.
>
> So, for each of my "log=ignore" lines, when a checkgroups comes it, it will
> MATCH all of those lines?  It will also extract all of the groups matched
> (e.g. for "hr.*", this will be a null set) and feed that to checkgroups?
> Therefore, since the hierarchy of the checkgroups didn't match, it
> "processed" a NULL checkgroups message for each line?

You are using "log" so nothing is processed and the whole checkgroups
is written to the log file.


> That is clearly not what was expected.  I would expect that if the
> resulting checkgroups group (sub-)set that matches is NULL, it would NOT
> match and therefore NOT be recorded into the log file(s).

Logging means a manual inspection afterwards.

Consider that you have in your active file:

foo.bar.misc
foo.test

and that you receive the following checkgroups:

foo.admin
foo.test

with the following control.ctl line:

checkgroups:*:foo.bar.*:log=ignore

Then, according to what you want (NO match and NO record), how will
you be aware that you have an obsolete newsgroup, namely foo.bar.misc?

You are using the "log" option; it is for manual inspection and you
want to discard possibly useful information.  Fine, but as I told you,
you have to come up with a better algorithm which handles the edge case
I suggest here.
(And I can write 14 lines for foo.bar1.* ... foo.bar14.*, all of them
with "log=ignore".)

How could I handle that?

-- 
Julien ÉLIE

« Ad iura renunciata, non datur regressus. » 
Technical Details
Message-ID: <gvv0ha$21b$1@news.trigofacile.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!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gvpshs$7c4$1@aux.snarked.org> <gvqsba$6o2$1@news.trigofacile.com> <gvsgbm$gfm$1@aux.snarked.org> <gvtjcl$nmf$1@news.trigofacile.com> <gvut8f$l3m$1@aux.snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <gvv0ha$21b$1@news.trigofacile.com>
Subject: Re: Another INN 2.5.0 rc2 bug - control.ctl processing
Date: Mon, 1 Jun 2009 00:32:09 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gvpshs$7c4$1@aux.snarked.org> <gvqsba$6o2$1@news.trigofacile.com> <gvsgbm$gfm$1@aux.snarked.org> <gvtjcl$nmf$1@news.trigofacile.com> <gvut8f$l3m$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!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 60
NNTP-Posting-Host: aaubervilliers-151-1-45-218.w83-114.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1243809130 2091 83.114.135.218 (31 May 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sun, 31 May 2009 22:32:10 +0000 (UTC)
In-Reply-To: <gvut8f$l3m$1@aux.snarked.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049