🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by Homer.Simpson Mon, 28 Nov 2005 03:55
[XNEWS], filter question
#176777
Author: Homer.Simpson
Date: Mon, 28 Nov 2005 03:55
44 lines
2395 bytes
I'm working on a filter...

A couple of years ago I developed a filter to trash some constant 
bickering between two posters.  I used the following:

 % The Warpath... "Bob vs Bill"
 % From Bill, reference Bob
 %Score: -9999
 %   From: .brosen@iglou\.com
 %   References: @mb\-m..\.aol\.com>$
 % From Bob, reference Bill
 %Score: -9999
 %   From: hallerb@aol.com
 %   References: @iglou.com>$

You can see this filter detects a post from Bill when following up 
to Bob.  It also detects a post from Bob when following up to Bill.

Now, I'd like to modify this filter slightly.

Pretend I want to filter ANY post from one person (I'll use a 
hypothetical "Alan" as an example).  I also want to filter any 
immediate followups to Alan. (Any direct response to Alan is deemed 
trash.) However, I don't want to filter subsequent followups.  
Perhaps the remainder of the thread has some useful info.  Who 
knows?

I tried this out:

% From Alan
Score: -6666
   From: i3x9mdw@j9n35c\.invalid$
% From anyone, reference Alan
Score: -6666
   References: .i3x9mdw@.

I quickly realized this trashes any and all followups to Alan for 
the remainder of the thread.  This is not what I desire.

Can anyone of you experts fix my filter?  Perhaps you have a 
favorite filter you'd like to share which accomplishes the same 
goal?

HS
Re: [XNEWS], filter question
#176783
Author: »Q«
Date: Mon, 28 Nov 2005 04:48
33 lines
2393 bytes
"Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID> wrote in
<news:Xns971BE928BC0A9nope@204.153.244.170>:

> Pretend I want to filter ANY post from one person (I'll use a
> hypothetical "Alan" as an example).  I also want to filter any
> immediate followups to Alan. (Any direct response to Alan is
> deemed trash.) However, I don't want to filter subsequent
> followups.  Perhaps the remainder of the thread has some useful
> info.  Who knows?

In immediate followups to Alan, Alan's MID will occur last in the
References header.  If the right-hand side of his MIDs is unique,
you can use

% downscore followups to Alan
   Score: -6666
     References: endofAlansMID>$

But it looks as though, from the part of you post I snipped, that
the unique part of Alan's MIDs is not on the right.  So try

% downscore followups to Alan
   Score: -6666
     References: i3x9mdw@[^@]*>$

The [^@]* means something like "any string not containing any @
characters", which should ensure that if there are non-Alan MIDs
following his, there's no match.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/intro.htm>
Re: [XNEWS], filter question
#176786
Author: Peter J Ross
Date: Mon, 28 Nov 2005 12:08
34 lines
1686 bytes
On 28 Nov 2005 03:55:13 GMT, Homer.Simpson
<Homer.Simpson@SpringfieldBB.com.INVALID> wrote in
news.software.readers:

> % From Alan
> Score: -6666
>    From: i3x9mdw@j9n35c\.invalid$

Doesn't the "$" break this if there's a ">" after the email address,
as there ought to be?

You could use the Message-Id, since the From: header is easy to
change on the fly.

   Message-Id: i3x9mdw@b29x3m\.invalid>$

> % From anyone, reference Alan
> Score: -6666
>    References: .i3x9mdw@.

   References: i3x9mdw@b29x3m\.invalid>$

This is just as hypothetical as your example, of course. It would be
an amazing coincidence if it happened to match a real poster named
"Alan".


PJR :-)
-- 
Nemo hibericam exspectat inquisitionem.

alt.usenet.kooks award-winners and FAQ:
<http://www.insurgent.org/~kook-faq/>
Re: [XNEWS], filter question
#176846
Author: Homer.Simpson
Date: Tue, 29 Nov 2005 19:37
39 lines
2411 bytes
»Q« said

> "Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID> wrote 
in
> <news:Xns971BE928BC0A9nope@204.153.244.170>:
> 
>> Pretend I want to filter ANY post from one person (I'll use a
>> hypothetical "Alan" as an example).  I also want to filter any
>> immediate followups to Alan. (Any direct response to Alan is
>> deemed trash.) However, I don't want to filter subsequent
>> followups.  Perhaps the remainder of the thread has some useful
>> info.  Who knows?
> 
> In immediate followups to Alan, Alan's MID will occur last in the
> References header.  If the right-hand side of his MIDs is unique,
> you can use
> 
> % downscore followups to Alan
>    Score: -6666
>      References: endofAlansMID>$

LOL,

I now see why I was having trouble developing a filter for Alan.  
After further inspection I found there are numerous Alan's.  One 
authentic and several faux.  The horrid mess of "Froms" and "MIDs" 
make for some interesting filtering.  ;-)

