🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #193292

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

#193292
From: lotus
Date: Thu, 30 Nov 2006 19:34
104 lines
3890 bytes
Mike Yetto <mike.yetto@nycap.invalid> wrote in 
news:Xns988B6D231BC51uniquelyme@tomate.motzarella.org:

> There I was, minding my own business, when
> lotus wrote...
> 
>> Mike Yetto <mike.yetto@nycap.invalid> wrote in 
>> news:Xns988AE30631EAuniquelyme@tomate.motzarella.org:
>> 
> 
>          <snip>
> 
>> 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.
>> 
> 
> They will remain daunting and baffling for a while.  Then you will 
> gain some comfort, learn something new about regular expressions and 
> that will become daunting and baffling.  Enjoy.
> 
>> 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?  
>> 
> 
> If you use a simple dot ('.') it represents any character and the 
> splat ('*') indicates any number.  There are many ways to represent 
> anything, but '\s' is a whitespace (non-printing sort of) character.  
> A NULL can be \000 or \x00 if you mean a character with a value of 
> zero.  If you mean a character that isn't there...
> 
>> 
>> 
>> I did try  
>> 
>> score -9999
>> User-Agent: Newspost/2\.1\.1
>> 
> 
> Is this exactly as you have it in the score.ini file?  That should be 
> 'Score::'.
> 
>>  but the spammers articles still remained after
>>  reloading/rescoring. 
>> 
>> I shall try it with -9000 
>> 
> 
> You can also experiment with Special / Test Regex from the main menu.
> 
>          mike "keep at it, the penny will drop" Yetto




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

 That was a typo, I think. 


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

> A NULL can be \000 or \x00 if you mean a character with a value of 
> zero.  If you mean a character that isn't there...


I mean "blank space" As in the Keyboards SpaceBar


> If you use a simple dot ('.') it represents any character
 
qualifying it thus :it represents one character of any type 

> splat ('*') 

I know it as the asterix

>indicates any number

Qualifying it: * = preceeding character repeated any number of times




> You can also experiment with Special / Test Regex from the main menu.

I attempted to use 

but was stumped on how to use it. 
It would have been clearer, if there were some examples.
 
Technical Details
Message-ID: <456f3246$0$18058$fa0fcedb@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!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!zen.net.uk!demorgan.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail
References: <456e404e$0$18044$fa0fcedb@news.zen.co.uk> <Xns988AE30631EAuniquelyme@tomate.motzarella.org> <456ed6d7$0$1390$da0feed9@news.zen.co.uk> <Xns988B6D231BC51uniquelyme@tomate.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <456f3246$0$18058$fa0fcedb@news.zen.co.uk>
Subject: Re: Xnews Score file rule for spammer with Message-Id of *@
Date: Thu, 30 Nov 2006 19:34:32 +0000
From: lotus <lotus@lyris.com>
References: <456e404e$0$18044$fa0fcedb@news.zen.co.uk> <Xns988AE30631EAuniquelyme@tomate.motzarella.org> <456ed6d7$0$1390$da0feed9@news.zen.co.uk> <Xns988B6D231BC51uniquelyme@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!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!zen.net.uk!demorgan.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Your Company
User-Agent: Xnews/2006.06.28
Lines: 104
NNTP-Posting-Host: 82.69.12.164
X-Trace: 1164915272 reader02.news.zen.co.uk 18058 82.69.12.164:4859
X-Complaints-To: abuse@zen.co.uk