Article View: news.software.nntp
Article #90712Re: perl-nocem not processing all NoCeMs by same issuer
From: Ivo Gandolfo
Date: Sat, 02 Sep 2023 14:18
Date: Sat, 02 Sep 2023 14:18
34 lines
2299 bytes
2299 bytes
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
--
Ivo Gandolfo
Technical Details
Message-ID:
<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-mailReferences:
<ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucv9oq$18hi$1@nnrp.usenet.blueworldhosting.com> <ucvast$2cnb$1@nnrp.usenet.blueworldhosting.com> <ucvcfo$ppi7$1@paganini.bofh.team> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$1@nnrp.usenet.blueworldhosting.com>Show Full Headers
Complete Article Headers
Message-ID: <ucvg8i$ppi7$2@paganini.bofh.team> Subject: Re: perl-nocem not processing all NoCeMs by same issuer Date: Sat, 2 Sep 2023 16:18:58 +0200 From: Ivo Gandolfo <usenet@bofh.team> References: <ucv8rp$14t2$1@nnrp.usenet.blueworldhosting.com> <ucv9oq$18hi$1@nnrp.usenet.blueworldhosting.com> <ucvast$2cnb$1@nnrp.usenet.blueworldhosting.com> <ucvcfo$ppi7$1@paganini.bofh.team> <ucvdep$1m48$1@nnrp.usenet.blueworldhosting.com> <ucvecm$1fm4$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-mail Newsgroups: news.software.nntp Organization: To protect and to server Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 2 Sep 2023 14:18:58 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="845383"; posting-host="EScGJCTPxkS5vKB7h2AV4w.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="NnMoDEm3qkIJGKBtBYRUeg"; User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Cancel-Lock: sha256:85Y4Zv74Ep0y3MccmmeySRthawVA7zv2ejkAOeciJW8= X-Notice: Filtered by postfilter v. 0.9.3 Content-Language: en-US