πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266285

Re: [tin] Filtering for Message-ID

#266285
From: Rene Kita
Date: Tue, 10 Oct 2023 07:29
26 lines
2024 bytes
Urs Janßen <urs@buil.tin.org> wrote:
>>> Can I somehow see what tin filters to debug this?
> 
> If tin is compiled with debugging support and started with "-D 2"
> it will create $TMPDIR/FILTER (details about the filter rules) and
> $TMPDIR/ARTS (status of the articles after applying the rules), but
> those files are hard to read without having some knowledge about the
> data-structures used. there is no simply "article killed due to the
> following rule" output available.

I will try this out. Seeing that an article is matched by multiple rules
would have been enough in my case.

>> As always, it was a PEBKAC. I had another rule that also matched.
>> Apparently, if you have a msgid and a from in one rule those are not
>> ANDed but ORed.
> 
> yes, there is currently no AND (but you could use scores with sum up to
> score_limit_kill/score_limit_select only if all the rules are matched as
> some kind of a workaroud.

This was what I was trying to do. There is a user who sometimes posts
via Google Groups. My idea was to apply a positive score when he posts
via GG, but not when he uses a proper news reader.

Thanks for the detailed answer.
Technical Details
Message-ID: <ug2ugu$10f6d$1@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: <ug0bkv$3olc5$1@dont-email.me> <ug0gb0$3prht$1@dont-email.me> <ug0lur$8at$1@nntp.de>

Show Full Headers
Complete Article Headers
Message-ID: <ug2ugu$10f6d$1@dont-email.me>
Subject: Re: [tin] Filtering for Message-ID
Date: Tue, 10 Oct 2023 07:29:36 +0000
From: Rene Kita <mail@rkta.de>
References: <ug0bkv$3olc5$1@dont-email.me> <ug0gb0$3prht$1@dont-email.me> <ug0lur$8at$1@nntp.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: A noiseless patient Spider
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 10 Oct 2023 07:29:36 -0000 (UTC)
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.0-24-amd64 (x86_64))
Cancel-Lock: sha1:BqULuKIW0sHRobXsCUKiRR31DjE=