Re: Making XNews filters persist?



On Wed, 24 Sep 2008 18:52:12 +0000, Bluuuue Rajah wrote:

Blinky the Shark <no.spam@xxxxxxxxxxx> wrote:

Just for the record, you're aware of the score file, right?

The problem with the score file is that you can only score one thread at
a time. Until the election is past, I'm trying to eliminate all
political threads. There are a lot of them, and it is very laborious to
eliminate them one at a time.

So far, I'm just recalling past filters from the list, marking
everything read and discarding them. From other posts, I gather that's
the best way to do it with XNews. :(

Are you sure about that?

Use pipes "|" in the score file to your advantage. And by "score file" I
mean the one you edit by hand, "score.ini", opened via the Special menu
in Xnews.

Here's an anti-politics-spam filter that I use under in Xnews that you're
welcome to try.

%%----------------------------

[.]

Score:: -9999

% [OT] religious or socio-political subjects follow:

Subject: \ballah\b|amish|atheism|bible|china|chinese|\bchrist( |ian)|\bgod\b|\bhell|islam

Subject: \bholy\b|\bracis|\btrail.*trash|india|jehov|jesus|m(a|o|u)h(a|o)mm?|muslim|\bsuni
Subject: Alhadin|Hamid|Saad|Hakeem|Islam|Moammar|Waleed|Rasheed|Ibrahim|Hussein|Abdullah|Feyd

Subject: Osama|Khalid|Shah|Hakim|Mo?usta(ph|f)a|Imran|Abdel|Ibraheem|Iman|Abduljalil|Rashid

Subject: Ayaz|Latif|Ahmed|Masood|brahimi

Subject: terrori|nazi|ill?egal.*aliens?|presiden|\bwar\b|troll( |s|i)|fbi

Subject: \bUS Elect|liberal( |s|ism)|\bpoliti|\bdemocra|\bbush\b|repub(s?|lic)

%%----------------------------

If any new OT terms get through the above filter its easy to add to it
using pipes, and you can have as many lines as required, for example,
a possible new line could go something like:
Subject: Palin|Hillary|Barrack|McCain

--
dee

.



Relevant Pages

  • Re: OT Origin of Google Groups spam?
    ... Xnews works like slrn and slrn allows me to filter out all of Google ... you set up your score file to allow folks you'd ...
    (news.software.readers)
  • Re: This idiot spammer
    ... Edit your score file (from within xnews, ... % Applies to posts in misc.writing ... It takes me a few seconds to customize a filter with MT-Newswatcher. ...
    (misc.writing)
  • Re: [slrn] Scoring based on message body
    ... Certain posters that I want to filter out ... the message id (or other header field) and add a score using ... groups to also reload the score file. ... What you're describing is indeed needed for slrnpull, ...
    (news.software.readers)
  • Xnews; filter (long)
    ... The killfile used to work fine for my needs, ... My filter file to try to deal with this is ... I put in the double colon after Score as it appears on a sample score file ... You can use it a couple of ways: a) let Xnews add the entry ...
    (news.software.readers)
  • Re: [slrn] Scoring based on message body
    ... Certain posters that I want to filter out tend to use ... then have a script that parses the new messages. ... then set slrn's refresh groups to also reload the score file. ...
    (news.software.readers)