Article View: news.software.readers
Article #266283Re: [tin] Filtering for Message-ID
From: Urs Janßen
Date: Mon, 09 Oct 2023 10:51
Date: Mon, 09 Oct 2023 10:51
40 lines
2041 bytes
2041 bytes
>> I do not want to filter followups to posts from GG users. then you should use msgid_only instead of msgid >> I have the following regex in my filter file: >> group=* >> case=0 >> score=-25 >> msgid=.*@googlegroups.com> the leading .* is unnecessary when using regex-filters, but the dot should be escaped: msgid_only=@googlegroups\.com> and I would make the search case insensitive via either case=1 or by prefixing the regexp with (?i): case=0 msgid_only=(?i)@googlegroups\.com> >> 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. > 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.
Technical Details
Message-ID:
<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-mailReferences:
<ug0bkv$3olc5$1@dont-email.me> <ug0gb0$3prht$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <ug0lur$8at$1@nntp.de>
Subject: Re: [tin] Filtering for Message-ID
Date: Mon, 09 Oct 2023 10:51:07 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <ug0bkv$3olc5$1@dont-email.me> <ug0gb0$3prht$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
Newsgroups: news.software.readers
Organization: tin.org
Archive: no
Injection-Date: Mon, 9 Oct 2023 10:51:07 -0000 (UTC)
User-Agent: tin/2.6.3-20231002 ("Pittyvaich") (Linux/5.10.0-25-amd64 (x86_64))
Cancel-Lock: sha1:oNbl5zsj4Ap8q4xg13so3zLoEY8=
X-No-Archive: yes
X-No-HTML: yes