Article View: news.software.nntp
Article #80103Re: control.ctl action "verify-"[mailbox] (Fixed - but take note)
From: D. Stussy
Date: Fri, 06 Feb 2009 23:05
Date: Fri, 06 Feb 2009 23:05
48 lines
3293 bytes
3293 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message news:874oz7477o.fsf@windlord.stanford.edu... > "D. Stussy" <spam@bde-arc.ampr.org> writes: > > Actually, what I'm observing is that PGP-signed NEWGROUP messages aren't > > being executed but are instead being mailed to the news admin mailbox > > for manual implementation. I would prefer that they be executed without > > my intercession. > > All I can say here is that it works for me. Upon exploring further, I'm finding: pgpverify version 1.27, 2005-07-02 ~news/bin/pgpverify -test </tmp/msg (which contained a valid message) FAILED. I had my keyring in ~news/.gnupg/pubring.gpg, which is supposed to be a fallback location per the man page: "By default, when running as part of INN, pgpverify expects the PGP key ring to be found in pathetc/pgp (as either pubring.pgp or pubring.gpg depending on whether PGP or GnuPG is used to verify signatures). If that directory doesn't exist, it will fall back on using the default key ring, which is in a .pgp or .gnupg subdirectory of the running user's home directory." (Third paragraph of the manual page). The "HOME" environment variable is set to the [news] user's home directory*. Moving the keyring file into ~news/etc/pgp/ from ~news/.gnupg/ fixed the problem. It appears that the manual page is wrong. It didn't seem to fall back to the specified directory location of "~news/.gnupg/" in my case. The other issue I had is that the generated e-mail was NOT telling me that it was being e-mailed because the PGP key could not be found in my (apparently missing) keyring (or the pgpverify program's exit status). I had to reconstruct the pgp subsystem after a hard-drive crash in December. Apparently, I installed it slightly differently than before. ------------------- So, 1) Let's fix the manual page (no fallback in some/all(?) cases). 2) May we have better informative messages on failure? * - verified by looking at the appropriate /proc/_process-id_/environ pseudo-file for "/usr/bin/perl -w ~news/bin/controlchan".
Technical Details
Message-ID:
<gmifoj$pjc$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!xlned.com!feeder1.xlned.com!news.alt.net!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mailReferences:
<gmfshs$h22$1@snarked.org> <871vuc2zto.fsf@windlord.stanford.edu> <gmi7ji$kd7$1@snarked.org> <874oz7477o.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <gmifoj$pjc$1@snarked.org> Subject: Re: control.ctl action "verify-"[mailbox] (Fixed - but take note) Date: Fri, 6 Feb 2009 15:05:47 -0800 From: "D. Stussy" <spam@bde-arc.ampr.org> References: <gmfshs$h22$1@snarked.org> <871vuc2zto.fsf@windlord.stanford.edu> <gmi7ji$kd7$1@snarked.org> <874oz7477o.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!xlned.com!feeder1.xlned.com!news.alt.net!news-xfer.nntp.sonic.net!news.snarked.org!not-for-mail Newsgroups: news.software.nntp Lines: 48 Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org> NNTP-Posting-Host: pool-71-106-211-188.lsanca.dsl-w.verizon.net X-Trace: snarked.org 1233961555 26220 71.106.211.188 (6 Feb 2009 23:05:55 GMT) X-Complaints-To: newsmaster@snarked.org NNTP-Posting-Date: Fri, 6 Feb 2009 23:05:55 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478