🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Nigel Reed Tue, 03 Jan 2023 17:48
Handling checkgroups automatically
#89975
Author: Nigel Reed
Date: Tue, 03 Jan 2023 17:48
19 lines
1337 bytes
I've been getting emails to run the checkgroups script but I never
bothered to install any automatic handling so it's always been a manual
process.

Assuming this isn't a 2 step process, I wonder if this is something
worth adding to the FAQ by someone with a little more knowledge than
msyelf, then I can step through and verify the process and maybe
provide some feedback?

Failing that, if anyone would like to offer pointers before I start,
I'd appreciate it.

Thanks,


-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Handling checkgroups automatically
#89982
Author: Russ Allbery
Date: Tue, 03 Jan 2023 18:48
21 lines
1633 bytes
Nigel Reed <sysop@endofthelinebbs.com> writes:

> I've been getting emails to run the checkgroups script but I never
> bothered to install any automatic handling so it's always been a manual
> process.

> Assuming this isn't a 2 step process, I wonder if this is something
> worth adding to the FAQ by someone with a little more knowledge than
> msyelf, then I can step through and verify the process and maybe provide
> some feedback?

You didn't specify what news server you are thinking of, but since you
mentioned the FAQ, I'll assume INN.  For INN, it's documented in INSTALL:

https://www.eyrie.org/~eagle/software/inn/docs-2.7/install.html#S15

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Handling checkgroups automatically
#90014
Author: Nigel Reed
Date: Sun, 15 Jan 2023 04:00
35 lines
1954 bytes
On Tue, 03 Jan 2023 10:48:51 -0800
Russ Allbery <eagle@eyrie.org> wrote:

> Nigel Reed <sysop@endofthelinebbs.com> writes:
> 
> > I've been getting emails to run the checkgroups script but I never
> > bothered to install any automatic handling so it's always been a
> > manual process.
> 
> > Assuming this isn't a 2 step process, I wonder if this is something
> > worth adding to the FAQ by someone with a little more knowledge than
> > msyelf, then I can step through and verify the process and maybe
> > provide some feedback?
> 
> You didn't specify what news server you are thinking of, but since you
> mentioned the FAQ, I'll assume INN.  For INN, it's documented in
> INSTALL:
> 
> https://www.eyrie.org/~eagle/software/inn/docs-2.7/install.html#S15


Ok, well, the instructions leave a lot to be desired, I think,
especially the issue between current gpg and gpg version 1.

I guess we'll have to wait for something to come through to see if it
works.





-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Handling checkgroups automatically
#90015
Author: Nigel Reed
Date: Sun, 15 Jan 2023 22:35
40 lines
2184 bytes
On Sat, 14 Jan 2023 22:00:56 -0600
Nigel Reed <sysop@endofthelinebbs.com> wrote:

> On Tue, 03 Jan 2023 10:48:51 -0800
> Russ Allbery <eagle@eyrie.org> wrote:
> 
> > Nigel Reed <sysop@endofthelinebbs.com> writes:
> > 
> > > I've been getting emails to run the checkgroups script but I never
> > > bothered to install any automatic handling so it's always been a
> > > manual process.
> > 
> > > Assuming this isn't a 2 step process, I wonder if this is
> > > something worth adding to the FAQ by someone with a little more
> > > knowledge than msyelf, then I can step through and verify the
> > > process and maybe provide some feedback?
> > 
> > You didn't specify what news server you are thinking of, but since
> > you mentioned the FAQ, I'll assume INN.  For INN, it's documented in
> > INSTALL:
> > 
> > https://www.eyrie.org/~eagle/software/inn/docs-2.7/install.html#S15
> 
> 
> Ok, well, the instructions leave a lot to be desired, I think,
> especially the issue between current gpg and gpg version 1.
> 
> I guess we'll have to wait for something to come through to see if it
> works.


This script was NOT executed by controlchan

Seems not.


-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Handling checkgroups automatically
#90016
Author: Julien ÉLIE
Date: Tue, 17 Jan 2023 20:11
33 lines
2355 bytes
Hi Nigel,

