Filtering by the Scorefile of the hamster


One of the advantages of the hamster is that one can let work while the loading of the News filter rules. These filter rules are written into the file ' scores.hst '. To achieve the filter options are directly in the file ' scores.hst ' or over File /Killfile log Settings /Edit Scorefile. The hamster core file is fully RegExp compatible (Regular of express ion, regular printouts). If you want to inform more near in addition, you should visit the following pages: < thanks on - jh & T-Online team for the on the left of >

  1. Regular printouts http://parallel.fh-bielefeld.de/pv/studien/perl/node11.html
  2. Perl: http://www.phy.uni-bayreuth.de/~btpa25/perl/perl_inhalt.html
  3. Selfhtml of Stefan Muenz: http://selfhtml.teamone.de/cgiperl/sprache/regexpr.htm
  4. http://www.perl.com/CPAN local/doc/manual/html/pod/perlre.html

The hamster offers also a simpler filter possibility, which is to be also described here now.

Scoring comes from the English and means as much as ' points counts '. By the filter rules points will thus assign. The number of points can be more largely, same or smaller than zero. If a Posting has a scoring and smaller than zero, the Posting is thus not even loaded filtered. The sense of the Scorens is situated thus in it unwanted Postings to filter and special spheres of interest preferentially to load.

The hamster offers the possibility after the following entries (single dump) to scoren:

  1. Subject: The line for reference text of a Postings.
  2. From: The name and the Mailadresse of the sender.
  3. Message ID: e.g.: 7pj07m.3vvnptf.1@gebert.ddns.org.
  4. References: Message ID refers to.
  5. Byte: Size of the Postings in byte.
  6. LINES: Number of lines, which the Posting contains.
  7. Xref: New server and - group with article number.
  8. Xpost: Number of groups of new, into which becomes ' gecrosspostet '.
  9. DATE: Date of the Postings.

In the Scorefile the criteria are determined, according to which the articles with points are up and are devalued. In the hamster assistance Juergen explained a filtering well and should whereupon to her also fall back. If you do not come thereby so correctly clearly, probably also this page helps you little.

 

[ * - test ] firmly for all groups except those, the " test " puts a sector in the name enthalten.(z.Bsp.: de.test, T-Online test)
-1 Subject " test " All articles with " test " are reduced in the concern around one point.
+1 " hamster " ~Subject All articles with " hamster " are raised in the concern around one point. " ~ " forwards ' subject ' or ' from ' it means that the text concerned before the Scoren is MIME-DECODED.
-1 From " my name "

-1 From " blubb@fump.de "

All articles, which in the From " my name " is has, are reduced around 1 point. It can be filtered also to certain Mail addresses, if you a quite certain sender nervt and you do not want to read it any longer.
-1 bytes %>9000 All articles, those more largely than 9000 bytes are... Plonk!
-1 LINES %>300 All articles, the more than 300 lines have... Plonk!
-1 Xpost %>3 All articles, those in more than 3 groups at the same time... Plonk!
-1 Age %>14 Articles, those than 14 days are older...

Since also several criteria can apply to an article, the counter reading can vary thus. An article with hamster in the concern and more than 300 lines receives thus the counter reading 0, is therefore loaded. If you do not want that, you should increase/increase either the number of Scorepunkte or determine fixed of values (e.g.: = - 100 LINES %>300)

The filtered article headers appear in the hamster under File/Killfile log Settings... and can become there subsequently the Download marked ' Marks for retrievals ' or deleted ' DELETES '. With ' Scorefile test ' you can regard, which filter criterion applies to this article. In the filter adjustments you find down still the option the fact that articles with a point number smaller than - X not to the log are being taken up but directly into the Nirwana is sent.

The following example is to be consulted please only as suggestion for the structure of its own filter. Do not take over please complete contents, since some is double and it is to point out only the possibilities to you. Thus always beautifully carefully.

[ * ] # sector determine (all groups) -11 LINES %>300 #
article with more than 300 lines filter -11 bytes %>10000 # article
over 10000 bytes filter +22 ~Subject to FAQ # exception for FAQs
determine -9 Xpost %>3 # Crossposts in more than 3 groups filter -1000
~From " my name " # article of " my name " filter -2000 ~From "
stefan_c@ " # a certain recorder filter +1000 Message ID
gebert.ddns.org # my Postings hochscoren +1000 of references "
@gebert.ddns.org " # responses to my Postings +1000 From " karin.garz
" # of favourites hochscoren: -) +1000 from juergen.haible # hamster
father! # here 3 possibilities of a real name filter. Ask only one select.
# real name filter No. 1 gemopst from the mailing list, gemailt from Juergen Haible:

-1 ~from ;              # Scorepunkte want to be only earned
+1 ~from {\(.*\ .*\)} {.*\ .*\ <} # " first name surname " available
+1 ~from {\(.*\..*\)} {.*\..*\ <} # exception for " first name surname "
+1 ~from ;              # exception for AOL'ler
+1 ~from {my-deja\.com}          # exception for DejaNews'ler
+1 ~from {\(.*-.*\)} {.*-.*\ <}   # exception for [ JT] on-line ones;->

