🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by remove X to reply Tue, 21 Jan 1997 00:00
Killing crossposts in SLRN
#29786
Author: remove X to reply
Date: Tue, 21 Jan 1997 00:00
21 lines
1042 bytes
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.

Some of the things I want to do with the score file is:

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

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

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

--
Matt

matt@primefactor.com


Re: Killing crossposts in SLRN
#29837
Author: 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.

Re: Killing crossposts in SLRN
#29910
Author: Matt Perry - header is munged
Date: Wed, 22 Jan 1997 00:00
29 lines
1385 bytes
On Tue, 21 Jan 1997 09:26:25 -0500, remove X to reply <Xmatt@primefactor.com> wrote:
>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.
>
>Some of the things I want to do with the score file is:
>
>	Kill any message that has been crossposted to N or more newsgroups
>where N would be a number.
>
>	Kill any message whos subject line was written in all caps.
>
>	Kill any message that contains the words make, money, and fast no
>matter what order they come in and case-insensitive.
>
>--
>Matt
>
>matt@primefactor.com
>

Anyone know how to do these things?

-- 
Matt Perry - matt@primefactor.com
Address is deliberately munged.  You must edit the headers before replying.


Re: Killing crossposts in SLRN
#29913
Author: Colin Rosenthal
Date: Wed, 22 Jan 1997 00:00
19 lines
962 bytes
On 22 Jan 1997 10:57:46 GMT, Heikki Kantola <hkantola@cc.Helsinki.FI> wrote:

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

You might also want to add

Score: -9999
       Subject: $$
       
:-)

Colin Rosenthal

Re: Killing crossposts in SLRN
#29926
Author: Matt Perry - header is munged
Date: Thu, 23 Jan 1997 00:00
28 lines
1306 bytes
On 22 Jan 1997 23:02:55 GMT, Colin Rosenthal <rosentha@asp.hao.ucar.edu> wrote:
>On 22 Jan 1997 10:57:46 GMT, Heikki Kantola <hkantola@cc.Helsinki.FI> wrote:
>
>>Although, I think a better (read: shorter) option might be:
>>Score:: -5000
>>	Subject: money
>>	Subject: fast
>>	Subjecy: make
>
>You might also want to add
>
>Score: -9999
>       Subject: $$
>       
>:-)
>
>Colin Rosenthal

Thanks for everyone's help (esp Heikki).  My newsgroup reading is now much
more enjoyable without all of the spam.

-- 
Matt Perry - matt@primefactor.com
Address is deliberately munged.  You must edit the headers before replying.


Re: Killing crossposts in SLRN
#29966
Author: John E. Davis
Date: Thu, 23 Jan 1997 00:00
33 lines
1388 bytes
On 22 Jan 1997 10:57:46 GMT, Heikki Kantola <hkantola@cc.Helsinki.FI>
wrote:
>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

Close.  The last score will give a score of -5000 to any article whose
subject contains `money' OR `fast' OR `make'.  However, I believe the
original poster wanted to score a subject that contains `money' AND
`fast' AND `make':

Score: -5000
  Subject: money
  Subject: fast
  Subject: make
  
Note the only difference is the number `:' charcters.

--John


Re: Killing crossposts in SLRN
#29971
Author: Jan Hlavacek
Date: Thu, 23 Jan 1997 00:00
32 lines
1577 bytes
On 23 Jan 1997 09:12:16 GMT, John E. Davis <davis@space.mit.edu> wrote:
>On 22 Jan 1997 10:57:46 GMT, Heikki Kantola <hkantola@cc.Helsinki.FI>
>wrote:
>>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
>
>Close.  The last score will give a score of -5000 to any article whose
>subject contains `money' OR `fast' OR `make'.  

What you say is that each rule is applied only once, even if in the case of
all those words in the subject line,  it could be matched three times?

lahvak
-- 
Jan Hlav\'{a}\v{c}ek
lahvak@math.ohio-state.edu
www: http://www.math.ohio-state.edu/~lahvak


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads