🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Chris Beggy Fri, 05 Oct 2001 13:23
inn-2.3.2 and nocem-perl
#54533
Author: Chris Beggy
Date: Fri, 05 Oct 2001 13:23
23 lines
1634 bytes
I'm trying nocem-perl ( by Miquel and Marco d'Itri ) with
inn-2.3.2 and it seems to startup and run.

I had to add:

  $gpgv = "/usr/local/bin/gpg" ;

to innshellvars.pl to help nocem-perl find gpg.

How can I tell if it's working?  After start-up, I don't have any
encouraging messages in nocem-perl.log, news.notice, or news
about posts being cancelled.  I certainly have many messages
coming into news.filter.lists.  I have most of the keys I need on
the pgp keyring.  I have entries in nocem.ctl.

Any ideas?

Thanks.

Chris

Re: inn-2.3.2 and nocem-perl
#54536
Author: Marco d'Itri
Date: Fri, 05 Oct 2001 15:09
13 lines
1475 bytes
chrisb@kippona.com wrote:

>How can I tell if it's working?  After start-up, I don't have any
>encouraging messages in nocem-perl.log, news.notice, or news
>about posts being cancelled.  I certainly have many messages
The default is to only log errors. If you want more detailed logging,
look at the source and uncomment some logmsg() call.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *

Re: inn-2.3.2 and nocem-perl
#54543
Author: Chris Beggy
Date: Fri, 05 Oct 2001 20:28
25 lines
1941 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:

> chrisb@kippona.com wrote:
>
>>How can I tell if it's working?  After start-up, I don't have any
>>encouraging messages in nocem-perl.log, news.notice, or news
>>about posts being cancelled.  I certainly have many messages
> The default is to only log errors. If you want more detailed logging,
> look at the source and uncomment some logmsg() call.
>

Thanks!  The $debug is set to 1, and I have this situation
described above.

