🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Cam Fri, 09 Jun 2006 11:35
Xnews Scoring Question For The Experts:
#186142
Author: Cam
Date: Fri, 09 Jun 2006 11:35
52 lines
2367 bytes
Firstly, let me apologize for having to ask this question - I've read a 
few PCRE documents and scoring primers but for the life of me I just 
don't understand perl.


My question: 

I'm trying to kill file a porno spammer that changes his pseudonym & 
subject line everyday. There's nothing new there, most do - I usually 
get around these jackals by scoring using their message id's - what's 
new is that this one dink changes his message id too.

Here's the thing - his message id always matches the address he uses in 
his pseudonym.

ie:

From: robin <AntiVir@kanasts.co.uk>
Message-ID: 
<547494Z51255U356641f37792m824938B351894426e2429295g@news.kanasts.co.uk>


Is it possible to score against the information following the "@" sign 
if it appears in both the from and message id headers?

Wow. That sentence just gave me a headache.


If you can help, I'm hoping you can include an example - I really am 
just about clueless.



His header information is as follows. I've tried to score against the 
header fields that contain the word "eurofeeds" but no luck.


Subject: ursuline - "ursuline812299002.jpg" (1/1)
From: robin <AntiVir@kanasts.co.uk>
Message-ID: 
<547494Z51255U356641f37792m824938B351894426e2429295g@news.kanasts.co.uk>
Sender: AntiVir@kanasts.co.uk
Reply-To: AntiVir@kanasts.co.uk
X-Complaints-To: http://eurofeeds.com/abuse
Organization: Eurofeeds.com


Any help at all will be greatly appreciated.

Thanks
Cam.
Re: Xnews Scoring Question For The Experts:
#186103
Author: Mike Dee
Date: Fri, 09 Jun 2006 12:39
29 lines
2238 bytes
On Fri, 09 Jun 2006 11:35:21 +0000, Cam wrote:

> Is it possible to score against the information following the "@" sign 
> if it appears in both the from and message id headers?

Yes, if these are usually in 'it's' headers

Score:: -9999
  From: kanasts\.co\.uk
  Message-ID: news\.kanasts\.co\.uk

Note the use of a double-colon after "Score", this give the score
an OR condition. The forward slash before each "." is also important

NB: this will also kill any post from this domain, but if there aren't
too many using this domain to post into the group that you want to score
in then perhaps it's no great loss for your peace of mind.

> His header information is as follows. I've tried to score against the 
> header fields that contain the word "eurofeeds" but no luck.

> Organization: Eurofeeds.com

You can score on Organization: eurofeeds\.com with Xnews too, but this
one depends on your server supporting it, not Xnews. It is also
"expensive" as a certain cartilaginous group member is want to say ;-)

-- 
dee
Re: Xnews Scoring Question For The Experts:
#186105
Author: MartinS
Date: Fri, 09 Jun 2006 15:32
33 lines
2230 bytes
Mike Dee <mikedee@invalid.invalid> wrote:
> On Fri, 09 Jun 2006 11:35:21 +0000, Cam wrote:
> 
>> Is it possible to score against the information following the "@"
>> sign if it appears in both the from and message id headers? 
> 
> Yes, if these are usually in 'it's' headers
> 
> Score:: -9999
>   From: kanasts\.co\.uk
>   Message-ID: news\.kanasts\.co\.uk
> 
> Note the use of a double-colon after "Score", this give the score
> an OR condition. The forward slash before each "." is also important
> 
> NB: this will also kill any post from this domain, but if there aren't
> too many using this domain to post into the group that you want to
> score in then perhaps it's no great loss for your peace of mind.
> 
>> His header information is as follows. I've tried to score against the
>> header fields that contain the word "eurofeeds" but no luck. 
> 
>> Organization: Eurofeeds.com
> 
> You can score on Organization: eurofeeds\.com with Xnews too, but this
> one depends on your server supporting it, not Xnews. It is also
> "expensive" as a certain cartilaginous group member is want to say ;-)

I think the OP is saying that ".kanasts.co.uk" is not a constant, only
that the *same* domain appears in the From address and the Message-ID. 

-- 
Martin S.
Re: Xnews Scoring Question For The Experts:
#186108
Author: Peter J Ross
Date: Fri, 09 Jun 2006 17:37
56 lines
3213 bytes
On Fri, 09 Jun 2006 11:32:44 -0400, MartinS <me@my.place> wrote in
news.software.readers:

