🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80098

Re: control.ctl action "verify-"[mailbox]

#80098
From: Russ Allbery
Date: Fri, 06 Feb 2009 00:06
42 lines
2960 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:

> It appears that the action when a PGP-signed message comes in and is
> verified is to mail the news admin.  It would be nice if there were an
> option to simply execute the operation requested.

The default is already what you want.  See the control.ctl man page:

   verify-*
       If the action starts with the string "verify-", as in:

           verify-news.announce.newgroups

       then PGP verification of the control message will be done and the
       user ID of the key of the authenticated signer will be checked
       against the expected identity defined by the rest of the string
       ("news.announce.newgroups" in the above example.  This verification
       is done via pgpverify; see pgpverify(8) for more details.

       If no logging is specified (with =file as mentioned below), logging
       will be done the same as with doit as described above.

Perhaps you're running into:

   Processing of a checkgroups message will never actually change the
   active file (the list of groups carried by the server).  The difference
   between a doit or verify action and a mail action for a checkgroups
   control message lies only in what e-mail is sent; doit or verify will
   mail the news administrator a shell script to create, delete, or modify
   newsgroups to match the checkgroups message, whereas mail will just
   mail the entire message.  In either case, the news administrator will
   have to take action to implement the checkgroups message, and if that
   mail is ignored, nothing will be changed.

which is how INN has always worked with checkgroups, but which ideally
should be changed, at least optionally.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <871vuc2zto.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!border1.nntp.ams.giganews.com!nntp.giganews.com!proxad.net!feeder2-2.proxad.net!newsfeed.news2me.com!headwall.stanford.edu!news.stanford.edu!not-for-mail
References: <gmfshs$h22$1@snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <871vuc2zto.fsf@windlord.stanford.edu>
Subject: Re: control.ctl action "verify-"[mailbox]
Date: Thu, 05 Feb 2009 16:06:59 -0800
From: Russ Allbery <rra@stanford.edu>
References: <gmfshs$h22$1@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!proxad.net!feeder2-2.proxad.net!newsfeed.news2me.com!headwall.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 42
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.stanford.edu 1233878819 3358 171.67.225.134 (6 Feb 2009 00:06:59
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:TO7t9p/9IeR7EbrW1E9BjdIq81I=