Article View: news.software.nntp
Article #90711Re: perl-nocem not processing all NoCeMs by same issuer
From: Jesse Rehmer
Date: Sat, 02 Sep 2023 14:32
Date: Sat, 02 Sep 2023 14:32
35 lines
2397 bytes
2397 bytes
On Sep 2, 2023 at 9:18:58 AM CDT, "Ivo Gandolfo" <usenet@bofh.team> wrote:
> On 02/09/2023 15:47, Jesse Rehmer wrote:
> [cut]
>
> Just add where you want the log(, "err") for example:
>
> if (/^\[GNUPG:\]\s+GOODSIG\s+\S+\s+(.*)/m) {
> return 1 if $1 =~ /\Q$issuer\E/;
> logmsg("Article $msgid: signed by $1 instead of $issuer",
> "notice");
> } elsif (/^\[GNUPG:\]\s+NO_PUBKEY\s+(\S+)/m) {
> logmsg("Article $msgid: $issuer (ID $1) not in keyring", "err");
>
> etc :)
>
>
>>
>> When I run your script I notice a lot of occurrences of this error from
>> perl-nocem, but things seem to be working.
>>
>> Use of uninitialized value $key in lc at /usr/local/news/bin/perl-nocem line
>> 183, <ART> line 44.
>> Use of uninitialized value $key in lc at /usr/local/news/bin/perl-nocem line
>> 183, <ART> line 45.
>> Use of uninitialized value $key in lc at /usr/local/news/bin/perl-nocem line
>> 183, <ART> line 46.
>
>
> You can safe ignore them.
>
>
> Sincerely
Thank you, Ivo!
Technical Details
Message-ID:
<ucvh1t$2mvp$1@nnrp.usenet.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com> <ucvg8i$ppi7$2@paganini.bofh.team>Show Full Headers
Complete Article Headers
Message-ID: <ucvh1t$2mvp$1@nnrp.usenet.blueworldhosting.com> Subject: Re: perl-nocem not processing all NoCeMs by same issuer Date: Sat, 02 Sep 2023 14:32:29 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com> <ucvg8i$ppi7$2@paganini.bofh.team> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 2 Sep 2023 14:32:29 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="k8cWG9+Y/93vxQYza75s9JQFoL8rgVF3P1Yluveoqs0"; logging-data="89081"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:iZ4orv5yxi1rgXn8s5U84zIa1TU= sha256:bV5SqRw/XiDdemea4NWr9zUAkhmciXTGG2dCV11eOmE= sha1:/MdOGifmNDBR9n8s/a67ssZhh40= sha256:ca9zIdRsSy9sGgsXliA/UA06FGjAjzpJylDaPNyut6E= X-Usenapp: v1.27.1/d - Full License