🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205519

Re: Xnews - blocking spammers etc - is it possible?

#205519
From: Mike Dee
Date: Mon, 10 Sep 2007 05:10
99 lines
5633 bytes
Highlander <am_no_tellin_yoo@mahoose.uk> wrote:
 
> Just wondering is there a way to block a particular poster via the
> server they use? I realise it then should/would block all messages
> from that server, but I am happy to try it.
> 
> As in they where are spamming from (for example)
> http:www.spammers-unite.com etc, I dont know if this is real, it
> just came to me.. ;-) 
> 
> Anyway I would like to be able to block posts from a particular
> news crowd, as I am tired of seeing the crap that comes from it.
> 
> Can it be done easily, and if I have to u/g to a different program
> then I guess I will.

As far as creating filtering score files in Windows based news-clients 
go, you are already using one of the best tools for the job. It would 
not be an upgrade that you'd be looking at.

You could be using a newer version of Xnews than the one you are using, 
though. The "TEST" version is more up to date and is misnamed. It is 
very stable and should be used in preference to the version you are 
using. It contains only the Xnews executable with which you replace 
your existing Xnews only, inside of the Xnews folder. You will not lose 
any of your settings. 
 
> But I like Xnews, and prefer to stick with it.
> 
> I just cant seem to figure out where to put in
> http://server.name.etc 
> 
> And yes I have read the manual to the best I can understand it,
> just not grasping the way to do any of this.

Inside of the Xnews folder, there should be a file named "scoring.txt" 
I recommend that you read this too. As it gives a good introduction to 
using the score file in Xnews. Any scores that you create you can add 
to the file "score.ini" (also in the Xnews folder) using a plain text 
editor such as Notepad or by calling it up from the Xnews "Special" 
menu and choosing "Edit Score File", or typing (Ctrl+E).
 
> thanks for any constructive input. (like not having a dig at an
> old fart!!)

Blocking a particular poster via their server can be done in at least a 
couple of ways with an entry into score.ini. Note: literal period 
characters "." should to be escaped in score file entries by using a 
"\" placed before it.

[^the\.newsgroup\.name$]

   Score: -9999
     NNTP-Posting-Host: spammers-unite\.com

Or:

[^the\.newsgroup\.name$]

   Score: -9999
     Path: spammers-unite\.com

But it would be a far better thing to be able to score this person on a 
unique part of his Message-ID header instead (If this person is 
obliging enough to supply this). Here's an example score using the 
unique part of my Message-ID and made for this newsgroup:

[^news\.software\.readers$]

   Score:: -9999
     Message-ID: emteedee
     References: emteedee

The above would block any post I made to this group (Message_ID) and 
would also block any responses made to my posts by others (References). 
Note the use of two colons "::" after the word "Score" in the above 
example. Two colons give the score an OR condition, where the score 
will work on either "Message-ID" OR "References" OR any other 
subsequent header entry below the word "Score".

If the person you want to block does not have any unique identifier in 
their Message-ID (and face it most seasoned spammers will not), then if 
their name rarely changes you can set a score on the "From" header 
instead based on their name:

[^news\.software\.readers$]

   Score: -9999
     From: Mr Spammer

It won't prevent seeing followup posts to the person but at least you 
won't see their posts.

An example of the actual headers of a post made by the person you want 
to block could be helpful to determine a better course of action for 
you to take.

-- 
dee
Technical Details
Message-ID: <Xns99A79A58B92ADemteedee@85.114.133.75>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeed.datemas.de!news.datemas.de!not-for-mail
References: <Xns99A76E1F847CBamnotellinyoomahoose@194.177.96.26>

Show Full Headers
Complete Article Headers
Message-ID: <Xns99A79A58B92ADemteedee@85.114.133.75>
Subject: Re: Xnews - blocking spammers etc - is it possible?
Date: Mon, 10 Sep 2007 05:10:29 +0000
From: Mike Dee <emteedee@invalid.invalid>
References: <Xns99A76E1F847CBamnotellinyoomahoose@194.177.96.26>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!newsfeed.datemas.de!news.datemas.de!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 99
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.datemas.de
 fKDdPOuUQ7JSDeIvJbo6VIgM0JbYEWEqE3Z+KHWel/3dweQK/k1K23BwHpacGFxd/Xb65exO1cJGgBs/YClctA7minOY70n7e0XZstd9pjU7uXToLqDemILu9EmWKdrzhtngrlrGbNDYrVAdbW/CyfQ7Xo5ruq8SN1ENWMEviFw=
X-Complaints-To: abuse@datemas.de
NNTP-Posting-Date: Mon, 10 Sep 2007 05:10:29 +0000 (UTC)
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAA1eFXgkmf71L/7
 7qX////6Pj40AAAACXBIWXMAAAsSAAALEgHS3X78AAAAB3RJTUUH1wMdBh4ZkpuYCAAAAPlJREFU
 eNqV0s2RwyAMBeAXQ+5xB4wq8AwNcHABuWz/rQRJ/AhssrtcPKPPegJjnIuF+vQrwC/QOidIK8AM
 6Qv4W0ADXADaeAO56RZijAeu4GIsMoHU47XDdfAWUlyAjHY6YwKXa+4KZYTsy0JyHFPFQjQdIxxo
 NESh1ccDJmeyzvsZX8D/CWBkAPkedV+LqBl6WPlYBdCOeFiAhdABBg4EvXiGLcj16QQivd8MiaHW
 N6JQARTaIXK9w8bdZQDxkiEKpP8uB00Q8JPXW+qahTPJS69nBk2SlgzS8DBJFrA/e5JkeSTe+WO3
 SdySgd/YGd4b9ZYBaIB/rw/aM8iUyl6QnQAAAABJRU5ErkJggg==
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