>>> https://www.eyrie.org/~eagle/software/inn/docs-2.7/install.html#S15
>>
>> Ok, well, the instructions leave a lot to be desired, I think,
>> especially the issue between current gpg and gpg version 1.

Would step-by-step instructions like the ones for perl-nocem fit your 
expectations?  (They also mention gpg1 and gpg2.)
   https://www.eyrie.org/~eagle/software/inn/docs/perl-nocem.html

If that's the case, I can have a look to provide similar instructions to 
set up controlchan and newsgroup control message processing.


> This script was NOT executed by controlchan
> 
> Seems not.

Did you uncomment the controlchan entry in the default newsfeeds file, 
and reload the newsfeeds file?

The entry look likes:

controlchan!\
         :!*,control,control.*,!control.cancel\
         :AC,Tc,Wnsm\
         :<pathbin in inn.conf>/controlchan

-- 
Julien ÉLIE

« Sum, ergo bibo ; bibo, ergo sum. »
Re: Handling checkgroups automatically
#90028
Author: Nigel Reed
Date: Tue, 31 Jan 2023 07:31
55 lines
2632 bytes
On Tue, 17 Jan 2023 21:11:26 +0100
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Nigel,
> 
> >>> https://www.eyrie.org/~eagle/software/inn/docs-2.7/install.html#S15
> >>>  
> >>
> >> Ok, well, the instructions leave a lot to be desired, I think,
> >> especially the issue between current gpg and gpg version 1.  
> 
> Would step-by-step instructions like the ones for perl-nocem fit your 
> expectations?  (They also mention gpg1 and gpg2.)
>    https://www.eyrie.org/~eagle/software/inn/docs/perl-nocem.html

very much so. I'm one of those people with a lot of projects on the go
and while I don't want to sound self-important or anything. I just want
to get things setup and working without having to read a ton of
documents. 


> If that's the case, I can have a look to provide similar instructions
> to set up controlchan and newsgroup control message processing.
> 
> 
> > This script was NOT executed by controlchan
> > 
> > Seems not.  
> 
> Did you uncomment the controlchan entry in the default newsfeeds
> file, and reload the newsfeeds file?


Actually, yes, it does appear that I did.

controlchan!\
        :!*,control,control.*,!control.cancel\
        :AC,Tc,Wnsm:/news/bin/controlchan


> 
> The entry look likes:
> 
> controlchan!\
>          :!*,control,control.*,!control.cancel\
>          :AC,Tc,Wnsm\
>          :<pathbin in inn.conf>/controlchan
> 


I guess the thing is, how do you know it worked, if it did? 
-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Handling checkgroups automatically
#90031
Author: Nigel Reed
Date: Wed, 01 Feb 2023 05:51
30 lines
1829 bytes
On Tue, 03 Jan 2023 10:48:51 -0800
Russ Allbery <eagle@eyrie.org> wrote:

> Nigel Reed <sysop@endofthelinebbs.com> writes:
> 
> > I've been getting emails to run the checkgroups script but I never
> > bothered to install any automatic handling so it's always been a
> > manual process.  
> 
> > Assuming this isn't a 2 step process, I wonder if this is something
> > worth adding to the FAQ by someone with a little more knowledge than
> > msyelf, then I can step through and verify the process and maybe
> > provide some feedback?  
> 
> You didn't specify what news server you are thinking of, but since you
> mentioned the FAQ, I'll assume INN.  For INN, it's documented in
> INSTALL:
> 
> https://www.eyrie.org/~eagle/software/inn/docs-2.7/install.html#S15


I'm getting someone. I got an email to say it was not processed due to
too many changes.



-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
Re: Handling checkgroups automatically
#90045
Author: Julien ÉLIE
Date: Thu, 02 Feb 2023 08:22
44 lines
2963 bytes
Hi Nigel,

> I'm getting someone. I got an email to say it was not processed due to
> too many changes.

That's good news!
It means that control articles are correctly fed to controlchan, and 
that it is processing them.

If the changes look OK to you, I would suggest to manually run the shell 
commands in the mail.  They'll create/remove groups appropriately.

