🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88484

Re: Cleanfeed and arbitrary headers.

#88484
From: Russ Allbery
Date: Tue, 01 Sep 2020 22:00
25 lines
1896 bytes
Aioe <estasi@aioe.org> writes:
> Il Fri, 28 Aug 2020 21:08:25 -0600, Grant Taylor ha scritto:

>> Is there a way to check the contents of arbitrary headers with
>> Cleanfeed?

> no, there is no way
> look at https://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html

The background on this is that innd goes out of its way to not parse the
entirety of the headers, and instead only parses a specific set of headers
that (originally) may affect its decisions or may be justification for
rejecting an article.  That header parsing table predates the filtering
hooks, but it was convenient to use the same parsing for filtering.  Then,
over time, we've added additional headers that innd doesn't care about,
just to expose them to filters.

This is all kind of silly in that we wouldn't design it this way if we
were writing it from scratch today.  It's more of a historical wart.

-- 
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: <87mu29xilt.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: <ricgun$ti2$1@tncsrv09.home.tnetconsulting.net> <rimect$15o9$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <87mu29xilt.fsf@hope.eyrie.org>
Subject: Re: Cleanfeed and arbitrary headers.
Date: Tue, 01 Sep 2020 15:00:46 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <ricgun$ti2$1@tncsrv09.home.tnetconsulting.net> <rimect$15o9$1@gioia.aioe.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
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="30189"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Cancel-Lock: sha1:waNkqnSKk2xRJmkSychcEcNml5g=