🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88485

Re: Cleanfeed and arbitrary headers.

#88485
From: Aioe
Date: Tue, 01 Sep 2020 21:27
32 lines
2473 bytes
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

---------------------------------------------------------------------------
filter_art() has access to a global hash named %hdr, which contains all 
of the standard headers present in the article and their values. The 
standard headers are:

    Also-Control, Approved, Archive, Archived-At, Bytes, Cancel-Key, 
    Cancel-Lock,
    Comments, Content-Base, Content-Disposition, 
    Content-Transfer-Encoding,
    Content-Type, Control, Date, Date-Received, Distribution, Expires,
    Face, Followup-To, From, In-Reply-To, Injection-Date, Injection-Info,
    Jabber-ID, Keywords, Lines, List-ID, Message-ID, MIME-Version, 	
    Newsgroups,
    NNTP-Posting-Date, NNTP-Posting-Host, NNTP-Posting-Path,
    Organization, Original-Sender, Originator,
    Path, Posted, Posting-Version, Received, References, Relay-Version,
    Reply-To, Sender, Subject, Summary, Supersedes, User-Agent,
    X-Auth, X-Auth-Sender, X-Canceled-By, X-Cancelled-By, X-Complaints-To,
    X-Face, X-HTTP-UserAgent, X-HTTP-Via, X-Mailer, X-Modbot, X-Modtrace,
    X-Newsposter, X-Newsreader, X-No-Archive, X-Original-Message-ID,
    X-Original-NNTP-Posting-Host, X-Original-Trace, X-Originating-IP,
    X-PGP-Key, X-PGP-Sig, X-Poster-Trace, X-Postfilter, X-Proxy-User,
    X-Submissions-To, X-Trace, X-Usenet-Provider, X-User-ID, Xref.
---------------------------------------------------------------------------
Technical Details
Message-ID: <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
References: <ricgun$ti2$1@tncsrv09.home.tnetconsulting.net>

Show Full Headers
Complete Article Headers
Message-ID: <rimect$15o9$1@gioia.aioe.org>
Subject: Re: Cleanfeed and arbitrary headers.
Date: Tue, 01 Sep 2020 21:27:57 +0000
From: Aioe <estasi@aioe.org>
References: <ricgun$ti2$1@tncsrv09.home.tnetconsulting.net>
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: Aioe.org NNTP Server
Lines: 32
Nntp-Posting-Host: 1373CahM+/1yT+xOvJEZ5g.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
X-Notice: Filtered by postfilter v. 0.9.2