🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by Sqwertz Wed, 11 Aug 2010 14:45
[Dialog] Scoring not matching newsgroups
#242065
Author: Sqwertz
Date: Wed, 11 Aug 2010 14:45
28 lines
1932 bytes
I just had to re-setup my Dialog installation since my new hard drive
decided to die right on the sectors holding Dialog.

I know this is going to be something stupid on my part, so break it to me
gently.

Why doesn't:

# Evil Crossposting Groups
[soc.support rec.knives rec.sport rec.travel]
!markread,ignore message-id *

Match:

Newsgroups: [no CRLF here]
alt.flame,rec.sport.football.college,soc.support.fat-acceptance,rec.food.cooking
Message-ID: <qig066plklg70i0gqg71v9bgl5mp3jif7a@4ax.com>
Xref: Hurricane-Charley alt.flame:209039 rec.sport.football.college:1421855
soc.support.fat-acceptance:78978 rec.food.cooking:1183530

I've also tried with wildcards:
[soc.support.* rec.knives rec.sport.* rec.travel.*]

I know this is going to be something stupid, so break it to me gently.  It
worked for a few header retreivals then I added a couple groups and now it
fails to match anything.

-sw
Re: [Dialog] Scoring not matching newsgroups
#242066
Author: SINNER
Date: Wed, 11 Aug 2010 15:09
17 lines
1691 bytes
* Sqwertz wrote in news.software.readers:

> I just had to re-setup my Dialog installation since my new hard drive
> decided to die right on the sectors holding Dialog.
> 
> I know this is going to be something stupid on my part, so break it to me
> gently.

SWAG Alert!

I dont use Dialog but typically, scoring against newsgroups is done on Xref 
and not Newsgroups (because its considered expensive as Newsgroups is not 
available in the XOVR). Do the groups you added exist in that header as 
well?

-- 
David
Re: [Dialog] Scoring not matching newsgroups
#242067
Author: Oliver Cromm
Date: Wed, 11 Aug 2010 17:34
38 lines
2621 bytes
* Sqwertz:

> Why doesn't:
> 
> # Evil Crossposting Groups
> [soc.support rec.knives rec.sport rec.travel]
> !markread,ignore message-id *
> 
> Match:
> 
> Newsgroups: [no CRLF here]
> alt.flame,rec.sport.football.college,soc.support.fat-acceptance,rec.food.cooking
> Message-ID: <qig066plklg70i0gqg71v9bgl5mp3jif7a@4ax.com>
> Xref: Hurricane-Charley alt.flame:209039 rec.sport.football.college:1421855
> soc.support.fat-acceptance:78978 rec.food.cooking:1183530
> 
> I've also tried with wildcards:
> [soc.support.* rec.knives rec.sport.* rec.travel.*]
> 
> I know this is going to be something stupid, so break it to me gently.  It
> worked for a few header retreivals then I added a couple groups and now it
> fails to match anything.

The [] section in the scoring file is not matching any header, it states
on which groups to operate. The rule in itself won't touch any posts
within, e.g. rec.food.cooking. 

SINNER is right that you should look at Xref. Make a rule apply to those
groups that you are reading and in which you don't want the crossposts
(possibly all).

-- 
er (Tristan) hiez im ein tôrenkleit
an der stete machen:
von wunderlîchen sachen
einen roc seltsên getan
und eine gugelen daran
         H. V. FREIBERG Tristan
Re: [Dialog] Scoring not matching newsgroups
#242069
Author: VanguardLH
Date: Wed, 11 Aug 2010 18:16
38 lines
3224 bytes
SINNER wrote:

> * Sqwertz wrote in news.software.readers:
> 
>> I just had to re-setup my Dialog installation since my new hard drive
>> decided to die right on the sectors holding Dialog.
>> 
>> I know this is going to be something stupid on my part, so break it to me
>> gently.
> 
> SWAG Alert!
> 
> I dont use Dialog but typically, scoring against newsgroups is done on Xref 
> and not Newsgroups (because its considered expensive as Newsgroups is not 
> available in the XOVR). Do the groups you added exist in that header as 
> well?

