🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #220919

Re: Anyone understand how to use Xnews' score file to block spam?

#220919
From: Bert Byfield
Date: Thu, 15 May 2008 22:40
253 lines
7272 bytes
hmmm@hmmm.org wrote in
news:rKudnX79wLNa8rHVnZ2dnUVZ_uqdnZ2d@giganews.com: 

> I read the Xnews manual but it's hard to understand.   There's
> something about a push button (that I can't find) that automatically
> adds something to the score file.

I don't use the automatic thing, but if you go to <<SPECIAL>> on the menu 
line and click on the drop-down "Edit Score File" it will edit your 
"score.ini" file. Mine is below.

> How do you add the google groups to the score file to block the spam
> mail. 

See the "Message-ID: googlegroups\.com" line below.
The line "Newsgroups: ^.*,.*,.*," gives a bad score to messages posted to 
multiple newsgroups.
The line "Xref: (.*:){2,}" gives a bad score to messages that are cross 
posted to more than one group.
The line "~Subject= [a-z].*" gives a bad score to subjects with no 
letters or all upper case letters.
The line "Subject:: .{72,}" gives a bad score (but only -10) to subject 
lines that are longer than 72 characters.
The line "~Lines: 1000" gives a bad score to messages with less than 1000 
lines (useful in binary groups to only get the pictures, etc).

Note that scoring is not only to get rid of junk. If you score plus for 
good stuff and negative for stuff you don't want to read or care little 
about, then sort on score, you can put the good stuff at the top and as 
you read down the list the messages go from good to bad, at which point 
you can press f8 and clear the rest of the group. A score of -9999 
disappears a message totally. Also the "K" key will killfile (PLONK) the 
current sender while you are reading messages.

> Are there any other suggestions?   Examples of good score.ini files
> would be welcome.

My "score.ini":

% score file for Xnews
% read scoring.txt for instruction

[.]
	Score:: -9999
		Subject: @@@
		Subject: !!!
		Subject: \|\|\|
		Subject: :::
		Subject: earn lots of money
		Subject: An0nYm0uS
		Subject: China.*Wholesale|Wholesale.*China
		Subject: Louis Vuitton
		Subject: sneaker.*trainer|trainer.*sneaker
		Subject: amazing healing
		Subject: SPECIAL OFFER
		Subject: \bmigraine\b
		Subject: Buckwheat
		Subject: Fitness Training
		Subject: \bCasio\b
		Subject: \bSkagen\b
		Subject: Rolex
		Subject: luxury watch
		Subject: earn good money
		Subject: jobs at home
		Subject: work at home
		Subject: trading stocks online
		Subject: make money|earn cash
		Subject: AS SEEN ON OPRAH
		Subject: allaboutamateurs.net
		Subject: Daily Guarantee
		Subject: NOT SPAM
		Subject: models photogallery
		Subject: AN0NYMOUS PROXIES
		Subject: Cartier Watches
		Subject: \bPRADA\b
		Subject: \bcasino\b
		Subject: \bi just wanted to share this site\b
		Subject: hey guys and girls
		Subject: GODADDY COUPON
		Subject: \bDebate contest\b
		Subject: \bClassy Gift\b
		Subject: The Leather Portfolio
		Subject: AN0nYMITY
		Subject: \bpaypal\b.*\baccept\b|\baccept\b.*\bpaypal\b
		Subject: \bampicillin\b
		Subject: \bcialis\b
		Subject: \[Commercial\]
		Subject: Golfbegriffe
		Subject: Male body-image
		Subject: \bwebhosting\b
		Subject: Free Advertisement!
		Subject: Operation Sudden Fall
		Subject: viagra
		Subject: Credit Cards and Loans
		Subject: Selling your organs
		Subject: INCOME OPPORTUNITY
		Subject: SEE THIS SITE
		Subject: 100\% LEGAL
		Subject: HOME BUSINESS
		Subject: Men's Digital
		Subject: Seikoflex
		Subject: WWW\.SHARE2WIN\.INFO
		Subject: my incest story
		Subject: do you want some sex
		Subject: Opportunity!
		Subject: easy to earn
		Subject: Turquoise Necklace
		Subject: extra income
		Subject: new ipod
		Subject: passionate singles
		Subject: want sex\?
		Subject: \$\$\$+
		Subject: Ladies Watch
		Subject: Men'?s Watch
		Subject: Sailhawk Watches
		Subject: Silhouette Watches
		Subject: Mania Watch
		Subject: Citizen Watches
		Subject: Classic Elegance
		Subject: \bINCR.?VEL\b
		Subject: diabetes
		Subject: Webacheterenligne
		Subject: \bsperm\b
		Subject: fuck|sex|xxx+|naked|nude
		Subject: girls for fun
		Subject: Successful Dating|Dating Success
		Subject: stock trading
		Subject: free paypal money
		Subject: online jobs
		Subject: win a free
		Subject: save you thousands of dollars
		Subject: young girls
		Subject: mail order brides
		Subject: money for free
		Subject: make money fast
		Subject: buy online
		Subject: Adults 18 and over only!

	Score:: -3000
		Newsgroups: ^.*,.*,.*,
		Message-ID: googlegroups\.com

	Score:: -2000
		Newsgroups: ^.*,.*,

	Score:: -100
		~Subject= [a-z].*
		% Subject= [Rr][Ee]: [a-z]*$
		% Subject= [Rr][Ee]: .*[A-Z]

	Score:: -10
		Subject:: .{72,}

	Score:: -1700
		Newsgroups: ^.*,

	Score:: -1000
		Subject: help
		Subject: please

	Score:: -1
		Subject: newbie
		Subject: help

	Score:: 9000
		Message-ID: <<put your message id prefix here>>

	Score:: -1000
		~Subject: xnews

	Score:: 2000
		Subject: slrn|scoring|score|plonk

[binaries]
	Score:: -9999
		~Lines: 1000

[Photography]
	Score:: -1
		~Lines: 1000

[politics]

	Score:: -4000
		Xref: (.*:){2,}

	Score:: -100
		Lines: 150

	Score:: 3000
		From: <<Good Guy's Name here>>

[home\.repair]

	Score:: -9000
		Subject: testicles

	Score:: 800
		Subject: tree|scaffold|ladder
		Subject: faucet
		Subject: raccoon|racoon|squirrel|squirel|roof rat|tree rat
		Subject: reverse mortgage
		Subject: electrical|wiring
		Subject: fence post
		Subject: gutter|rain drain
		Subject: drywell|dry well|baffle|backflow

[\.perl\.]
	Score:: -9000
		Subject: perl is worth nothing

	Score:: 100
		Subject: cgi

[basic\.visual|visual\.basic]
	Score:: 100
		Subject: recycle

[paint-shop-pro]
	Score:: 1000
		Subject: psp8|psp 8
	Score:: 100
		Subject: tutorial
	Score:: -1000
		Subject: psp5|psp 5
		Subject: psp6|psp 6
		Subject: psp7|psp 7
		Subject: psp9|psp 9
		Subject: pspx|psp x

[int-fiction]
	Score:: -1000
		Subject: glulx
		Subject: I7|I6
		Subject: Inform7|Inform6|Inform 7|Inform 6
		Subject: \[I7\]
		Subject: \[I6\]
		Subject: inform

	Score:: 1000
		Subject: hugo

[stylesheets]
	Score:: 1000
		Subject: faq


% unless in alt or binaries group
[~alt|binaries]
	% kill stuff crossposted to binaries 
	Score:: -9000
	XRef: binaries
Technical Details
Message-ID: <Xns9A9FBE11148CBBertByfieldCaravela1@66.250.146.128>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!tmp-post01.iad!news.highwinds-media.com!roadrunner.com!not-for-mail
References: <rKudnX79wLNa8rHVnZ2dnUVZ_uqdnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9A9FBE11148CBBertByfieldCaravela1@66.250.146.128>
Subject: Re: Anyone understand how to use Xnews' score file to block spam?
Date: Thu, 15 May 2008 22:40:55 +0000
From: Bert Byfield <BertByfield@nospam.not>
References: <rKudnX79wLNa8rHVnZ2dnUVZ_uqdnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!tmp-post01.iad!news.highwinds-media.com!roadrunner.com!not-for-mail
Newsgroups: alt.comp.freeware,news.software.readers
Organization: Caravela Books
User-Agent: Xnews/5.04.25
Lines: 253
NNTP-Posting-Host: 74.74.200.134
X-Complaints-To: abuse@rr.com