Or you may want to set a higher /maxdocheckgroups/ line in 
<pathetc>/control.ctl.local (unless you want to directly change 
control.ctl).  The changes will then be automatically done the next time 
the checkgroups control article is sent (next month probably).
But I'm not fan of changing this setting as it may be of help in case 
one day a "broken" checkgroups article is unfortunately sent; your 
server won't process it.


   https://www.eyrie.org/~eagle/software/inn/docs/control.ctl.html

/maxdocheckgroups/

This type specifies the maximum number of changes that could be made at 
one time by a checkgroups before bailing and mailing the changes to the 
admin if no log file was specified. The default value is 10.

     /maxdocheckgroups/:*:*:10
     /maxdocheckgroups/:*:fr.*:20

Such a configuration means that a checkgroups containing 15 changes for 
the French-speaking fr.* hierarchy (newgroups to add, remove or change 
the status) will be automatically honoured whereas a checkgroups 
containing 15 changes for france.* will only have the required changes 
mailed or logged.


-- 
Julien ÉLIE

« Le bonheur, c'est de continuer à désirer ce que l'on possède. »
   (Saint-Augustin)
Re: Handling checkgroups automatically
#90046
Author: Julien ÉLIE
Date: Thu, 02 Feb 2023 08:27
35 lines
2721 bytes
Hi Nigel,

>> Would step-by-step instructions like the ones for perl-nocem fit your
>> expectations?  (They also mention gpg1 and gpg2.)
>>     https://www.eyrie.org/~eagle/software/inn/docs/perl-nocem.html
> 
> very much so. I'm one of those people with a lot of projects on the go
> and while I don't want to sound self-important or anything. I just want
> to get things setup and working without having to read a ton of
> documents.

I totally understand.
I note to work on documenting that setup better.


>> The entry look likes:
>>
>> controlchan!\
>>           :!*,control,control.*,!control.cancel\
>>           :AC,Tc,Wnsm\
>>           :<pathbin in inn.conf>/controlchan
> 
> I guess the thing is, how do you know it worked, if it did?

I would just monitor when you receive something in control.newgroup, 
control.rmgroup or control.checkgroups (by subscribing to these groups) 
and see whether there's a controlchan line in news.notice when there's a 
message in these groups.  You'll also see a section in the Daily Usenet 
report the next day summarizing the actions taken.

-- 
Julien ÉLIE

« Le bonheur, c'est de continuer à désirer ce que l'on possède. »
   (Saint-Augustin)
Re: Handling checkgroups automatically
#90057
Author: Nigel Reed
Date: Fri, 03 Feb 2023 16:56
58 lines
2958 bytes
On Thu, 2 Feb 2023 09:22:34 +0100
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

> Hi Nigel,
> 
> > I'm getting someone. I got an email to say it was not processed due
> > to too many changes.  
> 
> That's good news!
> It means that control articles are correctly fed to controlchan, and 
> that it is processing them.
> 
> If the changes look OK to you, I would suggest to manually run the
> shell commands in the mail.  They'll create/remove groups
> appropriately.
> 
> Or you may want to set a higher /maxdocheckgroups/ line in 
> <pathetc>/control.ctl.local (unless you want to directly change 
> control.ctl).  The changes will then be automatically done the next
> time the checkgroups control article is sent (next month probably).
> But I'm not fan of changing this setting as it may be of help in case 
> one day a "broken" checkgroups article is unfortunately sent; your 
> server won't process it.
> 
> 
>    https://www.eyrie.org/~eagle/software/inn/docs/control.ctl.html
> 
> /maxdocheckgroups/
> 
> This type specifies the maximum number of changes that could be made
> at one time by a checkgroups before bailing and mailing the changes
> to the admin if no log file was specified. The default value is 10.
> 
>      /maxdocheckgroups/:*:*:10
>      /maxdocheckgroups/:*:fr.*:20
> 
> Such a configuration means that a checkgroups containing 15 changes
> for the French-speaking fr.* hierarchy (newgroups to add, remove or
> change the status) will be automatically honoured whereas a
> checkgroups containing 15 changes for france.* will only have the
> required changes mailed or logged.

I have processed the changes manually for now and I've also increased
the value in the .local file. 

With any luck I should be set from here. We'll see what happens next
time around.

Thanks,
Nigel
ZZ



-- 
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
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