🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89546

Re: cancels, innflags: "-C" and propagation

#89546
From: Russ Allbery
Date: Sun, 21 Aug 2022 15:28
35 lines
2201 bytes
jdanield <jdd@dodin.org> writes:

> In the mean time I want to forgive cancels on this servers (I can cancel a
> message manually for a user if necessary).

> To achieve this I setup

> innflags: "-C"

Yeah, that doesn't do what you want; that still lets anyone post cancels
and propagates them, it just doesn't honor them locally.

> so my question is: giving I don't process cancel messages, do I need to
> propagate them anyway or use some way to stop them completely? what's do
> I have to do?

You would need to prevent them from being posted entirely.

I'm not sure INN has a good way of doing this other than using a Perl or
Python posting filter.  (I'm a bit surprised that we don't, but I can't
find one off-hand.)  Feels like there should be an access: letter for
readers.conf permissions that controls whether users can post cancel
messages, but it doesn't look like that's something that's already
implemented.

The posting filter is very simple, though: just reject any message with a
Control or Supersedes header.  (You could do something finer-grained with
the Control header if you want to allow users to post newgroup and rmgroup
control messages, although for your use case I'm not sure I'd bother.)

-- 
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.
Technical Details
Message-ID: <87pmgtsjir.fsf@hope.eyrie.org>
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: <tdsqdj$2a5ul$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <87pmgtsjir.fsf@hope.eyrie.org>
Subject: Re: cancels, innflags: "-C" and propagation
Date: Sun, 21 Aug 2022 08:28:44 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <tdsqdj$2a5ul$1@dont-email.me>
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: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="29838"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:QzIJSoN3/jepN4LEdfY82BhURbM=