🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #115508

Re: [Xnews] No run-on filters?

#115508
From: Murray Peterson
Date: Tue, 03 Dec 2002 20:31
64 lines
3597 bytes
LASPI <kanenas@pouthena.com> wrote in
news:Xns92D98EDE81B30kanenaspouthena@24.168.128.74: 

> Well, I've turned off the stored headers option & I still get the same
> problem. Perhaps I should remove the .hdr pertaining to the same
> group(s) & let it refresh? The reason I'm asking is because the last
> time I did that, quite a number of valid posts disappeared & Xnews was
> unable to retrieve them.

Sounds like you store articles.  If you delete them, some of them will not 
be retrievable, since the server no longer has them either.

Anyway, as far as filtering goes, I know that scoring does NOT work on 
stored headers unless you explicitly rescore them when opening the group 
window.  E.G.  In your groups.ini, you need something like:

[.]
OnLoaded=acmRescore

Someone in this group that uses storage can probably help you much better 
than I can.


As far as your filters go, you have a major error in at least one of them.  
A single colon after Score means that all of the scores in a group must be 
true before the score will work.  Change the single colon (AND operation) 
to a double colon (OR operation), and things should work quite a bit 
better.

>Sorry for all the "run-on" questions but how many times does one
> get to ask somebody who's actually scripted utilities for Xnews.

Writing Perl scripts isn't that big of a deal for me (I write code for a 
living), so try not to assume I am "better" at Xnews than others.  I do 
understand regular expressions fairly well, so I can probably help with any 
queries in that area.

Here is a "cleaned up" version of your score file.  Note that you don't 
need to worry about matching upper/lower case, and you shouldn't try to 
match entire phrases or sentences, since spam tends to change those as time 
passes.  You might also look at my sample score file for some more 
extensive spam filtering.

[binaries]
Score:: -9999
Subject: ([a-zA-Z0-9][~a-zA-Z0-9]){4,}
Subject: real\s*(men|ass|male|dude)
Subject: unstaged\s*upskirt
Subject: ronbosworld|love.cum|amateurvoy|male.amateur|nigger
Subject: angelstrippers|check.this.out|strip.poker
Subject: ronbo|Cute.*Young
Subject: V.I.P|lolita|\$\d+|your.life|get.rich|work.from.home
Subject: mailbox|tplayer|protocols
From: Voyeur|y.o.u.n.g|girlz|productions|teen|Ronbo|faq.man

[.]
Score: 9999
Subject: laspi

-- 
Murray Peterson
Email: murray_peterson@shaw.ca (remove underscore)
URL:   http://members.shaw.ca/murraypeterson/
Technical Details
Message-ID: <Xns92D989FC26472farkle@24.71.223.159>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
References: <Xns92D9862657B66kanenaspouthena@24.168.128.74> <Xns92D973FCDF238farkle@24.71.223.159> <Xns92D98EDE81B30kanenaspouthena@24.168.128.74>

Show Full Headers
Complete Article Headers
Message-ID: <Xns92D989FC26472farkle@24.71.223.159>
Subject: Re: [Xnews] No run-on filters?
Date: Tue, 03 Dec 2002 20:31:50 GMT
From: Murray Peterson <mwp@home.com.invalid>
References: <Xns92D9862657B66kanenaspouthena@24.168.128.74> <Xns92D973FCDF238farkle@24.71.223.159> <Xns92D98EDE81B30kanenaspouthena@24.168.128.74>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news3.calgary.shaw.ca.POSTED!not-for-mail
X-Trace-PostClient-IP: 68.145.202.240
Newsgroups: news.software.readers
Organization: None
User-Agent: Xnews/5.04.25
Lines: 63
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse@shaw.ca
X-Trace: news3.calgary.shaw.ca 1038947510 24.71.223.147 (Tue, 03 Dec 2002 13:31:50 MST)
NNTP-Posting-Date: Tue, 03 Dec 2002 13:31:50 MST