Article View: news.software.readers
Article #266287Re: [tin] Filtering for Message-ID
From: Urs Janßen
Date: Tue, 10 Oct 2023 11:06
Date: Tue, 10 Oct 2023 11:06
42 lines
2446 bytes
2446 bytes
In <ug2utl$10f6d$2@dont-email.me> on Tue, 10 Oct 2023 09:36:23,
Rene Kita wrote:
> Urs recommended to use msgid_only. What difference does msgid_last make
> here? I guess some replies will be killed, too.
[tin(5)]
| ${TIN_HOMEDIR:-"$HOME"}/.tin/filter
[...]
| msgid_last
| Match against ’’Message-ID:’’ and last ’’References:’’
| entry only. The matching type used (wildmat or regex) de‐
| pends on the setting of the tinrc variable wildcard.
|
| msgid_only
| Match against ’’Message-ID:’’. The matching type used
| (wildmat or regex) depends on the setting of the tinrc
| variable wildcard.
so with msgid_last direct responses would be matched too.
JFTR I've added the following to tin(5) to clarify things:
#v+
== modified file 'doc/tin.5'
--- old/doc/tin.5 2023-07-31 06:03:39 +0000
+++ new/doc/tin.5 2023-10-09 19:57:53 +0000
@@ -759 +759,3 @@
-lines beginning with a '#' are ignored.
+lines beginning with a '#' are ignored. Multiple matching-rules in the same
+scope are all applied individually and not only when they all hit at the
+same time (logical OR not AND).
@@ -879,0 +882,9 @@
+
+comment=downscore postings in nsr from google base on
+comment=message-id or path, if both hit they end up with
+comment=a score of -66 which is enough to mark them killed
+group=news.software.readers
+case=1
+score=-33
+path=\\.googlegroups\\.com!not-for-mail$
+msgid_only=@googlegroups\\.com>
#v-
Technical Details
Message-ID:
<ug3b7n$o3m$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:
<ug1fpn$1r58$2@dont-email.me> <ug2utl$10f6d$2@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <ug3b7n$o3m$1@nntp.de>
Subject: Re: [tin] Filtering for Message-ID
Date: Tue, 10 Oct 2023 11:06:31 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <ug1fpn$1r58$2@dont-email.me> <ug2utl$10f6d$2@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
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 10 Oct 2023 11:06:31 -0000 (UTC)
User-Agent: tin/2.6.3-20231002 ("Pittyvaich") (Linux/5.10.0-25-amd64 (x86_64))
Cancel-Lock: sha1:jkMZi8jr7P5MLgvletkisRfwmbE=
X-No-Archive: yes
X-No-HTML: yes