🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266424

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

#266424
From: Sn!pe
Date: Mon, 04 Dec 2023 23:03
54 lines
3972 bytes
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  

-- 
^Ï^.          Sn!pe, PA, FIBS  -  Professional Crastinator.   
          My pet rock Gordon just said "Klaatu barada nikto."

  Google Groups articles not seen here unless poster is whitelisted.
Technical Details
Message-ID: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <1ql8ktj.1sgj62819c82p5N%snipeco.2@gmail.com>
Subject: Re: [Dialog] Filter needed to get rid of Google Groups spam by Message-ID or by User-Agent
Date: Mon, 4 Dec 2023 23:03:51 +0000
From: snipeco.2@gmail.com (Sn!pe)
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>
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: Sn!peCo World Wide Wading Birds
Lines: 54
Reply-To: snipeco.1@gmail.com (Sn!pe)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: MacSOUP/2.8.6b1 (ed136d9b90) (Mac OS 10.13.6)
Cancel-Lock: sha1:96dIF3FGBOgvF2JCPgVvfWlkD1Q=
X-Tongue-In-Cheek: Always
X-Clacks-Overhead: GNU Terry Pratchett; WonK; Large Enid
X-Face: 5<x+vv{"AHN,F~/dhf,X*~1zNv[TF/WUe(Uw.*ZOw\P'Ju]C6].T~7Z5cVjV\xTO6&)1#VQ
 iZ4vFDG
X-Disclaimer: Any advice that I may give is worth only what I paid for it.
 This article comprises only my personal opinions unless otherwise stated.
 May contain traces of nuts.
X-Copyright: Copyright (c) 2023 Sn!peCo WWWB, All Rights Reserved.
 This article may be reproduced for the purposes of propagation and
 personal use only, no commercial use without express permission.
X-Validate: All genuine Sn!peCo articles contain the header:
 "Injection-Info: snipe.eternal-september.org;" my registered FQDN.