# real name filter No. 2
# correct real name and exception for " first name surname
-1 ~from *
+1 ~from {\(.*\ .*\)} {.*\ .*\ <} {\(.*\..*\)} {.*\..*\ <}

# real name filter No. 3
# kills also From: " Grandmaster B " <aaaaa@bbbbb.cc>
-10 ~from {^\S+ ?\S+$|( |"|\()[a-z]( |"|\)|\.)} -{(\(|^").+[^.] .+[^.](\)|" <)} -{^[^"].*[^.] .+[^.] <}

# filter on anti-Spam spoilers in the Mailadresse
-1 from {(no|ab).*(spam|fcnz)} {@m[iy].*sig} {(remove|delete|cut).*this}

# address counterfeiter and user of AnonMailern
-10 from {(mymail|nobody|mail2news|nobody|none|reject)@*}
-10 from {(@redneck.efga.org|@echelon.alias.net|@nym.alias.net|@replay.com)} 

[ * - test ]    # sector for all except the groups of tests
-5 Subject "test" # article with " test " in the concern filter
# of two words with at least in each case 6 uppercase letters filter:
-1 ~subject {(?-i)[A-Z]{6,} .*[A-Z]{6,}}

#... or if not at least 2 lowercase letters are available:
-1 ~subject {(?-i)[A-Z]{4,}} -{(?-i)[a-z]{2,}}

[ * - generally - new users - netdigest ]
-100 ~subject {(Handy|druck|hilfe)}
-1 Subject "!!!!!"
-1 Subject "?????"

# article in the hierarchy " de.comm.software. * " with Unix software filter
[{^de\.comm\.software}]
-100 ~subject {\b(?:inn|leafnode|suck|tin)\b}

[{^de\.} -market]
# of offers for sale
-15 ~Subject {\b(v|b)(:|erkaufe|iete|\t)\b}

# Top level spreading Crossposting
[{^de\.}]
-20 Xref {\w (?!de\.)}

# urgent problems and other DAUtum
-15 ~Subject {[^\w\-](test|hilfe|frage|problem)} {[,\-?!:]\s*wie\s*\?*\s*$}
-15 ~Subject {(eilt|eilig|dringend|wichtig)}
-15 ~Subject {(?-i)(EILT|EILIG|DRINGEND|WICHTIG)}

# impolite Subjectaenderungen
-10 ~Subject -{^Re: } -"was:" +@References:{<.+>}

# Naja, FAQs one can hochscoren times; -)
=+5000 ~Subject -"Re: " {<[\d\-/.]+>}

# article in hired filters, which does not interest me.
[{^de\.admin\.news\.groups}]
-6000 ~subject "de.rec" "de.sci"

 

> From: Marc Haber <Marc.Haber-usenet@gmx.de>
> Newsgroups: de.alt.netdigest
> Subject: [de.comm.internet.misc] Re: Anonymity
> Date: Samstag, 3. April 1999 11:04

From: g.schmidt@bigfoot.de (Gunther Schmidt)
Newsgroups: de.comm.internet.misc
Subject: Re: Anonymity
Date: 1 Apr 1999 17:22:04 GMT
Message-ID: <3703a9fe.2572003@personalnews.de.uu.net>

Marc.Haber-usenet@gmx.de (Marc Haber) wrote:
>*plonk * because of impoliteness.

Hello Marc,

there I me serious concerns over it it makes that you the Plonks over the Osterfeiertage go out, gibt's a handful from my fundus; among them also a few special models, of which I me only very heavy heart separate.

* plonk *
* plonk * commercial ones, i.e. stink-normal Plonks

* plonk * for general offenses against working-days (Mo. Fr.);

* plonk * particularly inexpensive in the 100er-Pack

* plonk *

* blong * soft Plonk (in former times " Softie Plonk " mentioned)

* PLONCK * hard Plonk (uses acquired by Clint Eastwood)

* plonkonkonkonk * response Plonk

* ppplonkk * stotternder Plonk

* plonk? * uncertain Plonk

* plønk * Swedish Plonk

* pL0nK * hAcKeR WaReZ Plonk (" kEwL, mAn! ")

* ploktsch * perfectly aufgeweichter Plonk

* ploink * Querschlaeger Plonk

* * invisible Plonk

* plonk² * square Plonk

* plunk * badly falsified Plonk

* plink * very badly falsified Plonk

* ploooohnk * long continuing Plonk

* plornk * bent Plonk

* p__nk * broken Plonk (to cannibalizing)

* nplko * chaotic Plonk

* plk * save Plonk (special offer)

* plonk©® * protected Plonk (copy forbidden!)

Times see, which of which I now abkriege...; -)

Greetings,
Gunther: - þ -- <de old netdigest@moderators.dana.de> for de.alt.netdigest please on tenders; send.


Accounts| autoscripts| configuring| Links| mail filters| newsreader| OE5faq| scoring| scripts| Settings| tips| tools
New English Help Files | Hamster Index