Article View: news.software.readers
Article #203796Re: Can someone post or link me to an slrn score file?
From: Peter J Ross
Date: Tue, 14 Aug 2007 22:16
Date: Tue, 14 Aug 2007 22:16
108 lines
4085 bytes
4085 bytes
In news.software.readers on Tue, 14 Aug 2007 15:02:30 -0500, Moe Trin
<ibuprofin@painkiller.example.tld> wrote:
> Assuming you are using slrn on-line, simply pick any article, and press
> the 'k' key, and answer the questions - that should create an entry in
> the score file you can use as an example. Don't forget to use a text
> editor to remove unwanted entries you may create as examples or by
> accident.
And don't forget that you can edit the scorefile from within slrn
using (by default) "ESC 1 k".
<...>
My scorefiles are smaller than yours, but probably just complex enough
to illustrate some concepts for the OP.
#v+
% this rule illustrates the use of ":", "::" and "="
[*]
Score: =100
From: pjr@example\.invalid
{::
Message-Id: pjr@pjr\.gotdns\.org>
Message-Id: pjr@pjr\.motzarella\.org>
}
% these rules illustrates the use of "?" in regular expressions
% note that the two rules are intentionally cumulative in effect
[*]
Score:: 150
Subject: pjr
Subject: p\.? ?j\.? ?ross
Subject: peter ?j\.? ?ross
Score:: 300
Subject: ping.+pjr
Subject: ping.+p\.? ?j\.? ?ross
Subject: ping.+peter ?j\.? ?ross
% everybody needs something like these rules to track replies to one's
% posts
[*]
Score:: 1000
References: pjr@pjr\.gotdns\.org> *$
References: pjr@pjr\.motzarella\.org> *$
Score:: 80
References: pjr@pjr\.gotdns\.org>[^>]+> *$
References: pjr@pjr\.motzarella\.org>[^>]+> *$
Score:: 40
References: pjr@pjr\.gotdns\.org>[^>]+>[^>]+> *$
References: pjr@pjr\.motzarella\.org>[^>]+>[^>]+> *$
Score:: 20
References: pjr@pjr\.gotdns\.org>[^>]+>[^>]+>[^>]+> *$
References: pjr@pjr\.motzarella\.org>[^>]+>[^>]+>[^>]+> *$
% temporary rules to deal with some recent HipCrime spew
% these rules demonstrate the use of "~"
[*]
Score: =-9999
Xref: sci\.crypt
~References: .
Score: =-9999
X-Complaints-To: abuse@suddenlink\.net
~References: .
% interesting topics in NSR
% note that "tin" is matched, but not "sitting" or "tingle"
[news.software.readers]
Score:: 100
Subject: slrn
Subject: \<r?tin[^a-z]
% a "bug" I'm monitoring to see if it's fixed
% this rule shows the use of "\d" to match any digit
[news.admin.moderation]
Score: =5000
References: trimmed-\d
% this rule kills some spam but allows me to read posts *about* the spam
% it demonstrates how "\<" and "\>" work
[comp.os.linux.misc]
Score: =-9999
{:
Subject: \<nike\>.*\<jordan\>
Message-Id: \.googlegroups\.com>
~References: .
}
% this rule shows how to make rules case-sensitive
[rec.arts.drwho]
Score: -500
From: \cTOPoster
#v-
Of course I have plenty of simple rules based on From: or Subject:
too.
--
PJR :-)
Technical Details
Message-ID:
<slrnfc4adb.att.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-mailReferences:
<slrnfc38ln.r3a.ohmster@ohmster.com> <slrnfc42ik.4oa.ibuprofin@compton.phx.az.us>Show Full Headers
Complete Article Headers
Message-ID: <slrnfc4adb.att.pjr@pjr.gotdns.org> Subject: Re: Can someone post or link me to an slrn score file? Date: Tue, 14 Aug 2007 22:16:12 +0000 From: Peter J Ross <pjr@example.invalid> References: <slrnfc38ln.r3a.ohmster@ohmster.com> <slrnfc42ik.4oa.ibuprofin@compton.phx.az.us> 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: 108 NNTP-Posting-Date: 14 Aug 2007 17:16:12 CDT X-Trace: DXC=\MUAPlhTSK1=eWd[I>9FW3]AGWjF5PjP9465Ue@WB_5?:<VkJm^Y4Y426Z<EbT:a\5lV3mi\haFg85O`:WUc8^2; N`T]L; ; _^J? X-Original-Bytes: 3763