🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #204425

Re: [slrn] How to get rid of unavailable articles

#204425
From: Peter J Ross
Date: Wed, 22 Aug 2007 12:10
67 lines
2948 bytes
In news.software.readers on Sun, 19 Aug 2007 13:30:16 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote:

> No, but the below is working for now since his from is always
>
> Firstname.Lastname@everchanging.domain.net[com biz]
>
> The below counts on the capital letters and the @ following the name.
>
>
> [comp.os.linux.misc]
> Score: =-9999
>         From: \C[A-Z]*[a-z]*\.[A-Z]*[a-z]*\@

That's backwards: you need \c to turn case-sensitivity on, not \C.

And you don't need to escape the "@".

And you have "*" twice where it makes the rule match more than one
capital letter.

This is what I tried:

	From: \c^[A-Z][a-z]+\.[A-Z][a-z]+@[^>]+$

However, there have been further morphs, and I've found no alternative
to scoring on headers like Organization, NNTP-Posting-Host and
X-Complaints-To.

At present, I've given up scoring the spew, because it was taking
longer to invent and apply "expensive" rules than to skim through the
group to find the real posts. Unfortunately I deleted my rules instead
of commenting them out, but the basic structure was something like
this:

#v+
[comp.os.linux.misc]
Score:: =-9999
	{:
		~References: .
		{::
			{:
				~Organization: ^http://
				Organization: .\{30,\}
			}
			Xref: \<sci\.crypt:
			X-Complaints-To: foo
			NNTP-Posting-Host: bar
			% a long list of similar lines
		}
	}
	Approved: .
#v-

(Some of the spew had an Approved header, none had a References
header, and most had an unduly long Organization header.)
 
Such a method is slow, but it was working a couple of days ago.

> In your kill file. Only had 1 false positive so far.

That's probably because dots before the "@" aren't very common. Not
that my rules wouldn't potentially produce some false positives too.


-- 
PJR :-)
Technical Details
Message-ID: <slrnfco9th.c74.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: <fa9eo7$mdf$1@registered.motzarella.org> <amslp4xjq7.ln2@news.gates-of-hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfco9th.c74.pjr@pjr.gotdns.org>
Subject: Re: [slrn] How to get rid of unavailable articles
Date: Wed, 22 Aug 2007 12:10:25 +0000
From: Peter J Ross <pjr@example.invalid>
References: <fa9eo7$mdf$1@registered.motzarella.org> <amslp4xjq7.ln2@news.gates-of-hell.com>
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: 67
NNTP-Posting-Date: 22 Aug 2007 07:10:25 CDT
X-Trace: DXC=:80<kRjflJO9D^J:lC9lKF]AGWjF5PjPI465Ue@WB_5O\ODd;
 FLG8TG26Z<EbT:a\ElV3mi\haFgHQQn@K`M1XnHCHCnBFi4=[@
X-Original-Bytes: 2628