Is there a command line invocation, like:
  
    cat nocem.txt | nocem-perl  (doesn't look good)
    nocem-perl nocem.txt        (just hangs for me)

That can show me how the message processing proceeds?

Thanks.

Chris
Re: inn-2.3.2 and nocem-perl
#54544
Author: Marco d'Itri
Date: Fri, 05 Oct 2001 21:08
15 lines
1492 bytes
chrisb@kippona.com wrote:

>Is there a command line invocation, like:
>  
>    cat nocem.txt | nocem-perl  (doesn't look good)
>    nocem-perl nocem.txt        (just hangs for me)

>That can show me how the message processing proceeds?
echo /path/nocem.txt | nocem-perl

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *

Re: inn-2.3.2 and nocem-perl
#54547
Author: Chris Beggy
Date: Sat, 06 Oct 2001 15:44
22 lines
1939 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:

> chrisb@kippona.com wrote:
>
>>Is there a command line invocation, like:
>>  
>>    cat nocem.txt | nocem-perl  (doesn't look good)
>>    nocem-perl nocem.txt        (just hangs for me)
>
>>That can show me how the message processing proceeds?
> echo /path/nocem.txt | nocem-perl
>
Thanks for this followup.  This helped me solve my problem, which
was key management.  I found that it was necessary to have 
the ncmring.gpg and the secring.gpg in the same directory, or
have ncmring.gpg on a keyring in the same directory as
secring.gpg.

Thanks.

Chris
Re: inn-2.3.2 and nocem-perl
#54549
Author: Marco d'Itri
Date: Sat, 06 Oct 2001 16:26
19 lines
1826 bytes
chrisb@kippona.com wrote:

>Thanks for this followup.  This helped me solve my problem, which
>was key management.  I found that it was necessary to have 
>the ncmring.gpg and the secring.gpg in the same directory, or
>have ncmring.gpg on a keyring in the same directory as
>secring.gpg.
This is wrong. The only keyring used by the program is $keyring:

my $keyring = $inn::pathetc . '/pgp/ncmring.gpg';

nocem-perl does not use any other keyring and does not need a
secring.gpg file.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *

Re: inn-2.3.2 and nocem-perl
#54551
Author: Chris Beggy
Date: Sat, 06 Oct 2001 17:59
28 lines
2221 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:

> chrisb@kippona.com wrote:
>
>>Thanks for this followup.  This helped me solve my problem, which
>>was key management.  I found that it was necessary to have 
>>the ncmring.gpg and the secring.gpg in the same directory, or
>>have ncmring.gpg on a keyring in the same directory as
>>secring.gpg.
> This is wrong. The only keyring used by the program is $keyring:
>
> my $keyring = $inn::pathetc . '/pgp/ncmring.gpg';
>
> nocem-perl does not use any other keyring and does not need a
> secring.gpg file.
>
Agreed.

This is a gpg issue rather than a nocem-perl issue.

The nocem keys weren't trusted until I did what I explained
above.  Locally signing and assigning them "trusted" status was
not sufficient.

Or maybe I'm missing something.

Chris
Re: inn-2.3.2 and nocem-perl
#54554
Author: Marco d'Itri
Date: Sat, 06 Oct 2001 18:59
15 lines
1768 bytes
chrisb@kippona.com wrote:

>The nocem keys weren't trusted until I did what I explained
>above.  Locally signing and assigning them "trusted" status was
>not sufficient.

>Or maybe I'm missing something.
I think you are. The keys does not have to be trusted or signed, gpgv
does not compute a trust value nor it checks signature.

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *

Re: inn-2.3.2 and nocem-perl
#54555
Author: Andrew Gierth
Date: Sat, 06 Oct 2001 19:43
13 lines
1678 bytes
>>>>> "Marco" == Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:

 >> Or maybe I'm missing something.

 Marco> I think you are. The keys does not have to be trusted or
 Marco> signed, gpgv does not compute a trust value nor it checks
 Marco> signature.

directory permissions? all the way up to the root?

-- 
Andrew.
Re: inn-2.3.2 and nocem-perl
#54557
Author: Chris Beggy
Date: Sat, 06 Oct 2001 21:05
36 lines
2782 bytes
Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:

> chrisb@kippona.com wrote:
>
>>The nocem keys weren't trusted until I did what I explained
>>above.  Locally signing and assigning them "trusted" status was
>>not sufficient.
>
>>Or maybe I'm missing something.
> I think you are. The keys does not have to be trusted or signed, gpgv
> does not compute a trust value nor it checks signature.
>

You are right.  I mistook the following output messages as
meaning that there was a gpg problem causing failure to cancel:

---begin shell output--
lackawana:~$ echo spambot.txt | ./bin/nocem-perl
Name "inn::syslog_facility" used only once: possible typo at ./bin/nocem-perl line 58.
Name "main::HAVE_TIME_HIRES" used only once: possible typo at ./bin/nocem-perl line 18.
Enter new filename: testout6
Could not find a valid trust path to the key.  Let's see whether we
can assign some missing owner trust values.

No path leading to one of our keys found.
---end shell output---

but I am wrong.  Despite these warnings, the testout6 file has
the cancels, and they appear in the debug log.

My bad, thanks for your help.  I am still trying to understand
why I don't get any "nocem: cancelled..." messages when I'm
running the feed.  I get them when I run on the command line..

Chris
Re: inn-2.3.2 and nocem-perl
#54559
Author: Chris Beggy
Date: Sat, 06 Oct 2001 23:10
23 lines
2203 bytes
Chris Beggy <chrisb@kippona.com> writes:

> Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> writes:
>
>> chrisb@kippona.com wrote:
>>
>>>The nocem keys weren't trusted until I did what I explained
>>>above.  Locally signing and assigning them "trusted" status was
>>>not sufficient.
>>
>>>Or maybe I'm missing something.
>> I think you are. The keys does not have to be trusted or signed, gpgv
>> does not compute a trust value nor it checks signature.
>>
>
> My bad, thanks for your help.  I am still trying to understand
> why I don't get any "nocem: cancelled..." messages when I'm

gpgv was the problem.  I recompiled, installed and things are
fine.

Chris
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads