🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.peering
Article #1616

Re: Newbie question

#1616
From: Eli
Date: Thu, 06 Apr 2023 16:39
49 lines
2241 bytes
On 6 Apr 2023 at 17:55:24 CEST, "Franck" <franck@email.invalid> wrote:

> Hello,
> 
> Once you have edited the inn-secrets.conf file
> (<https://www.eyrie.org/~eagle/software/inn/docs/inn-secrets.conf.html>)
> and the "cancels" group, each article posted on your server will have :
> 
> ...
> 
> For me, Gencancel is the only tool to do the job but as I am not an INN
> expert, maybe Julien or Russ can give you more information (even if I
> think the documentation is well enough written.
> 
> Have nice day.
> Franck

Thanks for the answer.

However, for some reason it's not working as expected.

I've set the secret for 'canlockadmin' in inn-secrets.conf.

In readers.conf (just in case):

auth "localhost" {
hosts: "localhost, 127.0.0.1, ::1, stdin"
default: "<localhost>"
}

access "localhost" {
users: "<localhost>"
newsgroups: "*"
access: RPA
addcanlockuser: none
}

The following command works as expected and returns a full cancellation
header:
su news -s /bin/sh -c "/usr/local/news/bin/gencancel -n '<newsgroup>'
'<msg-id>'" | su news -s /bin/sh -c "/usr/local/news/bin/inews -h -P -D"

However, when using the above command without the -D gives:
inews: warning: What server?
inews: article will be spooled

And a file named 'dead.article' is writing into the home dir of user 'news'.

Any ideas what goes wrong?
Technical Details
Message-ID: <IACXL.2688183$US27.993101@fx01.ams4>
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
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvfvs0$240m$2@news.trigofacile.com> <RayXL.2261889$gs1.1108022@fx15.ams4> <CPGv/GCwmOc@news.spitfire-nntp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <IACXL.2688183$US27.993101@fx01.ams4>
Subject: Re: Newbie question
Date: Thu, 06 Apr 2023 16:39:04 GMT
From: Eli <eliistheman@gmail.com>
References: <sXMOL.4024495$MJk2.1098149@fx06.ams4> <tvfvs0$240m$2@news.trigofacile.com> <RayXL.2261889$gs1.1108022@fx15.ams4> <CPGv/GCwmOc@news.spitfire-nntp.fr>
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.admin.peering
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
User-Agent: Usenapp for MacOS
X-Usenapp: v1.26.5/l - Full License
Lines: 49
X-Complaints-To: abuse@eweka.nl
Nntp-Posting-Date: Thu, 06 Apr 2023 16:39:04 UTC
Organization: Eweka Internet Services