🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266426

Re: [Dialog] Filter needed to get rid of Google Groups spam by Message-ID or by User-Agent

#266426
From: vallor
Date: Tue, 05 Dec 2023 05:19
57 lines
3541 bytes
On Mon, 4 Dec 2023 23:03:51 +0000, snipeco.2@gmail.com (Sn!pe) wrote in
<1ql8ktj.1sgj62819c82p5N%snipeco.2@gmail.com>:

> Bernd Rose <b.rose.tmpbox@arcor.de> wrote:
> 
>> On Sun, 3rd Dec 2023 21:38:12 -0500, rocco portelli wrote:
>> 
>> > Can this be used to whitelist people?
>> > 
>> >  [news.software.readers]
>> >  !markread,ignore Header {^(Injection-Info:
> [^.]*.googlegroups.com;posting-host=[0-9.]*; posting-account=)}
>> > 
>> > If the posting account is in the whitelist, let them through.
>> > Otherwise plonk them.
>> 
>> There are several possible approaches to this matter. They will fail
>> the most important point, though, as long as they are based on
>> Injection-Info,
>> because this requires the body to be loaded...
>> 
>> A few pointers:
>> 
>> This example will move any message from gmail.com if it has not the
>> injection info for poster 1234abcd:
>> !move(SPAM) From gmail.com -@Header: {^(Injection-Info:
> [^.]*.googlegroups.com; posting-host=[0-9.]*; posting-account=1234abcd)}
>> 
>> It will only work for one (or very few) whitelist entries, though. With
>> a larger whitelist, it would be better to use scoring first:
>> 
>> -10 From gmail.com +@Message-ID: googlegroups.com +100 Header
>> {^(Injection-Info: .*; posting-account=1234abcd)}
>> +100 Header {^(Injection-Info: .*; posting-account=9876zyxw)}
>> !move(SPAM) Score %<0
>> 
>> To use this without loading the bodies, you'd need to find a different
>> method to identify whitelist posters. (Not injection info, because it
>> is not part of the basic Overview headers, as I already wrote...)
>> 
>> Bernd
> 
> There is a basic flaw here:  the use of a From: *@gmail address does not
> necessarily indicate a Google Groups poster.  I myself use such an
> adddress but I post via Eternal-September.  If you killfile on From: in
> that way you will get many false positives.  IMO it's better to k/f on
> Path; Message-ID; Injection-Info; or User-Agent (which last I use
> successfully).
> 
> This post is probably futile as I expect that Bernd has me killfiled by
> From: address and will not see it.  Perhaps some kind reader might
> followup to this article so he can see it.  TIA

I kill on the message-id, because that's in the overview.

-- 
-v
Technical Details
Message-ID: <ukmbs8$3pku1$4@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
References: <ukimeu$m2jo$1@paganini.bofh.team> <ukipg0$pq8$1@rasp.pasdenom.info> <ulpo4tuztr3g.dlg@b.rose.tmpbox.news.arcor.de> <ukjdr6$rqtq$1@paganini.bofh.team> <ukje2k$rrc1$1@paganini.bofh.team> <11nr6ohsy8fyb.dlg@b.rose.tmpbox.news.arcor.de> <1ql8ktj.1sgj62819c82p5N%snipeco.2@gmail.com>

Show Full Headers
Complete Article Headers
Message-ID: <ukmbs8$3pku1$4@dont-email.me>
Subject: Re: [Dialog] Filter needed to get rid of Google Groups spam by Message-ID or by User-Agent
Date: Tue, 05 Dec 2023 05:19:04 +0000
From: vallor <vallor@cultnix.org>
References: <ukimeu$m2jo$1@paganini.bofh.team> <ukipg0$pq8$1@rasp.pasdenom.info> <ulpo4tuztr3g.dlg@b.rose.tmpbox.news.arcor.de> <ukjdr6$rqtq$1@paganini.bofh.team> <ukje2k$rrc1$1@paganini.bofh.team> <11nr6ohsy8fyb.dlg@b.rose.tmpbox.news.arcor.de> <1ql8ktj.1sgj62819c82p5N%snipeco.2@gmail.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
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 57
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 5 Dec 2023 05:19:04 -0000 (UTC)
User-Agent: Pan/0.155 (Kherson; fc5a80b gitlab.gnome.org/GNOME/pan.git; x86_64-pc-linux-gnu)
Cancel-Lock: sha1:crhhytBhrVqql+OYrOzKHVmKFZQ=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