🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80372

Re: Cleanfeed vs. "meow" groups.

#80372
From: Steve
Date: Wed, 11 Mar 2009 10:40
49 lines
2964 bytes
On Tue, 10 Mar 2009 15:40:41 -0700, D. Stussy wrote in
Message-Id: <gp6q98$k66$1@aux.snarked.org>:

> Two cases:
> 1)  Followups == groups.  Then it doesn't matter if we use @followups or
> @groups - they should be the same.  However, I consider that a special case
> as its usually but not always true.
Agreed.

> 2)  Followups != groups.  As I said in my original post, don't we have to
> count how many meow groups are in @followups?
To be precise about it we would need to do exactly as you say and
process followups and groups independently.  This isn't a problem when
taking meow_groups in isolation but in broader terms virtually every
filter in Cleanfeed uses gr{foo} which is calculated against groups and
not followups.  Considering this scope I think the problem lies with the
principle of setting followups = groups when no followup is specified.

One solution I'm considering is merging @groups and @followups and
removing duplictates to create a @grfu.  Taking our previous examples:

meow_ext_groups=2:

Newsgroups: meow1,foo,bar,baz
Merged_grfu: meow1,foo,bar,baz
Will be rejected (4-1=3).

Newsgroups: meow1,foo,bar,baz
Followup-To: foo,bar,baz
Merged_grfu: meow1,foo,bar,baz
Will *now* be rejected (4-1=3).

Newsgroups: meow1,foo,bar,baz
Followup-To: foo,baz,baz,qux
Merged_grfu: meow1,foo,bar,baz,qux
Will be rejected (5-1=4).

In the meow_groups case this appears to work well, I can't think of any
nasty gotchas that would result in false positives.  I'll work through
some other Cleanfeed filters and see how it would play out in them.

Apologies for expanding this beyond the scope of your original report
but resolving the problem for meow_groups alone is a bit like removing
a rotten apple from the top of the barrel.  :)

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Technical Details
Message-ID: <slrngrf59k.690.steve@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail
References: <gp4b26$nl3$1@aux.snarked.org> <slrngrci3q.6et.steve@news.mixmin.net> <slrngrcsmp.6et.steve@news.mixmin.net> <gp6q98$k66$1@aux.snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrngrf59k.690.steve@news.mixmin.net>
Subject: Re: Cleanfeed vs. "meow" groups.
Date: Wed, 11 Mar 2009 10:40:52 +0000
From: Steve <steve@mixmin.net>
References: <gp4b26$nl3$1@aux.snarked.org> <slrngrci3q.6et.steve@news.mixmin.net> <slrngrcsmp.6et.steve@news.mixmin.net> <gp6q98$k66$1@aux.snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 49
NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Wed, 11 Mar 2009 10:40:52 +0000 (UTC)
User-Agent: slrn/pre1.0.0-2 (Linux)