> Mike Dee <mikedee@invalid.invalid> wrote:
>> On Fri, 09 Jun 2006 11:35:21 +0000, Cam wrote:
>> 
>>> Is it possible to score against the information following the "@"
>>> sign if it appears in both the from and message id headers? 
>> 
>> Yes, if these are usually in 'it's' headers
>> 
>> Score:: -9999
>>   From: kanasts\.co\.uk
>>   Message-ID: news\.kanasts\.co\.uk
>> 
>> Note the use of a double-colon after "Score", this give the score
>> an OR condition. The forward slash before each "." is also important
>> 
>> NB: this will also kill any post from this domain, but if there aren't
>> too many using this domain to post into the group that you want to
>> score in then perhaps it's no great loss for your peace of mind.
>> 
>>> His header information is as follows. I've tried to score against the
>>> header fields that contain the word "eurofeeds" but no luck. 
>> 
>>> Organization: Eurofeeds.com
>> 
>> You can score on Organization: eurofeeds\.com with Xnews too, but this
>> one depends on your server supporting it, not Xnews. It is also
>> "expensive" as a certain cartilaginous group member is want to say ;-)
>
> I think the OP is saying that ".kanasts.co.uk" is not a constant, only
> that the *same* domain appears in the From address and the Message-ID. 

I agree with that interpretation, and I don't think there's a way of
doing it.

It would also be a bad idea, since many legitimate posters may have
the same strings in their email domain as in their message id; if, for
instance, they have both mail and news accounts with the same server,
or if their news client creates the domain part of the MID from the
poster's email address.

I noticed that the Message-Id originally quoted was unusually long. It
may be possible to score on patterns of numbers and letters *before*
teh "@", if the length of the MID (or part of it) is constant.



PJR :-)
-- 
  _  _(o)_(o)_  _       FSM: http://www.venganza.org/
