🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74103

Re: Checkgroups control articles

#74103
From: Iulius
Date: Sun, 27 Aug 2006 08:52
58 lines
3124 bytes
Thanks, Russ, for having looked at that.

> I assume you have controlchan enabled, right?  (I don't think the
> non-controlchan control message processing was even available in 2.4.)

What is controlchan enabling?

I see in my « inn.conf »:

#usecontrolchan:         false

but the « usecontrolchan » is not documented (perhaps it is for older
versions of INN, or for a future use).  Should I enable that?


Otherwise, I have in my « newsfeeds »:

controlchan!\
         :!*,control*,!control.cancel\
         :AC,Tc,Wnsm:/usr/lib/news/bin/controlchan

I think it is what you want.


> I went over the code in 2.4 pretty thoroughly, and I can't see any way for
> it to ignore the log destination that you provide for a checkgroups.  It
> takes everything after the '=' as the log name and passes it into the
> checkgroups routine properly, and that routine only mails the output if
> there's no log defined.  So I don't know why you're seeing this.

Well, I should have read the code before...


     if ($action =~ /^verify-(.+)/) {
         my $keyowner = $1;
         if ($inn::pgpverify and $inn::pgpverify =~ /^(?:true|on|yes)$/i) {
             my $pgpresult = defined &local_pgpverify ?
                 local_pgpverify($token, $headers, $body) : pgpverify($token);
             if ($keyowner eq $pgpresult) {
                 $action = 'doit';
             } else {
                 $action = '_pgpfail';
             }
         } else {
             $action = 'mail';
         }
     }


So I believe a mail is sent because $inn::pgpverify is unset in my « inn.conf ».
But why should it be a parameter of « inn.conf » if « control.ctl » tells INN to
use pgpverify?
Should I enable « pgpverify »?

-- 
Iulius

« Sois sage, ô ma douleur, et tiens-toi plus tranquille. » (Charles Baudelaire)
Technical Details
Message-ID: <ecrmfj$k8g$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!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feed.ac-versailles.fr!news.ecp.fr!not-for-mail
References: <ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ecrmfj$k8g$1@guepard.ecp.fr>
Subject: Re: Checkgroups control articles
Date: Sun, 27 Aug 2006 10:52:01 +0200
From: Iulius <iulius@nom-de-mon-site.com.invalid>
References: <ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu>
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!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feed.ac-versailles.fr!news.ecp.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 58
NNTP-Posting-Host: amontpellier-157-1-15-233.w86-200.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 1156668723 20752 86.200.54.233 (27 Aug 2006 08:52:03
 GMT)
X-Complaints-To: ingesys@cti.ecp.fr
NNTP-Posting-Date: Sun, 27 Aug 2006 08:52:03 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
In-Reply-To: <87psentg8t.fsf@windlord.stanford.edu>