🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90703

Re: [PATCH]: SLRN: include Injection headers in new score.

#90703
From: Kaz Kylheku
Date: Thu, 31 Aug 2023 23:52
47 lines
2621 bytes
On 2023-08-31, Matthew Ernisse <matt@going-flying.com> wrote:
> On Mon, 28 Aug 2023 19:57:35 -0000 (UTC), Kaz Kylheku wrote:
>> This patch affects editing of the score file. Usenet suffers from a lot
>> of Google Groups spam, and it is often identified well through the
>> Injection*: headers.  These headers are not propagated to the score
>> file, so I've had to manually copy and paste, which is annoying.
>
> Is there a reason you don't just score based on Message-ID?  Google
> Groups messages are farily easily identifiable that way.

Well, yes, if I wanted to nuke everything coming from Google Groups,
I know which iron to pull out from the golf bag.

There are sometimes normal people coming from GG whose only
fault is that they don't know about using a proper newsreader
connected to an NNTP server.

> I have the
> below in my News/Scores file to mark all Google Group originated
> articles.
>
> [*]
>         %% Demote all googlegroup origin articles.
>         Score: -20
>         Message-ID: googlegroups

I never use a score other than -9999, using .slrn-scores purely
as a kill file.

I can't think of a situation in which I would want multiple
conditions to be met in order for a post to disappear.

Every single rule I put in the file is a clear "deal breaker"
considered in isolation.

> I mention this because I don't think Injection or Posting-Host are
> generally included in the overview which means slrn will have to fetch
> more information to apply scoring -- potentially needlessly.

Correct. SLRN fetches extra headers to apply my rules. For the volume,
it's nothing. Probably less than what a Google Groups user fetches
via their browser just to load a page.

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca
Technical Details
Message-ID: <20230831163303.962@kylheku.com>
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: <20230828125422.870@kylheku.com> <slrnuf22ql.2ek.matt@imladris.colo.ub3rgeek.net>

Show Full Headers
Complete Article Headers
Message-ID: <20230831163303.962@kylheku.com>
Subject: Re: [PATCH]: SLRN: include Injection headers in new score.
Date: Thu, 31 Aug 2023 23:52:16 +0000
From: Kaz Kylheku <864-117-4973@kylheku.com>
References: <20230828125422.870@kylheku.com> <slrnuf22ql.2ek.matt@imladris.colo.ub3rgeek.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: A noiseless patient Spider
Lines: 47
Injection-Date: Thu, 31 Aug 2023 23:52:16 -0000 (UTC)
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:Lr8YuRS40TrjmCUAF+6cUu4VqDc=