πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #123258

Re: Built-in filters in xnews

#123258
From: Tech Zero
Date: Thu, 17 Apr 2003 07:25
95 lines
4015 bytes
The voice of "RenοΏ½ de Hosson" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> The Silent One <Ssshhhh!@quite.now> wrote in 
> news:Xns935EED2C9CC33Quite............@IP-Hidden:
> 
>> put this in your SCORE.INI file
> 
> Some other useful filters for your score.ini file:
> 
> [.]
> 
>          Score: -9999
>                ~Subject= .*[a-z]
> 
>          Score: -9999
>                   Subject= ^[Rr][Ee]: [^a-z]*$
>                   Subject= ^[Rr][Ee]: .*[A-Z]


Because the probability of a spam consisting entirely of the letter "E" 
is so astronomically rare you can just removing it instead:

  Score: -9999
    ~Subject= [a-df-z]

This will get allot of false positives in some groups though, and won't 
stop the majority of unwanted posts. For that you need to use a group 
of filters:

  [~binaries] 
  Score: -4004
    Subject: \b(F\W?[AST]|OT|RTT)\b|auction|comm?iss?ion|off\W{0,2}topic|sale|trade
    ~Subject: F\W[ast]\W\w|help|prob|quest|\?$
  Score: -4005
    Xref: (.*:){3,}
    ~Subject: FAQ|ident|notice|worm|virus
  Score: -4006
    ~Subject= [a-df-z]
    ~Subject: ^(Re: )?\S+$|FAQ|help|prob|quest
  Score:: -4007
    Subject: \s{2,}\W?\d{4,}\W?$|1\d\sy(o|(ea)?r)|(\w\W\s?){7,}
    Subject: (free|make|eazy).money|money.*(free|making)

Since I hide all messages less then "0" I can give each filter an 
easily to identify score for later debugging. I then back these up
with "Per group" filters as needed: 

  [^alt\.music\.mp3]
  Score: -1300
    Subject: \b(FTP|req(uest)?)\b|Kaz[az]?a|RIAA|WinMX
    ~Subject: \?$
  Score: -1500
    Subject: free.*(download|mp3|music\W)|(cheap|free|rare).*MP3

  [^news\.software\.readers$]
  Score:: -1000
    Subject: 40tude|Agent|Gravity|Xananews|\b(bnr2|pan|slrn|t[ir]n)\b
    ~Subject: Luu Tran|\bx\W?news?|GNKSA|RFC\d{3,}|archive|download|filter|queue|scor(e|ing)|segments|thank

Global filters don't work well for binary groups. It's far more 
affective to eliminate content you don't want "per group" then try to 
eliminate the spam in most binary groups, especially in the more "adult" 
groups where there is often more spam then content. 

That's not to say it's impossible... just inefficient.

That said, here's the entries I use for MP3 groups:

  [bin.*mp3(\.(\d+|ind|hea|got|nos|sou|vid)|$)]
  Score: =-5000
    Lines: -1000
    ~Subject: \W00\W|\.(bmp|jpe?g|gif|mp3|m3u|nfo|pls|png|sfv|zip)\b
  Score: -3000
    Subject: ^Re\b

And another I use for "adult toon" groups:

  [^alt\.binaries\.pictures]
  Score: =-7000
    Subject: \s{2,}\W?\d{4,}\W?$|(\w\W\s?){7,}|\b(BM|cosplay|loli(ta|con)?)\b|<L>
  Score: =0
    Subject: ATTN|dou?jin|ecchi|fill|flood|hentai|manga|miss(ed|ing)|retry
    ~Xref: (.*:)+
  % Other Keywords... {{Removed}}
  Score: -9000
    ~Subject: ^(Re:)?\W{0,2}(ABPE\w|HCG|FUR)\W|\b(n|r(\d|br|p|pt)?)\b

-- 
The Tech Zero, Maxwell C.G. Pollare

Helpful Xnews Links:
* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Technical Details
Message-ID: <Xns9360E81838B7Insomniac@nexus.dragonfur.ca>
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!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!198.53.6.253!not-for-mail
References: <Xns935ED87B4FE83darkstar03@68.6.19.6> <Xns935EED2C9CC33Quite............@IP-Hidden> <Xns935F87C1888AFrenedehosson@newszilla.xs4all.nl>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9360E81838B7Insomniac@nexus.dragonfur.ca>
Subject: Re: Built-in filters in xnews
Date: Thu, 17 Apr 2003 07:25:35 +0000
From: Tech Zero <spamail@dragonfur.ca>
References: <Xns935ED87B4FE83darkstar03@68.6.19.6> <Xns935EED2C9CC33Quite............@IP-Hidden> <Xns935F87C1888AFrenedehosson@newszilla.xs4all.nl>
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!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!198.53.6.253!not-for-mail
Newsgroups: news.software.readers
Lines: 94
Reply-To: techzero@dragonfur.ca
NNTP-Posting-Host: 198.53.6.253
X-Trace: fu-berlin.de 1050564335 2341198 198.53.6.253 (16 [139626])
User-Agent: Xnews/06.01.10