🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #29837

Re: Killing crossposts in SLRN

#29837
From: Heikki Kantola
Date: Wed, 22 Jan 1997 00:00
58 lines
2402 bytes
In article <slrn5e9kgh.5p6.Xmatt@primefactor.com>,
	Xmatt@primefactor.com (remove X to reply) writes:
> I've been using SLRN for a while now and have just started exploring the
> kill file format, but the documentation seems to be very limited.

The KILL_FAQ and score.txt documents that come in the slrn archive
should get you started. 
 
> Some of the things I want to do with the score file is:

These are easy...

> 	Kill any message that has been crossposted to N or more newsgroups
> where N would be a number.

The following would do the trick for articles posted to 6 or more groups:
Score: -9999
	Xref: .*:.* .*:.* .*:.* .*:.* .*:.*

> 	Kill any message whos subject line was written in all caps.

Score: -9999
        ~Subject: \c[a-z]
Score: -9999
        Subject: ^Re:
        ~Subject: ..\c[a-z]

> 	Kill any message that contains the words make, money, and fast no
> matter what order they come in and case-insensitive.

If you want exactly that, it would be:

Score:: -9999
	Subject: make.*money.*fast
	Subject: fast.*money.*make
	Subject: money.*make.*fast
	Subject: money.*fast.*make
	Subject: make.*fast.*money
	Subject: fast.*make.*money

Although, I think a better (read: shorter) option might be:
Score:: -5000
	Subject: money
	Subject: fast
	Subjecy: make

...even as I think that slrn doesn't currently make article disappear
from the listing even if it would gain -15000 score from the above
rule. :-/

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Technical Details
Message-ID: <5c4rra$cva@oravannahka.Helsinki.FI>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn5e9kgh.5p6.Xmatt@primefactor.com>

Show Full Headers
Complete Article Headers
Message-ID: <5c4rra$cva@oravannahka.Helsinki.FI>
Subject: Re: Killing crossposts in SLRN
Date: Wed, 22 Jan 1997 00:00:00 +0000
From: hkantola@cc.Helsinki.FI (Heikki Kantola)
References: <slrn5e9kgh.5p6.Xmatt@primefactor.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.mbox.zip!not-for-mail
X-Deja-AN: 211435358
Content-type: text/plain; charset=iso-8859-1
Organization: Department of General Wizardry, Unseen University, Ankh-Morpork
Mime-version: 1.0
Reply-to: Heikki.Kantola@IKI.FI
Newsgroups: news.software.readers