The OP is not testing on the Newsgroups header.  He is testing on the
Message-ID header and only that header in this filter.  The Message-ID
header is one of the overview headers.  The "[grouplist]" delimiter
specifies to which groups for posts a filter gets applied, not on what
header to test.  

The filter, as the OP defined, doesn't make sense.  It says to tag (as
ignored) every post delivered to the newsreader when the newsreader
retrieves headers/bodies from those newsgroups.  Well, obviously the OP
shouldn't be visiting those "bad" newsgroups if he doesn't want to see
those posts there.  It is when he is in DIFFERENT newsgroups that he
doesn't want to see any posts there that are cross-posted to a bad group
that he does NOT visit.

The [soc.support rec.knives rec.sport rec.travel] group delimiter means
to apply the following filters to posts retrieved from THOSE groups.
Well, if the OP is never visiting those groups then there won't be any
against which to apply the following filters.  As defined (wrongly), the
OP would be better to delete this group delimiter and the filters after
it and just unsubscribe from those newsgroups; however, that's what the
OP is actually trying to do.
Re: [Dialog] Scoring not matching newsgroups
#242070
Author: VanguardLH
Date: Wed, 11 Aug 2010 18:27
170 lines
9361 bytes
Sqwertz wrote:

> I just had to re-setup my Dialog installation since my new hard drive
> decided to die right on the sectors holding Dialog.
> 
> I know this is going to be something stupid on my part, so break it to me
> gently.
> 
> Why doesn't:
> 
> # Evil Crossposting Groups
> [soc.support rec.knives rec.sport rec.travel]
> !markread,ignore message-id *
> 
> Match:
> 
> Newsgroups: [no CRLF here]
> alt.flame,rec.sport.football.college,soc.support.fat-acceptance,rec.food.cooking
> Message-ID: <qig066plklg70i0gqg71v9bgl5mp3jif7a@4ax.com>
> Xref: Hurricane-Charley alt.flame:209039 rec.sport.football.college:1421855
> soc.support.fat-acceptance:78978 rec.food.cooking:1183530
> 
> I've also tried with wildcards:
> [soc.support.* rec.knives rec.sport.* rec.travel.*]
> 
> I know this is going to be something stupid, so break it to me gently.  It
> worked for a few header retreivals then I added a couple groups and now it
> fails to match anything.
> 
> -sw

Simple.  The newsgroup selection line (the "[grouplist]" to which
newsgroup a filter gets applied) is NOT the same as looking in the
Newsgroups header to see in which groups a post was submitted.  Do you
actually visit those groups?  If so, why?  If you don't want to see any
posts in those *newsgroups* then don't visit there.  Simple solution.
You don't need to filter out posts for groups to which you don't
subscribe.

