🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81135

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

#81135
From: Julien ÉLIE
Date: Sat, 30 May 2009 08:56
41 lines
2877 bytes
Hi D. Stussy,

> "If the control message is a newgroup or rmgroup, the third field,
> <newsgroups>, is a shell-style pattern matching the  newsgroup affected by
> the control message (especially "?" matches exactly one character, "*"
> matches zero or more characters and "|" permits to match several patterns
> on the same line -- for instance "comp.*|humanities.*"  matches every
> newsgroup whose name begins with "comp." or "humanities.").  If the control
> message is a checkgroups, the third field is a shell-style pattern matching
> the newsgroups that should be processed for checking.  If the control
> message is of any other type, the third field is ignored."
>
> If the control message is of type "all", the third field should be matched,
> not ignored.

The third field is currently matched for "all".
"all" is not a control message type; it matches every control message and
applies to all of them.


> This would be useful for protecting the specially named hierarchies
> (control.*, to.*, local.*), defunct hierarchies, private hierarchies, and
> the default rules.  Otherwise, one has to repeat each rule three times (for
> newgroup, rmgroup, and checkgroups).

I have just tested:

newgroup:test@test:local.test:mail
all:*:local.*:drop

A newgroup article for local.test is properly dropped.

I do not understand what you would want.  Only a documentation issue?  Then,
what should be added and where?

-- 
Julien ÉLIE

« -- Prends un peu de potion magique, Jolitorax ?
  -- Mais ça va être l'heure de l'eau chaude ! » (Astérix) 
Technical Details
Message-ID: <gvqsba$6o2$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>

Show Full Headers
Complete Article Headers
Message-ID: <gvqsba$6o2$1@news.trigofacile.com>
Subject: Re: Another INN 2.5.0 rc2 bug - control.ctl processing
Date: Sat, 30 May 2009 10:56:03 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gvpshs$7c4$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: 41
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 1243673771 6914 83.114.135.218 (30 May 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 30 May 2009 08:56:11 +0000 (UTC)
In-Reply-To: <gvpshs$7c4$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