._\`:_ F S M _:' \_,    PJR: http://www.insurgent.org/~pjr/
    / (`---'\ `-.       AUK: http://www.netcabal.com/auk/
 ,-`  _)    (_,   F_P   God's Own Newsreader: http://www.slrn.org/
Re: Xnews Scoring Question For The Experts:
#186109
Author: Blinky the Shark
Date: Fri, 09 Jun 2006 18:21
40 lines
2776 bytes
MartinS wrote:
> Mike Dee <mikedee@invalid.invalid> wrote:
>> On Fri, 09 Jun 2006 11:35:21 +0000, Cam wrote:
>> 
>>> Is it possible to score against the information following the "@"
>>> sign if it appears in both the from and message id headers? 
>> 
>> Yes, if these are usually in 'it's' headers
>> 
>> Score:: -9999
>>   From: kanasts\.co\.uk
>>   Message-ID: news\.kanasts\.co\.uk
>> 
>> Note the use of a double-colon after "Score", this give the score
>> an OR condition. The forward slash before each "." is also important
>> 
>> NB: this will also kill any post from this domain, but if there aren't
>> too many using this domain to post into the group that you want to
>> score in then perhaps it's no great loss for your peace of mind.
>> 
>>> His header information is as follows. I've tried to score against the
>>> header fields that contain the word "eurofeeds" but no luck. 
>> 
>>> Organization: Eurofeeds.com
>> 
>> You can score on Organization: eurofeeds\.com with Xnews too, but this
>> one depends on your server supporting it, not Xnews. It is also
>> "expensive" as a certain cartilaginous group member is want to say ;-)
>
> I think the OP is saying that ".kanasts.co.uk" is not a constant, only
> that the *same* domain appears in the From address and the Message-ID. 

Yep, that's what OP said.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html
Coming Soon:  Filtering rules specific to various real news clients
Re: Xnews Scoring Question For The Experts:
#186131
Author: »Q«
Date: Sat, 10 Jun 2006 02:00
33 lines
1978 bytes
Cam <cammer@427.sohc> wrote in
<news:Xns97DD38DBAE6FAcammer427sohc@140.99.99.130>:

> Here's the thing - his message id always matches the address he
> uses in his pseudonym.
>
> ie:
>
> From: robin <AntiVir@kanasts.co.uk>
> Message-ID:
> <547494Z51255U356641f37792m824938B351894426e2429295g@news.kanasts.co.uk>
>
>
> Is it possible to score against the information following the "@"
> sign if it appears in both the from and message id headers?

Not with Xnews.

> Subject: ursuline - "ursuline812299002.jpg" (1/1)

Somebody came by here not too long ago asking about how to filter
posts with that kind of Subject.  (But that somebody didn't mention
the file count was there, so the regex I posted didn't work for
him.)

Try

Subject: ^([a-z]*)\s-\s"\1\d*\.jpg"

-- 
»Q«
     links to Xnews resources:
     <http://xnews.remarqs.net>
Re: Xnews Scoring Question For The Experts:
#186132
Author: Mike Dee
Date: Sat, 10 Jun 2006 02:03
56 lines
3210 bytes
On Fri, 09 Jun 2006 11:32:44 -0400, MartinS wrote:

> Mike Dee <mikedee@invalid.invalid> wrote:
>> On Fri, 09 Jun 2006 11:35:21 +0000, Cam wrote:
>> 
>>> Is it possible to score against the information following the "@"
>>> sign if it appears in both the from and message id headers? 
>> 
>> Yes, if these are usually in 'it's' headers
[...]
>> NB: this will also kill any post from this domain, but if there aren't
>> too many using this domain to post into the group that you want to
>> score in then perhaps it's no great loss for your peace of mind.
[...]
> 
> I think the OP is saying that ".kanasts.co.uk" is not a constant, only
> that the *same* domain appears in the From address and the Message-ID.

I read his question as that, and answered the same. Yes he can score on
the domain (which is what his question was about).

I also said (after "NB:) that this will kill any post coming from that
domain etc...

IOW if he can't find any constant, then his options get limited to trade
offs, ie, if there aren't too many posting to that particular group using
that particular domain then, KF it. Well, that's my HO anyway.

Often you only need to set a KF for a month or so before the offensive
person moves on and you can lift the ban, unless they're "AC" or similar
effwits.

However, there was a very similar post to the OP's recently where the
offending subject always took the form:

Subject: xxxxxxxx - "xxxxxxxxnnnnnnnnn.jpg" (n/n)

as in the OP's

Subject: ursuline - "ursuline812299002.jpg" (1/1)

Where the subject always took the form of repeating the same word twice
plus a trailing .jpg at the end. _this was the constant_.

A beautiful script was presented for this by "Q" and described in full in:
<news:MrQ97CD115E02FAitsmeitsQ@QsFQDN.dyndns.org>

Q's script was:

Score:: -9999
   Subject: ^([a-z]*)\s-\s"\1\d*\.jpg"$

Very nice, indeed.

-- 
dee
Re: Xnews Scoring Question For The Experts:
#186133
Author: Mike Dee
Date: Sat, 10 Jun 2006 02:08
12 lines
1624 bytes
On Sat, 10 Jun 2006 12:03:19 +1000, Mike Dee wrote:

> Score:: -9999
>    Subject: ^([a-z]*)\s-\s"\1\d*\.jpg"$
> 
> Very nice, indeed.

Just read Q's post to thread. That's right, you have to ditch the trailing
$ because of the post counts after ".jpg" in the subject.

-- 
dee
Re: Xnews Scoring Question For The Experts:
#186135
Author: Ted S.
Date: Sat, 10 Jun 2006 02:43
22 lines
1865 bytes
Somebody claiming to be Mike Dee <mikedee@invalid.invalid> wrote in 
news:pan.2006.06.09.12.39.29.511654@emteedee:

>> Organization: Eurofeeds.com
> 
> You can score on Organization: eurofeeds\.com with Xnews too, but this
> one depends on your server supporting it, not Xnews. It is also
> "expensive" as a certain cartilaginous group member is want to say ;-)

Alternatively, you can use a proxy server like Hamster, which would allow 
you to score on any header.  The only problem is that you have to download 
the whole message to get the non-XOVER headers.

I find it *very* nice to be able to kill spam emails by using a 
combination of, say, the X-Mailer and Message-ID headers.  Of course, I 
spend far too much time examinine email headers looking for 
commonalities....  :-)

-- 
Ted <fedya at bestweb dot net>
Oh Marge, anyone can miss Canada, all tucked away down there....
--Homer Simpson
Re: Xnews Scoring Question For The Experts:
#186453
Author: Cam
Date: Wed, 14 Jun 2006 16:32
7 lines
1102 bytes
I just wanted to drop you all a quick note of thanks - you took five 
minutes out of your day to help a total stranger and I truly appreciate it.


Thank you.
Cam.
Re: Xnews Scoring Question For The Experts:
#186476
Author: Tech Zero
Date: Wed, 14 Jun 2006 22:06
16 lines
1816 bytes
Reality folded in on itself, and somewhere the following words from
"Cam" appeared in history:

> I just wanted to drop you all a quick note of thanks - you took
> five minutes out of your day to help a total stranger and I truly
> appreciate it.


Wish I could have help, but everyone beat me to it...

-- 
 __ __| |            __ __|           |    __  /
    |     \    -_)      |   -_)   _|    \     /    -_)   _| _ \
   _|  _| _| \___|     _| \___| \__| _| _| ____| \___| _| \___/

* Score-File Dump: http://www.dragonfur.ca/nowhere *
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads