🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #193275

Re: Xnews Score file rule for spammer with Message-Id of *@

#193275
From: lotus
Date: Thu, 30 Nov 2006 13:04
101 lines
3559 bytes
Mike Yetto <mike.yetto@nycap.invalid> wrote in 
news:Xns988AE30631EAuniquelyme@tomate.motzarella.org:

> There I was, minding my own business, when
> Your name wrote...
> 
>> 1. I am trying to filter  a spammer by message-Id 
>> 
>> The Message-Id is in this format *@{blank }
>> 
>> (*) is a list of random numbers.
>> 
>> I tried to score on message-Id using this expression
>> 
>> [.]
>> score -9999
>> message-id @/s
>> 
> 
> Try-
> 
> [.]
> Score:: -9999
> Message-ID: @\s*>
> 
> This will look for '@' followed by any number of whitespace 
> characters (zero is a number) and a '>'.
>  
>> 
>> 
>> 2.  Another spammer:  same problem as spammer 1 
>> 
>> I can most certainly Identify him/her with user agent
>> 
>> User-Agent: Newspost/2.1.1 (http://newspost.unixcab.org/)
>> 
> 
> Add this and variations if it doesn't work.
> 
> User-Agent: Newspost/2\.1\.1
> 
> To see if anything happened you can drop the score to -9000 so that 
> you have an explicit confirmation of success before you change it 
> back to -9999.
> 
> I will also suggest you RTFM and pshah to anyone who thinks that is 
> bad advice.  Also read "pcre.html" (ie. RT<other>FM)
> 
>          Mike "besides RTFM you can STFW if you like" Yetto



Mike thanks for  your reply 
Sorry about 
message-id @/s 
I had it as  message-id @\s in my score file.
I did google groups read scoring.txt pcre.html and the link that followed 
off it.It is it daunting and baffling to grasp  these concepts for a first 
timer.

I did consider @/s*
but the function  *  said  0 or more quantifier
At the time I was thinking that it needed to have at least one space after 
the @.
 
Also, at first, I completely missed the '>' by the time I realised.  
I tried message-id @/s>
     

Is /S* the only way to write a null character then?  




2.  Another spammer:  same problem as spammer 1 
>> 
>> I can most certainly Identify him/her with user agent
>> 
>> User-Agent: Newspost/2.1.1 (http://newspost.unixcab.org/)
>> 
> 
> Add this and variations if it doesn't work.
> 
> User-Agent: Newspost/2\.1\.1
> 
> To see if anything happened you can drop the score to -9000 so that 
> you have an explicit confirmation of success before you change it 
> back to -9999.  



> User-Agent: Newspost/2\.1\.1

I did try  

score -9999
User-Agent: Newspost/2\.1\.1

 but the spammers articles still remained after reloading/rescoring.

I shall try it with -9000 
Technical Details
Message-ID: <456ed6d7$0$1390$da0feed9@news.zen.co.uk>
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!nntp.theplanet.net!inewsm1.nntp.theplanet.net!212.23.6.69.MISMATCH!demorgan.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!shaftesbury.zen.co.uk.POSTED!not-for-mail
References: <456e404e$0$18044$fa0fcedb@news.zen.co.uk> <Xns988AE30631EAuniquelyme@tomate.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <456ed6d7$0$1390$da0feed9@news.zen.co.uk>
Subject: Re: Xnews Score file rule for spammer with Message-Id of *@
Date: Thu, 30 Nov 2006 13:04:23 +0000
From: lotus <lotus@lyris.com>
References: <456e404e$0$18044$fa0fcedb@news.zen.co.uk> <Xns988AE30631EAuniquelyme@tomate.motzarella.org>
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!nntp.theplanet.net!inewsm1.nntp.theplanet.net!212.23.6.69.MISMATCH!demorgan.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!shaftesbury.zen.co.uk.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Your Company
User-Agent: Xnews/2006.06.28
Lines: 101
NNTP-Posting-Host: 82.69.12.164
X-Trace: 1164891863 shaftesbury.zen.co.uk 1390 82.69.12.164:1853
X-Complaints-To: abuse@zen.co.uk