Per you help, I ended up with the following.  It works for the 
authentic Alan's --- if not the faux Alan's.  ;-)

% Alan the A-hole"
% From Alan
Score:: -666
   From: i3x9mdw@j9n35c\.invalid$
% From anyone, referencing Alan
   References: i3x9mdw@b29x3m\.invalid>$

Thanks Q
Re: [XNEWS], filter question
#176847
Author: Homer.Simpson
Date: Tue, 29 Nov 2005 19:47
32 lines
2128 bytes
Peter J Ross said

> On 28 Nov 2005 03:55:13 GMT, Homer.Simpson
> <Homer.Simpson@SpringfieldBB.com.INVALID> wrote in
> news.software.readers:
> 
>> % From Alan
>> Score: -6666
>>    From: i3x9mdw@j9n35c\.invalid$
> 
> Doesn't the "$" break this if there's a ">" after the email 
address, as there ought to be?

Empirically, I had to delete the ">" in the From: field.  

The opposite was true for the Reference: field.

But I don't know what the hell I'm talking about.... so buyer beware.   
;-)

> This is just as hypothetical as your example, of course. 
> It would be an amazing coincidence if it happened to match 
> a real poster named "Alan".

It certainly would!  

I never read the entire thread I was try to filter until today.  I 
see where poor Alan is being harassed by faux_Alan1 and faux_Alan2, 
etc.  Hilarious.  Now either of the faux_Alans will get through my 
filter -IF- they are not immediately responding to the authentic 
Alan.  My head hurts.   ;-)
Re: [XNEWS], filter question
#176850
Author: me
Date: Tue, 29 Nov 2005 20:56
20 lines
1553 bytes
"Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID>
wrote in news:Xns971D9666C9AF0nope@204.153.244.170: 

> 
> Empirically, I had to delete the ">" in the From: field.  
> 
> The opposite was true for the Reference: field.
> 
> But I don't know what the hell I'm talking about.... so
> buyer beware.   ;-)
> 

Empirically:
in re 'From:' field: ditto
in re 'References:' ">" may be omitted (if not needed)
in re WTH...: ditto ;)

J
-- 
Replies to: Nherr1professor2doktor31109(at)Oyahoo(dot)Tcom
Re: [XNEWS], filter question
#176851
Author: Homer.Simpson
Date: Tue, 29 Nov 2005 22:25
26 lines
1914 bytes
 said

> "Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID>
> wrote in news:Xns971D9666C9AF0nope@204.153.244.170: 
> 
>> 
>> Empirically, I had to delete the ">" in the From: field.  
>> 
>> The opposite was true for the Reference: field.
>> 
>> But I don't know what the hell I'm talking about.... so
>> buyer beware.   ;-)
>> 
> 
> Empirically:
> in re 'From:' field: ditto
> in re 'References:' ">" may be omitted (if not needed)
> in re WTH...: ditto ;)

Wierdness. I tried deleting the ">" from my Reference field and it 
doesn't work for me?

Maybe it's a XNEWS/5.04.25 thing.  I see you're running 
Xnews/2005.10.18.

Oh well, as long as Alan is gone, I'm content.  ;-D
Re: [XNEWS], filter question
#176855
Author: »Q«
Date: Tue, 29 Nov 2005 22:53
21 lines
2157 bytes
"Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID> wrote in
<news:Xns971DB14AE8075nope@204.153.244.170>:

>> Empirically:
>> in re 'From:' field: ditto
>> in re 'References:' ">" may be omitted (if not needed)
>> in re WTH...: ditto ;)
>
> Wierdness. I tried deleting the ">" from my Reference field and it
> doesn't work for me?

It's needed, since you're using the $ to match the end of the
References field.  (A > will always come just before the end.)  If you
take away the $, you can do without the >, but then you will be
downscoring everything downthread from Alan, not just immediate
replies.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/intro.htm>
Re: [XNEWS], filter question
#176893
Author: Mike Dee
Date: Wed, 30 Nov 2005 14:19
41 lines
2435 bytes
"Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID> wrote in 
news:Xns971BE928BC0A9nope@204.153.244.170:

> I tried this out:
> 
> % From Alan
> Score: -6666
>    From: i3x9mdw@j9n35c\.invalid$
> % From anyone, reference Alan
> Score: -6666
>    References: .i3x9mdw@.
> 
> I quickly realized this trashes any and all followups to Alan for 
> the remainder of the thread.  This is not what I desire.

I don't know how a score 0f -6666 manages to "trash" anything, I see 
all posts unless I give a score of -9999 (even though, they get flagged 
a dull grey tone).

If you want to kill Alan but still flag replies then it's OK to:

     Score: -9999
         Message-ID: i3x9mdw
     Score: -1
         References: i3x9mdw

