Thread View: news.software.readers
21 messages
21 total messages
Started by Rene Kita
Mon, 09 Oct 2023 07:55
[tin] Filtering for Message-ID
Author: Rene Kita
Date: Mon, 09 Oct 2023 07:55
Date: Mon, 09 Oct 2023 07:55
19 lines
1292 bytes
1292 bytes
Due to recent events I finally tried to filter Google Groups users with tin. I do not want to filter followups to posts from GG users. AFAIU GG posters have a Message-ID which always ends with '@googlegroups.com'. I have the following regex in my filter file: group=* case=0 score=-25 msgid=.*@googlegroups.com> The above filter entry does not match initial articles. I tried multiple versions, including using msgid_last and msgid_only, but could not achieve what I wanted. I did not spot a pattern what is matched. Can I somehow see what tin filters to debug this? Does someone here has a working filter and would share it?
Re: [tin] Filtering for Message-ID
Author: Ralph Fox
Date: Mon, 09 Oct 2023 08:25
Date: Mon, 09 Oct 2023 08:25
33 lines
2010 bytes
2010 bytes
On Mon, 9 Oct 2023 07:55:13 -0000 (UTC), Rene Kita wrote:
> Due to recent events I finally tried to filter Google Groups users with
> tin. I do not want to filter followups to posts from GG users.
>
> AFAIU GG posters have a Message-ID which always ends with
> '@googlegroups.com'.
>
> I have the following regex in my filter file:
> group=*
> case=0
> score=-25
> msgid=.*@googlegroups.com>
>
> The above filter entry does not match initial articles. I tried multiple
> versions, including using msgid_last and msgid_only, but could not
> achieve what I wanted. I did not spot a pattern what is matched.
>
> Can I somehow see what tin filters to debug this?
>
> Does someone here has a working filter and would share it?
This site is now a few years old, but its tin filter may still work.
"The Usenet Improvement Project - Filters Examples 3"
<http://twovoyagers.com/improve-usenet.org/filters_ex3.html>
--
Kind regards
Ralph Fox
š¦
Re: [tin] Filtering for Message-ID
Author: issdr
Date: Mon, 09 Oct 2023 08:25
Date: Mon, 09 Oct 2023 08:25
7 lines
1186 bytes
1186 bytes
Rene Kita wrote: > AFAIU GG posters have a Message-ID which always ends with > '@googlegroups.com'. don't know specifically about tin, but... i'd use `$' (end of line) on my regex
Re: [tin] Filtering for Message-ID
Author: issdr
Date: Mon, 09 Oct 2023 08:34
Date: Mon, 09 Oct 2023 08:34
7 lines
1090 bytes
1090 bytes
Rene Kita wrote: > msgid=.*@googlegroups.com> try this: msgid=.*@googlegroups\.com
Re: [tin] Filtering for Message-ID
Author: issdr
Date: Mon, 09 Oct 2023 08:46
Date: Mon, 09 Oct 2023 08:46
14 lines
1255 bytes
1255 bytes
issdr wrote: > Rene Kita wrote: > >> msgid=.*@googlegroups.com> > > try this: > > msgid=.*@googlegroups\.com nevermind. you should check tin's wildcard variable; however, this should work in any case: msgid_only:@googlegroups.com
Re: [tin] Filtering for Message-ID
Author: Rene Kita
Date: Mon, 09 Oct 2023 08:51
Date: Mon, 09 Oct 2023 08:51
37 lines
1947 bytes
1947 bytes
Ralph Fox <-rf-nz-@-.invalid> wrote: > On Mon, 9 Oct 2023 07:55:13 -0000 (UTC), Rene Kita wrote: > >> Due to recent events I finally tried to filter Google Groups users with >> tin. I do not want to filter followups to posts from GG users. >> >> AFAIU GG posters have a Message-ID which always ends with >> '@googlegroups.com'. >> >> I have the following regex in my filter file: >> group=* >> case=0 >> score=-25 >> msgid=.*@googlegroups.com> >> >> The above filter entry does not match initial articles. I tried multiple >> versions, including using msgid_last and msgid_only, but could not >> achieve what I wanted. I did not spot a pattern what is matched. >> >> Can I somehow see what tin filters to debug this? >> >> Does someone here has a working filter and would share it? > > > This site is now a few years old, but its tin filter may still work. > > "The Usenet Improvement Project - Filters Examples 3" > <http://twovoyagers.com/improve-usenet.org/filters_ex3.html> To quote the important part from that site: group=* case=0 score=kill msgid_only=googlegroups I tried that and articles with a Message-Id containing googlegroups are not killed.
Re: [tin] Filtering for Message-ID
Author: Rene Kita
Date: Mon, 09 Oct 2023 08:56
Date: Mon, 09 Oct 2023 08:56
26 lines
1306 bytes
1306 bytes
issdr <p_u_n_k_i_n_d@yahoo.it> wrote: > issdr wrote: > >> Rene Kita wrote: >> >>> msgid=.*@googlegroups.com> >> >> try this: >> >> msgid=.*@googlegroups\.com > > nevermind. you should check tin's wildcard variable; wildcard is set to 1 in my tinrc. > however, this should work in any case: > > msgid_only:@googlegroups.com I suppose you meant msgid_only=@googlegroups.com Does not work. E.g. Message-ID: <ab3059fc-cab2-4048-b901-f43283285324n@googlegroups.com> still has a score of 0 here.
Re: [tin] Filtering for Message-ID
Author: DV
Date: Mon, 09 Oct 2023 09:07
Date: Mon, 09 Oct 2023 09:07
18 lines
2736 bytes
2736 bytes
Rene Kita wrote: > AFAIU GG posters have a Message-ID which always ends with > '@googlegroups.com'. I found a message posted via Google Groups whose M-ID doesn't end with @googlegroups.com (but it's from 2012): <5593130.935.1330589899531.JavaMail.geo-discussion-forums@ynjc20> I think the best header field to filter Google Groups messages is Injection-Info, which always contains the string āgooglegroupsā. -- Denis Serveurs de news et passerelles web : <http://usenet-fr.yakakwatik.org> Lecteurs de news : <http://usenet-fr.yakakwatik.org/lecteurs-de-news.html>
Re: [tin] Filtering for Message-ID
Author: DrunkenThon
Date: Mon, 09 Oct 2023 09:07
Date: Mon, 09 Oct 2023 09:07
22 lines
1312 bytes
1312 bytes
Rene Kita <mail@rkta.de> wrote: > To quote the important part from that site: > group=* > case=0 > score=kill > msgid_only=googlegroups > > I tried that and articles with a Message-Id containing googlegroups are > not killed. For *wildmat* this will work: msgid_only=*@googlegroups.com* For *rexexp* use this: msgid_only=@googlegroups\.com You can set this option (wildcard) to either 0 or 1 (0 for wildmat and 1 for regex) in your tinrc file (tipically its ~/.tin/tinrc). -- Best regards, DrunkenThon.
Re: [tin] Filtering for Message-ID
Author: Rene Kita
Date: Mon, 09 Oct 2023 09:15
Date: Mon, 09 Oct 2023 09:15
26 lines
1621 bytes
1621 bytes
Rene Kita <mail@rkta.de> wrote: > Due to recent events I finally tried to filter Google Groups users with > tin. I do not want to filter followups to posts from GG users. > > AFAIU GG posters have a Message-ID which always ends with > '@googlegroups.com'. > > I have the following regex in my filter file: > group=* > case=0 > score=-25 > msgid=.*@googlegroups.com> > > The above filter entry does not match initial articles. I tried multiple > versions, including using msgid_last and msgid_only, but could not > achieve what I wanted. I did not spot a pattern what is matched. > > Can I somehow see what tin filters to debug this? > > Does someone here has a working filter and would share it? 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. Sorry for the noise and thanks for rubber-ducking.
Re: [tin] Filtering for Message-ID
Author: Sn!pe
Date: Mon, 09 Oct 2023 09:44
Date: Mon, 09 Oct 2023 09:44
30 lines
2402 bytes
2402 bytes
Rene Kita <mail@rkta.de> wrote: > Due to recent events I finally tried to filter Google Groups users with > tin. I do not want to filter followups to posts from GG users. > > AFAIU GG posters have a Message-ID which always ends with > '@googlegroups.com'. > > I have the following regex in my filter file: > group=* > case=0 > score=-25 > msgid=.*@googlegroups.com> > > The above filter entry does not match initial articles. I tried multiple > versions, including using msgid_last and msgid_only, but could not > achieve what I wanted. I did not spot a pattern what is matched. > > Can I somehow see what tin filters to debug this? > > Does someone here has a working filter and would share it? > In MacSOUP I kill Google posts with 'User-Agent contains "G2/1.0"' Perhaps that could work for tin too. -- ^Ć^. Sn!pe <https://youtu.be/_kqytf31a8E> My pet rock Gordon just is.
Re: [tin] Filtering for Message-ID
Author: 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.
Re: [tin] Filtering for Message-ID
Author: John McCue
Date: Mon, 09 Oct 2023 18:12
Date: Mon, 09 Oct 2023 18:12
26 lines
1383 bytes
1383 bytes
Rene Kita <mail@rkta.de> wrote: > Due to recent events I finally tried to filter Google Groups users with > tin. I do not want to filter followups to posts from GG users. > > AFAIU GG posters have a Message-ID which always ends with > '@googlegroups.com'. > > I have the following regex in my filter file: > group=* > case=0 > score=-25 > msgid=.*@googlegroups.com> A few years ago tin made changes to their filter logic and I found this works for me: group=* case=0 score=kill msgid_last=*<*@googlegroups.com>* > Does someone here has a working filter and would share it? just did :) HTH
Re: [tin] Filtering for Message-ID
Author: Rene Kita
Date: Tue, 10 Oct 2023 07:29
Date: Tue, 10 Oct 2023 07:29
26 lines
2024 bytes
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.
Re: [tin] Filtering for Message-ID
Author: Rene Kita
Date: Tue, 10 Oct 2023 07:36
Date: Tue, 10 Oct 2023 07:36
26 lines
1481 bytes
1481 bytes
John McCue <jmccue@fuzzball.jmcunx.com> wrote: > Rene Kita <mail@rkta.de> wrote: >> Due to recent events I finally tried to filter Google Groups users with >> tin. I do not want to filter followups to posts from GG users. >> >> AFAIU GG posters have a Message-ID which always ends with >> '@googlegroups.com'. >> >> I have the following regex in my filter file: >> group=* >> case=0 >> score=-25 >> msgid=.*@googlegroups.com> > > A few years ago tin made changes to their filter logic and I > found this works for me: > > group=* > case=0 > score=kill > msgid_last=*<*@googlegroups.com>* Thanks for sharing. Urs recommended to use msgid_only. What difference does msgid_last make here? I guess some replies will be killed, too.
Re: [tin] Filtering for Message-ID
Author: 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-
Re: [tin] Filtering for Message-ID
Author: Rene Kita
Date: Wed, 11 Oct 2023 07:24
Date: Wed, 11 Oct 2023 07:24
48 lines
2693 bytes
2693 bytes
Urs JanĆen <urs@buil.tin.org> wrote:
> 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.
Maybe you could clarify this too. For me it was not obvious that 'last
References entry' means direct responses.
> 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-
Thanks for this.
Re: [tin] Filtering for Message-ID
Author: Urs JanĆen
Date: Wed, 11 Oct 2023 08:16
Date: Wed, 11 Oct 2023 08:16
14 lines
1443 bytes
1443 bytes
Rene Kita wrote: > Maybe you could clarify this too. For me it was not obvious that 'last > References entry' means direct responses. I've updated it to | msgid_last | Match against ''Message-ID:'' and last ''References:'' | entry (direct responses) only. The matching type used | (wildmat or regex) depends on the setting of the tinrc | variable wildcard. keep in mind that this is the man page about the various file-formats used by tin and not to explain usenet (headers) in details.
Re: [tin] Filtering for Message-ID
Author: Milo Asher
Date: Thu, 12 Oct 2023 20:00
Date: Thu, 12 Oct 2023 20:00
2 lines
1097 bytes
1097 bytes
Buy ozempic online mexico without prescription https://buyozempiconlinemexico.com/
Re: [tin] Filtering for Message-ID
Author: Milo Asher
Date: Thu, 12 Oct 2023 20:01
Date: Thu, 12 Oct 2023 20:01
2 lines
1167 bytes
1167 bytes
Buy ozempic online mexico without prescription https://buyozempiconlinemexico.com/
Re: ā Snowflake āā Snowflake āā Snowflake āā Snowflake āā Snowflake āā Snowflake āā Snowflake āā Snowflake āā Snowflake āā Snowf...
Author: ššš»šŗš¹š»šš·šŗšJenššš»šŗš¹š»šš·šŗš Dershmen...
Date: Tue, 17 Oct 2023 16:21
Date: Tue, 17 Oct 2023 16:21
50 lines
7018 bytes
7018 bytes
On Mon, 9 Oct 2023 10:44:41 +0100, LO AND BEHOLD; WARNING: "Injection-Info: snipe.eternal-september.org" detected, therefore some british guy who was apprehended by bobbies in Lancashire having been accused of molesting several stones and pebbles in the area is on the loose once again. He may possibly be spotted in his natural environment of usenet ko0k froups demonstrating his UPA where he pretends that he's a bird that somehow is also a telepathic/spiritual conduit for a pet rock named Gordon that he purchased from a Roma fortune teller while completely fscked on lsd in 1971. He presently poasts his fascist and white supremacist-leaning sentiments using upwards of 3 ridiculous nyms including: "snipeco.2@gmail.com (Sn!pe)" DO NOT APPROACH HIM, as he has a pointy beak and is very very angry at the way that the tide is turning for white privilege and he determined that the following was of great importance and subsequently decided to freely share it with us in <1qibxph.183zkkmt7nnvfN%snipeco.2@gmail.com>: =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”Reneā”Kitaā”<mail@rkta.de>ā”wrote: =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā” =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”Dueā”toā”recentā”eventsā”Iā”finallyā”triedā”toā”filterā”Googleā”Groupsā”usersā”withā” =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”tin.ā”Iā”doā”notā”wantā”toā”filterā”followupsā”toā”postsā”fromā”GGā”users.ā”AFAIUā”GGā” =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”postersā”haveā”aā”Message-IDā”whichā”alwaysā”endsā”withā”'@googlegroups.com'.ā”Iā” =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”haveā”theā”followingā”regexā”inā”myā”filterā”file:ā”group=*ā”case=0ā”score=-25 =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”msgid=.*@googlegroups.com>ā”Theā”aboveā”filterā”entryā”doesā”notā”match =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”initialā”articles.ā”Iā”triedā”multipleā”versions,ā”includingā”usingā”msgid_last =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”andā”msgid_only,ā”butā”couldā”notā”achieveā”whatā”Iā”wanted.ā”Iā”didā”notā”spotā”a =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”patternā”whatā”isā”matched.ā”Canā”Iā”somehowā”seeā”whatā”tinā”filtersā”toā”debug =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”=?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”this?ā”Doesā”someoneā”hereā”hasā”aā”workingā”filterā”andā”wouldā”shareā”it?ā” =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā” =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”Inā”MacSOUPā”Iā”killā”Googleā”postsā”withā”'User-Agentā”containsā”"G2/1.0"' =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā”Perhapsā”thatā”couldā”workā”forā”tinā”too.ā” =?UTF-8?B?8J+Ps++4j+KAjfCfjIg=?=ā” What's hilarious is that you do that and yet you still pollute usenet complaining about everything you've "blocked". -- Golden Killfile, June 2005 KOTM, November 2006 Bob Allisat Memorial Hook, Line & Sinker, November 2006 Special Ops Cody Memorial Purple Heart, November 2006 Special Ops Cody Memorial Purple Heart, September 2007 Tony Sidaway Memorial "Drama Queen" Award, November 2006 Busted Urinal Award, April 2007 Order of the Holey Sockpuppet, September 2007 Barbara Woodhouse Memorial Dog Whistle, September 2006 Barbara Woodhouse Memorial Dog Whistle, April 2008 Tinfoil Sombrero, February 2007 AUK Mascot, September 2007 Putting the Awards Out of Order to Screw With the OCD Fuckheads, March 2016
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads