Article View: news.software.nntp
Article #74140Re: Checkgroups control articles
From: Iulius
Date: Tue, 29 Aug 2006 16:54
Date: Tue, 29 Aug 2006 16:54
50 lines
3227 bytes
3227 bytes
En réponse à F. Senault :
>> if ($type =~ /$ctlline[0]/ and $sender =~ /$ctlline[1]/i and
>> ($type !~ /(?:new|rm)group/ or $newsgroup =~ /$ctlline[2]/)) {
>>
>> Well, why is it « $type !~ /(?:new|rm)group/ » and not « $type =~ /(?:new|rm)group/ » ?
>> And if I put « =~ », PERL complains:
>> Use of uninitialized value in pattern match (m//) at /usr/lib/news/bin//controlchan line 277.
>
> I'd guess it's a shortcut - if it isn't a rm/newgroup, the newsgroup is
> undefined (you can't guess a newsgroup or a hierarchy from a checkgroups
> message), so you can't test it.
Perhaps with checking $ctlline[2].
Here, it is: « it-alt.config,news.admin.hierarchies »!
Then if I put
checkgroups:*:it-alt.*:mail
I expect it will be found in $ctlline[2] !
>> Anyway, it looks as though « $ctlline[2] » is not taken into account...
>
> Yeah. Sounds logical to me. How can you guess the newsgroup of a
> checkgroups message ? Taking the first group in the newsgroups list is
> a bit hazardous...
No, nothing of that sort (think of the Big-8 checkgroups for instance).
But, speaking of that, I do not understand why the « control.ctl » by default
says:
checkgroups:group-admin[!!]isc.org:comp.*|humanities.*|misc.*|news.*|rec.*|sci.*|soc.*|talk.*:verify-news.announce.newgroups
and all the others have a list of groups:
checkgroups:control[!!]usenet-fr.news.eu.org:fr.*:verify-control@usenet-fr.news.eu.org
If they are useless, why are there here?
And how can I filter checkgroups of other hierarchies if the third argument
is never read (and I do not want to use the second unknown one)?
I think there is a problem here (either in the sample « control.ctl » or in
the code of « controlchan » regarding checkgroups).
--
Iulius
« Auri sacra fames ! » (Virgile)
Technical Details
Message-ID:
<ed1rgn$hqb$1@guepard.ecp.fr>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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mailReferences:
<ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu> <ed0v3f$87g$1@guepard.ecp.fr> <ed17ai$b20$1@guepard.ecp.fr> <19mlvs9qxyu6h$.dlg@ballantines.lacave.local>Show Full Headers
Complete Article Headers
Message-ID: <ed1rgn$hqb$1@guepard.ecp.fr> Subject: Re: Checkgroups control articles Date: Tue, 29 Aug 2006 18:54:46 +0200 From: Iulius <iulius@nom-de-mon-site.com.invalid> References: <ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu> <ed0v3f$87g$1@guepard.ecp.fr> <ed17ai$b20$1@guepard.ecp.fr> <19mlvs9qxyu6h$.dlg@ballantines.lacave.local> 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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mail Newsgroups: news.software.nntp Organization: Gens Iulia -- http://www.trigofacile.com/ Lines: 50 NNTP-Posting-Host: amontpellier-157-1-65-69.w86-202.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: guepard.ecp.fr 1156870487 18251 86.202.140.69 (29 Aug 2006 16:54:47 GMT) X-Complaints-To: ingesys@cti.ecp.fr NNTP-Posting-Date: Tue, 29 Aug 2006 16:54:47 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; In-Reply-To: <19mlvs9qxyu6h$.dlg@ballantines.lacave.local>