"i3x9mdw" is the only constant with AC's posts, you don't need to add 
"\." or "@" or "$", they're a waste of time in this instance.

I prefer to:

     Score:: -9999
         Message-ID: i3x9mdw
         References: i3x9mdw

Based on the premise, reading any reply following up to or commenting 
on an AC post is pointless clicking... it doesn't kill a thread, unless 
the entire thread is AC and followups to AC's... YMMV.

-- 
dee
Re: [XNEWS], filter question
#176898
Author: me
Date: Wed, 30 Nov 2005 17:05
32 lines
2162 bytes
»Q« <boxcars@gmx.net> wrote in
»news:MrQ971DABD876F3FitsmeitsQ@QsFQDN.dyndns.org: 

> "Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID>
> wrote in <news:Xns971DB14AE8075nope@204.153.244.170>:
> 
>>> Empirically:
>>> in re 'From:' field: ditto
>>> in re 'References:' ">" may be omitted (if not needed)
>>> in re WTH...: ditto ;)
>>
>> Wierdness. I tried deleting the ">" from my Reference
>> field and it doesn't work for me?
> 
> It's needed, since you're using the $ to match the end of
> the References field.  (A > will always come just before
> the end.)  If you take away the $, you can do without the
> >, but then you will be downscoring everything downthread
> from Alan, not just immediate replies.
> 

Yep, it's needed if not (not needed). ;)

Any idea why ">" cannot be used in 'From:'?

BTW, "cannot" here means that I can't make it work. Drives me 
crazy...

TIA
J
-- 
Replies to: Nherr1professor2doktor31109(at)Oyahoo(dot)Tcom
Re: [XNEWS], filter question
#176899
Author: »Q«
Date: Wed, 30 Nov 2005 17:46
19 lines
2036 bytes
me@tadyatam.invalid wrote in
<news:MZkjf.108443$qk4.79603@bgtnsc05-news.ops.worldnet.att.net>:

> Yep, it's needed if not (not needed). ;)
>
> Any idea why ">" cannot be used in 'From:'?
>
> BTW, "cannot" here means that I can't make it work. Drives me
> crazy...

Coz your From headers don't have any >s.  ;)

But seriously, I don't know why.  I guess Luu just decided to handle
Froms differently.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/intro.htm>
Re: [XNEWS], filter question
#176909
Author: Tech Zero
Date: Wed, 30 Nov 2005 19:51
23 lines
2020 bytes
Reality folded in on itself, and somewhere the following words from 
"Homer.Simpson" appeared in history:

> I now see why I was having trouble developing a filter for Alan.  
> After further inspection I found there are numerous Alan's.  One 
> authentic and several faux.  The horrid mess of "Froms" and "MIDs" 
> make for some interesting filtering.  ;-)


Try using the form:

  Score: -9000
     From: Alan
     ~Message-ID: {something consistant real Alan's posts}

This will catch any forgories that arn't from "Alan".
If your troll is also forging the MIDS (not difficult) you may have 
to use an diffrent approch...

-- 
Maxx "What's That Score" Pollare...

* Score-File Dump: http://www.dragonfur.ca/nowhere *
Re: [XNEWS], filter question
#176921
Author: Homer.Simpson
Date: Wed, 30 Nov 2005 23:59
25 lines
1829 bytes
Mike Dee said

> "Homer.Simpson" <Homer.Simpson@SpringfieldBB.com.INVALID> wrote
> in news:Xns971BE928BC0A9nope@204.153.244.170:
> 
>> I tried this out:
>> 
>> % From Alan
>> Score: -6666
>>    From: i3x9mdw@j9n35c\.invalid$
>> % From anyone, reference Alan
>> Score: -6666
>>    References: .i3x9mdw@.
>> 
>> I quickly realized this trashes any and all followups to Alan
>> for the remainder of the thread.  This is not what I desire.
> 
> I don't know how a score 0f -6666 manages to "trash" anything, I
> see all posts unless I give a score of -9999 (even though, they
> get flagged a dull grey tone).

It's just a temp number for a few days as I take the filter for a 
test drive.  

Regards,
Re: [XNEWS], filter question
#176923
Author: me
Date: Thu, 01 Dec 2005 00:55
20 lines
1780 bytes
»Q« <boxcars@gmx.net> wrote in
»news:MrQ971E77C43E9A6itsmeitsQ@QsFQDN.dyndns.org: 

>> -snip-
>> Any idea why ">" cannot be used in 'From:'?
>>
>> BTW, "cannot" here means that I can't make it work. Drives
>> me crazy...
> 
> Coz your From headers don't have any >s.  ;)
> 
> But seriously, I don't know why.  I guess Luu just decided
> to handle Froms differently.
> 

OK (or "whew, I ain't me" ;), thanks.

J
-- 
Replies to: Nherr1professor2doktor31109(at)Oyahoo(dot)Tcom
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