🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266417

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

#266417
From: Bernd Rose
Date: Sun, 03 Dec 2023 21:19
22 lines
1789 bytes
On Sun, 3rd Dec 2023 21:46:56 +0100, yamo' wrote:

> If possible, the best way is the Injection-Info which contains :
> google-groups.googlegroups.com

This could be done this way in 40tude Dialog:

!markread,ignore Header {^(Injection-Info: [^.]*.googlegroups.com;
posting-host=[0-9.]*; posting-account=)}

By filling out the posting-account in the above example, this filter can be
adjusted to a single Googlegroups user.

> But the User-Agent G2/1.0 seems to be only used by google-groups...

!move(SPAM) Header "User-Agent: G2/1.0"

This example shows another filter method for 40tude Dialog. It would move
fetched messages into a (prior created) SPAM folder. This way, any false 
positive would stay accessible, if need be.

Bernd
Technical Details
Message-ID: <ulpo4tuztr3g.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
References: <ukimeu$m2jo$1@paganini.bofh.team> <ukipg0$pq8$1@rasp.pasdenom.info>

Show Full Headers
Complete Article Headers
Message-ID: <ulpo4tuztr3g.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [Dialog] Filter needed to get rid of Google Groups spam by Message-ID or by User-Agent
Date: Sun, 3 Dec 2023 22:19:10 +0100
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <ukimeu$m2jo$1@paganini.bofh.team> <ukipg0$pq8$1@rasp.pasdenom.info>
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
Supersedes: <trcvju6divcs$.dlg@b.rose.tmpbox.news.arcor.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: solani.org;
User-Agent: 40tude_Dialog/2.0.15.41 (b398557a.353.450)
Cancel-Key: sha1:dqal9MuiYpyVAjykHlfJ++O66i8=
Cancel-Lock: sha1:saTqpwZ56/Np/xb8w/YFiCxmKbQ=
X-User-ID: eJwNzMEVACEIA9GWAJPolqMC/Zewnue/4ZDrTogCmx29nOguyM7HQoQyE4M59uKXBtd8afvT6vDrEUcNrmlx7P1wKmtnXtv1A7fLGeI=