🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231445

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

#231445
From: Mike Dee
Date: Sat, 14 Mar 2009 13:36
65 lines
4650 bytes
On Sat, 14 Mar 2009 13:01:27 +0000, Mike Dee wrote:

Yep... and "Yee Cats"! It looked OK in Xnews but totally fubar in this old
Pan I'm posting with here... so I'll re-edit it and hopefully in your Pan
it will be slightly more, user friendly ;-)

%%------- 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:
        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 :-)

If this one gets through to Pan more or less intact... Phew. I'm outa here ;-)

-- 
dee
Technical Details
Message-ID: <pan.2009.03.14.13.36.06.938215@emteedee.invalid>
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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!87.106.137.111.MISMATCH!feeder1.news.weretis.net!weretis.net!news.solani.org!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> <Xns9BCF20E53C4emteedee@62.141.42.83>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2009.03.14.13.36.06.938215@emteedee.invalid>
Subject: Re: [Pan]: Filtering non-english posts and freely available score files ?
Date: Sun, 15 Mar 2009 00:36:12 +1100
From: Mike Dee <mikedee@emteedee.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> <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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!87.106.137.111.MISMATCH!feeder1.news.weretis.net!weretis.net!news.solani.org!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 65
NNTP-Posting-Host: eJwFwYEBwDAEBMCVKE8yDh/2H6F3sNBgeiAci00ju3TFd4Ig6/hNPukczTicz1v2mthjVQlWQt7cwqCrf3uTFss=
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: solani.org
 eJwVzccNA0EMwMCWlLUqR7H/Enx+EhiAyobWLqYmeno2NL2Y9KUtGmivUtZKFDMT2+jWTQF2QsRFVBdE43WyAEEs0nwKcc4hlKUKHZ7AbuaA+rvb/D+SgGcjFKVJ2/WZrZ7360071PQfsEQsHQ==
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Sat, 14 Mar 2009 13:36:13 +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
Cancel-Lock: sha1:37WGFaF3A2j4DcqKRIQp9gmvqaM=
User-Agent: Pan/0.14.2.91 (Linux host, Mac OS, X-server)