🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231443

Re: [Pan]: Filtering non-english posts and freely available score files ?

#231443
From: Mike Dee
Date: Sat, 14 Mar 2009 13:01
87 lines
5284 bytes
> On Sat, 14 Mar 2009 02:19:30 -0500, Robert Miles wrote:
>> if you're willing to filter out most of the spam at the cost of
>> also filtering out some on-topic messages, check if you're able
>> to filter out any messages where the header contains either of
>> these lines: 
>> 
>> Organization: http://groups.google.com Organization: Usenet.com
>> Robert Miles
> 
> Yeah this actually works. Thank you. I added the following to my
> pan scorefile (same syntax as the slrn score file)
> 
> [*]
> Score:: =-9999
> Message-ID: googlegroups
> Message-ID: webtv
> NNTP-Posting-Host: google | Usenet
> Organization: google | Usenet

You don't need spaces between "google|usenet" & if you *really*
want to batten down the hatches, you can throw this at it
(under [*])... 

Any following line preceded by a "%" is a quote (will not run).
*watch out* here for badly wrapped lines, *esp.* a score line must
not end in a "|", that is, underneath a Score: entry, a new line
*must* begin with a keyword, such as Subject:, Xref:, References:,
Newsgroups: From:, Subject: etc, etc; and the line or string must
not end with a "|"

%%------- cut 'n' paste --------

[*]

     Score: =-50
        References: googlegroups
        % just in case a google post is not spam
        % someone elses follow-up will let you know.

     Score: =-9999
        Message-ID: googlegroups
        % yup, they just have to go. *but*
        % genuine posters can be whitelisted
        % with the following example
        ~From: this poster|that poster|that other google poster|etc|etc

    Score: =-9999
       ~Subject= [a-z]
       % does not contain one lowercase letter in subject :-)
       % either a post that is spam trying to get your
       % attention or is from a lunatic, take you pick.

     Score: =-9999
       Subject= ^[Rr][Ee]: [^a-z]*$
       % the article will be killed if the subject begins with "Re: "
       % and the rest of the line does not contain a lowercase character.
       % same as above but starts with a "Re:"

     Score:: =-9999
        % [OT] religious or socio-political subjects follow:
        % gets rid of hard core *non* Google spam or plain OT crap
        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|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)
       
        % Typical [OT] sex, money and general idiot posts.
        Subject: cash|\bcu(m\b|nts?)|dollar|\be?lotto|get rich|inves|low(.*)pri|milli(.*)re
        Subject: money|\bpuss(i|y)|\$(.*)\$|attr.*website|\bgirl(s|ie|y)|\bsexe?( |ie|y|ual)|nephew
        Subject: nud(es?|ist)|bikini|babes|mens under|sucks?( |ed|ing)|\bcocks?|chubby|fucks?( |ed|i)
        Subject: sister( |s)|brother|\bboy( |s|ish)|niece|nike shoes|indexpeller|vooba|peni(s|le)
        Subject: incest|girlfr|horny|diaper|m(a|o|u)mm?|anonymous|viagra  
        Subject: ^\[?f\.?a\.?\]?\b|NewsMaestro|M.?I.?5.P.?e.?r.?s.?e.?cution
        Subject: (\$.*|\bipods?\b).*(free|deal)|\bfree\b.*(\bipods?\b|\bmini\b|\bmusic\b)
        Subject: ^---------------.*
        From: cash|inter.*tool|million.*re|money|wantsex|\.ru$|NewsMaestro|@dea\.gov
        Xref: :.*:

%%-------\ cut 'n' paste --------

Modify to suit your own needs :-)

-- 
dee
Technical Details
Message-ID: <Xns9BCF20E53C4emteedee@62.141.42.83>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder1.news.weretis.net!weretis.net!newsfeed.datemas.de!news.datemas.de!not-for-mail
References: <sArul.160696$OT2.30449@newsfe29.ams2> <gpdllg$a3c$1@news.motzarella.org> <TNyul.113402$de5.108657@newsfe10.ams2> <XQIul.15729$b9.5960@bignews6.bellsouth.net> <kIMul.49056$Au7.23602@newsfe12.ams2>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9BCF20E53C4emteedee@62.141.42.83>
Subject: Re: [Pan]: Filtering non-english posts and freely available score files ?
Date: Sat, 14 Mar 2009 13:01:27 +0000
From: Mike Dee <emteedee@invalid.invalid>
References: <sArul.160696$OT2.30449@newsfe29.ams2> <gpdllg$a3c$1@news.motzarella.org> <TNyul.113402$de5.108657@newsfe10.ams2> <XQIul.15729$b9.5960@bignews6.bellsouth.net> <kIMul.49056$Au7.23602@newsfe12.ams2>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!feeder1.news.weretis.net!weretis.net!newsfeed.datemas.de!news.datemas.de!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 87
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.datemas.de
 mUF8SvSh515pJlJR8N3VTg/UNYjJ6sTihSbGFQZ4vU+S6RN1zuiKhLttlNOOBqaCNbqepl8g+pEpp00d+k1lHmWassC4aZWLW65LPRFiYJEsNZCiMrU6YOPm2bkB53l8fQ6HChlyS+x2911sUE8fJt4QM3tOzvK9KsrF0fWLfgM=
X-Complaints-To: abuse@datemas.de
NNTP-Posting-Date: Sat, 14 Mar 2009 13:01:27 +0000 (UTC)
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
 AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
 z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
User-Agent: Xnews/2006.08.24