If you don't want to see any posts that have been cross-posted to those
groups (when you are visiting a DIFFERENT group) then you need to test
if the group has been specified *in* the headers of the post.  That
means testing on either the Newsgroups or Xref headers.  The Newsgroups
header is not part of the overview header set when your newsreader
retrieves headers to find new posts.  To get the Newsgroups header means
trying to figure out how to get Dialog to use the XHDR command (I
haven't figure it out) or configure Dialog to download the bodies of the
posts so you get ALL their headers (I do this because there are lots of
non-overview headers on which I test, and I only visit text groups and
no binary groups with huge-sized posts).  

To see what headers are included in the overview header set, telnet into
your NNTP server to list the overview headers (only works if logging on
isn't required to do some commands):

telnet <yourNNTPserver> 119
list overview.fmt
quit

If Xref is an included overview header (it should be) then you need to
use THAT header to look for cross-postings into OTHER newsgroups than
you actually visit.  Otherwise, you'll have to configure Dialog to
download the bodies of the posts so you get ALL of their headers (Group
-> Default Group -> Retrieving -> Retrieve bodies for all new messages)
so you can test for the "bad" newsgroups in the Newsgroups header.  If
you're going to the expense of downloading the bodies to test on
non-overview headers, you should probably also test if the bad groups
were specified in a FollowUp-To header, too, since that is a typical
ploy by flamers.  

Regarding the FollowUp-To header, you can configure Dialog to colorize
that header, if present, shown in the preview pane.  That way, you can
see when some asshole is trying to redirect replies to another group or
when some boob is misusing this header (there are extremely rare
instances where the use of FollowUp-To is actually valid).  Right-click
in the header pane of the preview panel and select Edit Visible Headers.
I have the following colorizations defined:


Purpose: Boob wants to redirect post to another group
  Caption: ALERT --> FollowUp-To
  Content: FollowUp-To
  Colorize: Always
  Bold: Always
  Underline: Never

Purpose: Boob wants to take discussion offline via e-mail
  Caption: Alert --> FollowUp-To: poster (email)
  Content: FollowUpTo: poster
  Colorize: Always
  Bold: Always
  Underline: Never

Purpose: Warn of assholes that like to punch holes in archived threads.
  Caption: WARN --> X-No-Archive
  Content: X-No-Archive
  Colorize: Always
  Bold: Always
  Underline: Never

Although the first two (for FollowUp-To) appear that the 2nd would be
covered by the first, I want the alert shown in the header pane to tell
me, in the special 2nd case, when someone is trying to waylay the
discussion by taking it offline (or trying to Joe Job someone else by
sending Usenet-originated e-mails there, like a flammer trying to
lambast someone's e-mail account).  The 2nd is a spcial case of the 1st
but I want it separately alerted.  The result is that if those headers
(defined by the Content field) are used in a post then it gets displayed
in color and bolded in the header pane to warn me of its use.

Back to your original question, don't test on the message-id header for
posts you retrieved from a newsgroup.  If you don't want to visit that
newsgroup then don't.  Unsubscribe from it.  The "[grouplist]" delimiter
says to which groups the following filters will apply.  Well, if you
don't visit those newsgroups then those filter will obviously never get
applied.  Test for the bad group in the Xref header.  If you have Dialog
downloading the bodies of the posts (do this if you only visit text
groups) so you can test on all headers instead of just the overview
headers, you can then chose to test on the Newsgroups header.  However,
at that point, you might as well as test on the FollowUp-To header, too.
Here's my filter (because I do have the Newsgroups header on which to
test):

!ignore,markread Header
{^(Newsgroups|FollowUp-To):.*\b(2600|kook(|s)|warez|test(|en)\b|soc(\.|i)|pol(\.|iti)|hate|relig)}

I'm not interested in posts that are [cross]posted to the 2600 (cracks),
kook, warez (pirateware), test, sociology, political, hate, or religious
newsgroups.  In your case for your much fewer list of unwanted groups,
and not having the Newsgroups or FollowUp-To header on which to filter
but just Xref, you would use:

!ignore,markread Header
{^Xref:.*\b(soc\.support|rec\.(knives|sport|travel))}

This might work, too:

!ignore,markread Xref {\b(soc\.support|rec\.(knives|sport|travel))}

Dialog performs 2 passes on its filters if you download the bodies.  The
first pass applies the filters against just the retrieved headers.  If a
filter tags a post as ignored, the body for that post won't get
downloaded on the 2nd pass.  The 2nd pass is for when you download the
bodies and the filters get reapplied on the posts (that weren't already
tagged in the 1st pass).  So you could actually use both of the above
filters.  The one testing on Xref would get exercised in the first pass
and tag the unwanted posts.  In the second pass, the 2nd filter (using
the Newsgroups or FollowUp-To headers) wouldn't get exercised because
the posts on which it would match have already been tagged in the 1st
pass.  You don't need to ignore and already ignored post.  However, it
is possible your Xref filter has slightly different criteria than your
Newsgroups filter and why you would still have the Newsgroups filter to
test in the 2nd pass.  The 2nd pass will take longer since the bodies
are getting downloaded.

If you want your filter to apply on all posts in all newsgroups then you
list it after the all-groups delimiter:

[*]

If you find that it is just in some groups where you encounter posters
that cross-post to the "bad" newsgroups then you list the filter after
THAT group delimiter, like:

[24hoursupport.helpdesk,alt.comp.freeware,microsoft.*]

Those would have to be groups to which you actually subscribe to get
posts from those newsgroups.  Having a group delimiter specifying to
look at those posts from those groups won't work if you don't *retrieve*
any posts from those groups.
Re: [Dialog] Scoring not matching newsgroups
#242071
Author: VanguardLH
Date: Wed, 11 Aug 2010 18:30
9 lines
1893 bytes
Update:

Well, if the criteria for testing on the Xref, Newsgroups, and
FollowUp-To headers is the same then you could have just one filter that
looks in any of those headers for the criteria in their values, like (as
one line in the scoring file):

!ignore,markread Header
{^(Xref|Newsgroups|FollowUp-To):.*\b(2600|kook(|s)|warez|test(|en)\b|soc(\.|i)|pol(\.|iti)|hate|relig)}
Re: [Dialog] Scoring not matching newsgroups
#242073
Author: VanguardLH
Date: Wed, 11 Aug 2010 18:32
17 lines
2378 bytes
VanguardLH wrote:

> Update:
> 
> Well, if the criteria for testing on the Xref, Newsgroups, and
> FollowUp-To headers is the same then you could have just one filter that
> looks in any of those headers for the criteria in their values, like (as
> one line in the scoring file):
> 
> !ignore,markread Header
> {^(Xref|Newsgroups|FollowUp-To):.*\b(2600|kook(|s)|warez|test(|en)\b|soc(\.|i)|pol(\.|iti)|hate|relig)}

Ooops, that reply should've be against my prior reply to the OP, not as
a reply to the reply to Sinner.  I wrote about using 2 rules based on
the 2 passes used by Dialog if it's configured to download bodies.  Then
I realized they could be combined and still work even if bodies aren't
downloaded (to get at the non-overview headers).
Re: [Dialog] Scoring not matching newsgroups
#242135
Author: Sqwertz
Date: Sat, 14 Aug 2010 00:44
10 lines
1586 bytes
On Wed, 11 Aug 2010 13:16:13 -0500, VanguardLH wrote:

> The OP is not testing on the Newsgroups header.  He is testing on the
> Message-ID header and only that header in this filter. 

No I'm not.  I'm deleting all posts with any Message-ID.

See the example in the "Samples" tab.

-sw
Re: [Dialog] Scoring not matching newsgroups
#242133
Author: Sqwertz
Date: Sat, 14 Aug 2010 00:49
14 lines
1759 bytes
On Wed, 11 Aug 2010 13:16:13 -0500, VanguardLH wrote:

> The [soc.support rec.knives rec.sport rec.travel] group delimiter means
> to apply the following filters to posts retrieved from THOSE groups.

This has always worked before.  No matter which group I'm retrieving, if
any of the XREF (or Newsgroups) match what's the brackets, then the action
takes place.

It would seem more CPU intensive from a programming standpoint, but this
has worked for me the past 6 years.  And it worked just intil I added one
or two groups to the string, which somehow broke it.

-sw
Re: [Dialog] Scoring not matching newsgroups
#242136
Author: Sqwertz
Date: Sat, 14 Aug 2010 00:52
45 lines
2554 bytes
On Wed, 11 Aug 2010 13:34:19 -0400, Oliver Cromm wrote:

> * Sqwertz:
> 
>> Why doesn't:
>> 
>> # Evil Crossposting Groups
>> [soc.support rec.knives rec.sport rec.travel]
>> !markread,ignore message-id *
>> 
>> Match:
>> 
>> Newsgroups: [no CRLF here]
>> alt.flame,rec.sport.football.college,soc.support.fat-acceptance,rec.food.cooking
>> Message-ID: <qig066plklg70i0gqg71v9bgl5mp3jif7a@4ax.com>
>> Xref: Hurricane-Charley alt.flame:209039 rec.sport.football.college:1421855
>> soc.support.fat-acceptance:78978 rec.food.cooking:1183530
>> 
>> I've also tried with wildcards:
>> [soc.support.* rec.knives rec.sport.* rec.travel.*]
>> 
>> I know this is going to be something stupid, so break it to me gently.  It
>> worked for a few header retreivals then I added a couple groups and now it
>> fails to match anything.
> 
> The [] section in the scoring file is not matching any header, it states
> on which groups to operate. 

Exactly.  And those groups are listed inside thew []'s.

> The rule in itself won't touch any posts within, e.g. rec.food.cooking. 

That's fine.  That's what I want.  What I want is to delete all posts
cross-posted to the groups in brackets.

> SINNER is right that you should look at Xref. Make a rule apply to those
> groups that you are reading and in which you don't want the crossposts
> (possibly all).

I'm not following this at all.  The bracketed groups match both XRef: and
Newsgroups:  headers (I don't really care which

It worked until I changed one group name.

-sw
Re: [Dialog] Scoring not matching newsgroups
#242146
Author: Sqwertz
Date: Sat, 14 Aug 2010 01:34
25 lines
2146 bytes
<sigh>  I hear what you are all saying, but I could SWEAR this worked
before.  It would match those groups in brackets when you weren't
subscribed to the group.

I've tried to duplicate it on just one group/xref, but for the life of me I
can't.  I did this three other groups previously - I killed crossposts to
kooks, kibology, rec.sports ... for probably 4-5 years.

I'm wondering if it has something to do with maybe my being subscribed to
those groups at one time, but were not in my current subscription list.  I
had huge 6+ year databases of posts, and I know old info used to hang
around in those files.  I never compacted  any groups until just before my
hard disk died this last round.  Doesn't sound logical, I know.

I'm not crazy, I swear.  It worked.

But I'll try it the other way - doesn't matter to me as long as it works.

[*]
!delete xref "rec.knives" "rec.scuba" "rec.sports.football" "rec.travel"

I know the quotes are probably optional,. but that's the way I'm used to
dealing with strings.

-sw
Re: [Dialog] Scoring not matching newsgroups
#242233
Author: Oliver Cromm
Date: Tue, 17 Aug 2010 23:50
22 lines
2147 bytes
* Sqwertz:

> <sigh>  I hear what you are all saying, but I could SWEAR this worked
> before.  It would match those groups in brackets when you weren't
> subscribed to the group.
> 
> I've tried to duplicate it on just one group/xref, but for the life of me I
> can't.  I did this three other groups previously - I killed crossposts to
> kooks, kibology, rec.sports ... for probably 4-5 years.

One last theory:

Are you sure that the rule you presented is the one that did the job for
you, and not some other rule that we don't see?

-- 
er (Tristan) hiez im ein tôrenkleit
an der stete machen:
von wunderlîchen sachen
einen roc seltsên getan
und eine gugelen daran
         H. V. FREIBERG Tristan
Re: [Dialog] Scoring not matching newsgroups
#242297
Author: Sqwertz
Date: Mon, 23 Aug 2010 03:54
33 lines
2466 bytes
On Tue, 17 Aug 2010 19:50:10 -0400, Oliver Cromm wrote:

> * Sqwertz:
> 
>> <sigh>  I hear what you are all saying, but I could SWEAR this worked
>> before.  It would match those groups in brackets when you weren't
>> subscribed to the group.
>> 
>> I've tried to duplicate it on just one group/xref, but for the life of me I
>> can't.  I did this three other groups previously - I killed crossposts to
>> kooks, kibology, rec.sports ... for probably 4-5 years.
> 
> One last theory:
> 
> Are you sure that the rule you presented is the one that did the job for
> you, and not some other rule that we don't see?

<sigh> I don't know.  I will eventually hook up the half-dead hard disk
when I get a new motherboard and recover my old score file if I can.  That
hard disk started getting bad sectors, a lot of them right over my dialog
databases, but most of the non-system areas (non C: drive areas) were
unaffected (so far).

I'm pretty sure no other rules would have matched.  I originally only used
that rule to filter out crossposts to one group, and as soon as I put it
in, it did the trick or months to follow.  Then I started using it on more
groups. It worked for years.  

There really isn't any documentation that that is the way the scorefile is
checked.  But it certainly makes sense from a programming/efficiency
standpoint.

-sw
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