🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #204687

Re: Expensive scoring

#204687
From: Peter J Ross
Date: Fri, 24 Aug 2007 20:06
75 lines
4032 bytes
In news.software.readers on 24 Aug 2007 17:42:11 GMT, Blinky the Shark
<no.spam@box.invalid> wrote:

> William Poaster wrote:
>> It was on, or about,  Thu, 23 Aug 2007 20:25:33 +0000, that as I was
>> halfway through a large jam doughnut, Blinky the Shark wrote:
>>
>>> Leafnode also has this setting:
>>> 
>>> ## If you want to have your newsreader score/kill on Xref: lines, you
>>> might ## want to uncomment this.
>>> # create_all_links = 1
>>> 
>>> I don't have it enabled.  And so don't know what "full" means, there in
>>> that overview.fmt.
>>
>> I have always had it enabled, so you can kill on *any* header including 
>> anything in the "Path:..." such as (for e.g):- 
>> ^Path:.*news\.cnntp\.org* or ^Path:.*bigpond\.com*
>
> I've never read anything about that setting affecting anything but Xref
> (basing it on Newsgroups).

That's because it affects nothing but Xref. You can score on any
header in Leafnode, but create_all_links creates the crossposted
groups locally, with the result that they're mentioned in the Xref
line.

E.g.

	# ls /var/spool/news/uk
	d-i-y  media  test

uk.test is the only one of those groups I've used, but as far as the
leafnode *server* is concerned the other two groups are just as real.
The only difference is that they're ignored when running the fetchnews
*client*.

<...>

>> BTW, something else you can do with leafnode is kill the dolts who post 
>> in HTML:  ^Content-Type:.*text/html
>
> I do that with my mail client, too.

When you switch to Leafnode 2, you'll discover the delights of
"select" and "score" rules as well as the ordinary "kill" rules.

I wonder how this would work?

	# Most "kill" rules go above these next lines; all posts
	# "selected" by these lines will *not* be killed by subsequent
	#  rules.
	newsgroups = .+

	pattern = ^Content-Type:\s*text/plain
	action = select
	# allows plain-text MIME posts through

	pattern = ^Content-Type:\s*multipart/alternative
	action = select
	# allows PGP-MIME etc through, but has the side-effect of
	# allowing HTML if it's accompanied by a plain-text
	# alternative

	# add other exceptions here

	pattern = ^Content-Type:
	action = kill
	# kills not only HTML but also attached binaries and other
	# crap


-- 
PJR :-)
Technical Details
Message-ID: <slrnfcuei3.5o2.pjr@pjr.gotdns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <slrnfcn12r.eqq.no.spam@thurston.blinkynet.net> <slrnfcn29i.6jr.andrew@ilium.invalid> <Xns99948196C11BAemteedee@203.26.24.228> <k0msp4xvg5.ln2@news.gates-of-hell.com> <7rjtp4-af1.ln1@whisper.very.softly> <20070822215126@usenet.piggo.com> <olnup4-f43.ln1@whisper.very.softly> <20070823083412@usenet.piggo.com> <slrnfcpil8.6nu.no.spam@thurston.blinkynet.net> <20070823095547@usenet.piggo.com> <20070823113519.3EA7.3.NOFFLE@ID-107770.user.individual.net> <slrnfcrouc.u9s.no.spam@thurston.blinkynet.net> <20070823200331.3EA7.15.NOFFLE@ID-107770.user.individual.net> <slrnfcrrbj.u9s.no.spam@thurston.blinkynet.net> <smt2q4-6l6.ln1@wp.leafnode.mc1> <slrnfcu658.m5p.no.spam@thurston.blinkynet.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfcuei3.5o2.pjr@pjr.gotdns.org>
Subject: Re: Expensive scoring
Date: Fri, 24 Aug 2007 20:06:28 +0000
From: Peter J Ross <pjr@example.invalid>
References: <slrnfcn12r.eqq.no.spam@thurston.blinkynet.net> <slrnfcn29i.6jr.andrew@ilium.invalid> <Xns99948196C11BAemteedee@203.26.24.228> <k0msp4xvg5.ln2@news.gates-of-hell.com> <7rjtp4-af1.ln1@whisper.very.softly> <20070822215126@usenet.piggo.com> <olnup4-f43.ln1@whisper.very.softly> <20070823083412@usenet.piggo.com> <slrnfcpil8.6nu.no.spam@thurston.blinkynet.net> <20070823095547@usenet.piggo.com> <20070823113519.3EA7.3.NOFFLE@ID-107770.user.individual.net> <slrnfcrouc.u9s.no.spam@thurston.blinkynet.net> <20070823200331.3EA7.15.NOFFLE@ID-107770.user.individual.net> <slrnfcrrbj.u9s.no.spam@thurston.blinkynet.net> <smt2q4-6l6.ln1@wp.leafnode.mc1> <slrnfcu658.m5p.no.spam@thurston.blinkynet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
Reply-To: pjr.spam@gmail.com
User-Agent: slrn/0.9.8.1pl2.1 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 75
NNTP-Posting-Date: 24 Aug 2007 15:06:28 CDT
X-Trace: DXC=l3^9G7T_;
 K11il`m_OCB_4]AGWjF5PjP9465Ue@WB_5?<[@icIXe2S026Z<EbT:a\5lV3mi\haFg898G^X:mZVc;
 7=[]JEkXHf=
X-Original-Bytes: 3733