🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by VanguardLH Fri, 13 Mar 2009 15:33
[Dialog] Option to retrieve bodies of new posts does not work reliably
#231415
Author: VanguardLH
Date: Fri, 13 Mar 2009 15:33
51 lines
4373 bytes
Under the default group options, in the Retrieving category of options,
I enabled the option "Retrieve bodies for all new posts".  All group use
the default group options.  Yet when there are new posts to retrieve and
after retrieving their headers, there are still many posts that are
either:

- Their bodies are not downloaded.
- They are only marked for downloading but don't get downloaded.

I only participate in text groups.  Not all headers are available for
scoring when retrieving just the headers (i.e., all you get are the
overview headers).  Just the overview headers are not sufficient to
identify particular posters or types of posters.  So I have filters that
test on non-overview headers.  This only works if the body of the post
gets pulled during a poll so that all headers are retrieved and are
therefore available for testing.  But those filters will fail (and
incorrectly flag a post as Ignored) if the non-overview headers are not
available which is the case when Dialog neglects to honor the option to
download the bodies of all new posts.

I'll give an example.  Someone was impersonating Bruce Hagen.  Although
they were posting from the same ISP, Bruce posts from a San Diego branch
whereas the imposter was posting through a Nevada branch, as I recall,
of the same ISP.  So I wanted to ignore any posts that said they were
from Bruce but which did not come through the same regional hub for his
ISP.  My filter looks like (all on one line but split here for clarity):

!setcolor(maroon;white),ignore,markread	
  From {\bBruce.*\bHagen} 
  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}

Anyone claiming to be "Bruce Hagen" but who did not post using a host
connected to the San Diego region for Cox would get ignored as an
imposter.  Bruce always posts from sd.cox.net.  I believe the imposter
might've decided to cease his impostering (I would have to check) but
the point is that the NNTP-Posting-Host is *not* an overview header so
this filter only works if the option in Dialog to download the bodies of
new posts was actually honored so the filters could test on the non-
overview headers.  Since Dialog is not honoring its own option but
instead does not download some bodies of new posts, the above filter
would result in flagging as Ignored posts from Bruce.  Since the non-
overview headers aren't available, the filter doesn't see the NNTP-
Posting-Host header.  "And Not" (for the -@ prefix) also triggers when
the header is absent, not just when string is found.

So can I make Dialog obey its "Retrieve bodies for all new posts"
default group option?  All groups are configured to use the default
group options.  Since I only participate in text groups (36 of them), I
would rather wait for new posts to get downloaded so that I could test
on the non-overview headers rather than give up some decent filtering of
a lot of noise in several groups.
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231418
Author: VanguardLH
Date: Fri, 13 Mar 2009 16:14
86 lines
6401 bytes
VanguardLH wrote:

> Under the default group options, in the Retrieving category of options,
> I enabled the option "Retrieve bodies for all new posts".  All group use
> the default group options.  Yet when there are new posts to retrieve and
> after retrieving their headers, there are still many posts that are
> either:
> 
> - Their bodies are not downloaded.
> - They are only marked for downloading but don't get downloaded.
> 
> I only participate in text groups.  Not all headers are available for
> scoring when retrieving just the headers (i.e., all you get are the
> overview headers).  Just the overview headers are not sufficient to
> identify particular posters or types of posters.  So I have filters that
> test on non-overview headers.  This only works if the body of the post
> gets pulled during a poll so that all headers are retrieved and are
> therefore available for testing.  But those filters will fail (and
> incorrectly flag a post as Ignored) if the non-overview headers are not
> available which is the case when Dialog neglects to honor the option to
> download the bodies of all new posts.
> 
> I'll give an example.  Someone was impersonating Bruce Hagen.  Although
> they were posting from the same ISP, Bruce posts from a San Diego branch
> whereas the imposter was posting through a Nevada branch, as I recall,
> of the same ISP.  So I wanted to ignore any posts that said they were
> from Bruce but which did not come through the same regional hub for his
> ISP.  My filter looks like (all on one line but split here for clarity):
> 
> !setcolor(maroon;white),ignore,markread	
>   From {\bBruce.*\bHagen} 
>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
> 
> Anyone claiming to be "Bruce Hagen" but who did not post using a host
> connected to the San Diego region for Cox would get ignored as an
> imposter.  Bruce always posts from sd.cox.net.  I believe the imposter
> might've decided to cease his impostering (I would have to check) but
> the point is that the NNTP-Posting-Host is *not* an overview header so
> this filter only works if the option in Dialog to download the bodies of
> new posts was actually honored so the filters could test on the non-
> overview headers.  Since Dialog is not honoring its own option but
> instead does not download some bodies of new posts, the above filter
> would result in flagging as Ignored posts from Bruce.  Since the non-
> overview headers aren't available, the filter doesn't see the NNTP-
> Posting-Host header.  "And Not" (for the -@ prefix) also triggers when
> the header is absent, not just when string is found.
> 
> So can I make Dialog obey its "Retrieve bodies for all new posts"
> default group option?  All groups are configured to use the default
> group options.  Since I only participate in text groups (36 of them), I
> would rather wait for new posts to get downloaded so that I could test
> on the non-overview headers rather than give up some decent filtering of
> a lot of noise in several groups.

Might've found the cause: Dialog scores TWICE.  From its help:

"Usenet articles are scored twice in Dialog. When you get headers in a
group the scoring rules are applied to the available, limited number of
headers, however when you retrieve the complete body of the message, the
message is scored again and this time all headers can be scored."

Oh, goody.  That means if a filter tests on a non-overview header (that
WILL be available after downloading the body) during its first pass
through the filters on downloading just the headers then it can (and
does) screw up the filters ran on the 2nd pass when the bodies are
downloaded.

Apparently if an article is flagged Ignored, Dialog won't download its
body.  That explains why some articles are not downloaded despite the
option to get them downloaded.  It also means that any filters that rely
on non-overview headers will screw up.  Those non-overview headers won't
be available in the first pass when only the headers are downloaded.
Well, other than providing regex support, this relegates Dialog to the
same dumb filtering as available in OE, Thunderbird, and many other
newsreaders.  I cannot define filters in Dialog that will not have side
effects (from the first pass which exercises the filters against only
the overview headers).  Because of this double pass through the filters,
and with one of them on just the overview headers, filters can only
specify the overview headers on which to test which makes it impossible
to detect certain posters or types of posters.

Of course, if the -@ (And Not) prefix did NOT trigger when the header
was absent then the problem wouldn't have come up (until I hit a
different situation of side effects produced by running the SAME filters
against one articles set with only overview headers and again against
another articles set with all headers).
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231423
Author: Rom
Date: Fri, 13 Mar 2009 17:41
42 lines
2646 bytes
On Fri, 13 Mar 2009 10:33:24 -0500, VanguardLH wrote:

> Under the default group options, in the Retrieving category of options,
> I enabled the option "Retrieve bodies for all new posts".  All group use
> the default group options.  Yet when there are new posts to retrieve and
> after retrieving their headers, there are still many posts that are
> either:
> 
> - Their bodies are not downloaded.

Ignore doesn't download the bodies, unless an ignore matches a
non-overview Header filter.

> - They are only marked for downloading but don't get downloaded.

My Default group options are set to retrieve bodies for all new
messages but do not retrieve bodies long than n lines. Groups I
regularly read use the default group options while other groups are
set differently and do not retrieve all bodies.

I don't work in online mode so the 'lightbulb' is always off unless I
go online by using retrieve/get/send commands, and Dialog disconnects
and goes offline after a certain time. As I have a good Internet
connection and the servers I mostly use don't seem to have many
problems, I rarely see Dialog retrying, timeout or errors, so don't
often see bodies being marked for retrieval instead of downloading,
which (to me) indicates connection problems.

> My filter looks like (all on one line but split here for clarity):
> 
> !setcolor(maroon;white),ignore,markread	
>   From {\bBruce.*\bHagen} 
>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}

Try changing the filter so From uses Header too, and adjust From, e.g.

!setcolor(maroon;white),ignore,markread
 Header {^From: \bBruce.*\bHagen}
 -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}

-- 
Rom
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231422
Author: VanguardLH
Date: Fri, 13 Mar 2009 18:38
82 lines
5077 bytes
Rom wrote:

> On Fri, 13 Mar 2009 10:33:24 -0500, VanguardLH wrote:
> 
>> Under the default group options, in the Retrieving category of options,
>> I enabled the option "Retrieve bodies for all new posts".  All group use
>> the default group options.  Yet when there are new posts to retrieve and
>> after retrieving their headers, there are still many posts that are
>> either:
>> 
>> - Their bodies are not downloaded.
> 
> Ignore doesn't download the bodies, unless an ignore matches a
> non-overview Header filter.

However, I *was* testing on a non-overview header: NNTP-Posting-Host.
Yet the first pass (download headers) had the filter flag the "Bruce
Hagen" articles as Ignored so on the second pass (download bodies) those
articles were NOT downloaded.

>> My filter looks like (all on one line but split here for clarity):
>> 
>> !setcolor(maroon;white),ignore,markread	
>>   From {\bBruce.*\bHagen} 
>>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
> 
> Try changing the filter so From uses Header too, and adjust From, e.g.
> 
> !setcolor(maroon;white),ignore,markread
>  Header {^From: \bBruce.*\bHagen}
>  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}

That doesn't work.  The absence of the NNTP-Posting-Host header in the
first pass (headers only) is what fires the filter to commit its action
(flag as Ignored) although that non-overview header is available in the
2nd pass (download bodies).  Alas, on the 2nd pass, the Ignore flag
doesn't get unflagged.

... a possible solution ...

I think I found an answer but have yet to test.  I read that Dialog uses
the scoring rules and syntax as used by Hamster.  I also read that I
need to see the scores.hst file for Hamster to understand all the syntax
for filter rules but which Dialog omits from describing in their help.
I found scores.hst at:

http://home.hetnet.nl/~ojb-hamster/EnWIP/EnWeb/html/file3vao.htm

Scrolling down to the "Score Rules (tested AFTER loading an article)"
section says that I can use "?" (instead of the "!") leading character
in a filter which makes that filter only apply after the 2nd pass (after
bodies have been downloaded).  So I would change my filter to:

?setcolor(maroon;white),ignore,markread	
  From {\bBruce.*\bHagen} 
  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}

Since the "?" prefix means to run the filter AFTER the body has been
downloaded, it seems this should be used (instead of "!") on any filter
in which any header on which it tests is a non-overview header.  The
non-overview header won't be available until after the article [body] is
downloaded and that's after which the filter should be applied.

... well, it would've worked if ...

Turns out Dialog does NOT support all the scoring syntax of Hamster.
When "?" is used as the prefix, Dialog will bitch that an illegal
character was used.  So this functionality (of exercising a rule AFTER
the body has been downloaded) is not available in Dialog.

Dialog makes 2 passes on articles (for those that are downloaded) and
yet it doesn't support the "?" qualifier to exercise filters only after
the 2nd pass.  Oh great!

Too bad Dialog doesn't bypass a filter if a header specified within it
does not currently exist in the current instance of the article.  After
the 1st pass, the non-overview header won't be there.  A filter that
specifies a non-overview header can have side effects because -@ on a
missing header returns True.

Doesn't seem to be a workaround to Dialog's screwup when twice
exercising its filters on articles.
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231426
Author: Rom
Date: Fri, 13 Mar 2009 19:51
44 lines
2701 bytes
On Fri, 13 Mar 2009 13:38:04 -0500, VanguardLH wrote:

> Rom wrote:
> 
>> On Fri, 13 Mar 2009 10:33:24 -0500, VanguardLH wrote:
[...]
>>> My filter looks like (all on one line but split here for clarity):
>>> 
>>> !setcolor(maroon;white),ignore,markread	
>>>   From {\bBruce.*\bHagen} 
>>>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>> 
>> Try changing the filter so From uses Header too, and adjust From, e.g.
>> 
>> !setcolor(maroon;white),ignore,markread
>>  Header {^From: \bBruce.*\bHagen}
>>  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
> 
> That doesn't work.  The absence of the NNTP-Posting-Host header in the
> first pass (headers only) is what fires the filter to commit its action
> (flag as Ignored) although that non-overview header is available in the
> 2nd pass (download bodies).  Alas, on the 2nd pass, the Ignore flag
> doesn't get unflagged.

Then try two rules, e.g:
!setcolor(maroon;white),ignore,markread	From {\bBruce.*\bHagen}
!unsetwatchignore,markunread,retrieve Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}

And adjust or add actions like setcolor.

I've used ignore and unsetwatchignore on overview header filter rules,
and ignore on non-overview Header filter rules, which work.
But haven't combined overview and non-overview in the one rule as it
doesn't seem logical, so thought both using Header might have worked.

> ... a possible solution ...
[about Hamster...]
> ?setcolor(maroon;white),ignore,markread

Hamster downloads all articles by default unless filtered. Hamster
doesn't have actions like Dialog, and actions must start with "!".

-- 
Rom
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231428
Author: Oliver Cromm
Date: Fri, 13 Mar 2009 22:11
31 lines
3113 bytes
* VanguardLH <V@nguard.LH> wrote:

> "Usenet articles are scored twice in Dialog. When you get headers in a
> group the scoring rules are applied to the available, limited number of
> headers, however when you retrieve the complete body of the message, the
> message is scored again and this time all headers can be scored."
> 
> Oh, goody.  That means if a filter tests on a non-overview header (that
> WILL be available after downloading the body) during its first pass
> through the filters on downloading just the headers then it can (and
> does) screw up the filters ran on the 2nd pass when the bodies are
> downloaded.

I don't quite get your confused description, but I don't see any
screw-up. Filters that work on non-overview headers are simply not
applied in the first pass.

Maybe what you want to do is an Ignore-rule on an overview-header with
exceptions defined on a non-overview header? Yeah, that won't work. You
are better off downloading a few more bodies and then ignoring them
after, or marking them read, even deleting.

Or do you have filters that combine tests on overview- and non-overview
headers? In that case, I have no idea what happens, though I would hope
they will be ignored in the first pass, in which case they could be the
answer to the problem described in the paragraph before.

-- 
Bill Gates working as a waiter:
- Waiter, there's a fly in my soup
- Try again, maybe it won't be there this time
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231429
Author: Rom
Date: Fri, 13 Mar 2009 22:16
32 lines
2165 bytes
On Fri, 13 Mar 2009 13:38:04 -0500, VanguardLH wrote:

> Rom wrote:
> 
>> On Fri, 13 Mar 2009 10:33:24 -0500, VanguardLH wrote:
[...]
>>> My filter looks like (all on one line but split here for clarity):
>>> 
>>> !setcolor(maroon;white),ignore,markread	
>>>   From {\bBruce.*\bHagen} 
>>>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>> 
>> Try changing the filter so From uses Header too, and adjust From, e.g.
>> 
>> !setcolor(maroon;white),ignore,markread
>>  Header {^From: \bBruce.*\bHagen}
>>  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
> 
> That doesn't work.  The absence of the NNTP-Posting-Host header in the
> first pass (headers only) is what fires the filter to commit its action
> (flag as Ignored) although that non-overview header is available in the
> 2nd pass (download bodies).  Alas, on the 2nd pass, the Ignore flag
> doesn't get unflagged.

Another way is to use scoring and an action on a score, e.g.:

+2 From {\bBruce.*\bHagen}
-1 Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}
!setcolor(maroon;white),ignore,markread Score %=+1

-- 
Rom
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231432
Author: VanguardLH
Date: Sat, 14 Mar 2009 01:32
102 lines
6843 bytes
Oliver Cromm wrote:

> * VanguardLH <V@nguard.LH> wrote:
> 
>> "Usenet articles are scored twice in Dialog. When you get headers in a
>> group the scoring rules are applied to the available, limited number of
>> headers, however when you retrieve the complete body of the message, the
>> message is scored again and this time all headers can be scored."
>> 
>> Oh, goody.  That means if a filter tests on a non-overview header (that
>> WILL be available after downloading the body) during its first pass
>> through the filters on downloading just the headers then it can (and
>> does) screw up the filters ran on the 2nd pass when the bodies are
>> downloaded.
> 
> I don't quite get your confused description, but I don't see any
> screw-up. Filters that work on non-overview headers are simply not
> applied in the first pass.

That is NOT the behavior that I see.  On the first pass (header download
only), messages are getting flagged Ignored where the filter tests on a
non-overview header.  Because -@ is used to determine if the header does
not have the specified value, it also does not have this value if the
header does not exist!

So on the first pass (header download only):

- From {\bBruce.*\bHagen}
  This matches on posts where "Bruce Hagen" is in the From header,
including those from the imposter.
- -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net
  This matches because this header is NOT included in the first pass.
It is not an overview header.  Because it is absent, it also does not
have this value.  

The result is that posts by the true Bruce Hagen get flagged Ignored in
the first pass.  Then on the 2nd pass, Ignored posts are not retrieved
so I still don't get the non-overview header on which to test.  However,
since the flag got set in the 1st pass, it won't get unflagged in the
2nd pass even if the non-overview header did exist.


> Maybe what you want to do is an Ignore-rule on an overview-header with
> exceptions defined on a non-overview header? Yeah, that won't work. You
> are better off downloading a few more bodies and then ignoring them
> after, or marking them read, even deleting.

The From is an overview header.  The NNTP-Posting-Host is a non-overview
header.  Both are needed in this case to identify the imposter.  The
>From looks for the moniker that is being impostered and the
NNTP-Posting-Host was to check if it was from the real person (and, if
not, then it was the imposter).

> Or do you have filters that combine tests on overview- and non-overview
> headers? In that case, I have no idea what happens, though I would hope
> they will be ignored in the first pass, in which case they could be the
> answer to the problem described in the paragraph before.

There doesn't seem a problem (that I've noticed so far) with side
effects due to the two-pass filtering when +@ is used to include a
header as it must have that value to return a True.  However, -@ returns
true if the header exists and does not have the value or if the header
does not exist (which means it also does not have the value) and it is
the latter case that causes the problem in the first pass.

I had to change my rule to look for:

!setcolor(maroon;white),ignore,markread	
  From {\bBruce.*\bHagen} 
  +@Header:{^NNTP-Posting-Host:.*\.ph\.cox\.net.*\b68\.104\.158\.220}

The Bruce Hagen imposter, so far, posts through the Phoenix branch of
Cox as their ISP and has this IP address.  I could probably eliminate
the IP address and just look on ph.cox.net in the NNTP-Posting-Host
header.  Bruce always posts from the San Diego branch (sd.cox.net).  So
this altered filter will work for now but not if the imposter decides to
wander around to use different NNTP servers.  

I figured that anyone named "Bruce Hagen" (in the particular groups
where he is a long-time regular) and who doesn't post from sd.cox.net is
the imposter.  This imposter first started with "t", then another name,
became "Bruce Hagen" (and appeared to deliberately try to defame the
real Bruce), then went to person234 when it became evident everyone
could detect who he was, nymshifted again to person235, and I don't know
who he is now.  He might've reformed but I don't care.

I was trying to use whatever all headers provided unique enough
information to identify anyone posting as "Bruce Hagen" but not posting
through sd.cox.net as not the real Bruce.  This required a mix of
overview and non-overview headers.  The only way to get the non-overview
headers is by downloading the bodies of the articles.  However, the
first pass (headers only) that added the Ignore flag would result in
those posts not getting their bodies downloaded in the subsequent 2nd
pass.  So not only did I not have the non-overview headers on which to
test but the Ignore flag already got added (and a filter to add the flag
won't remove it if already present but doesn't match the filter).

In my other post, I noted that Hamster includes a "?" operator or prefix
which says the filter is only exercised after the body has been
downloaded.  Alas, Dialog doesn't support this operator.  That would've
solved the problem right away (once I found out about it because it is
not documented in Dialog's help *if* it had worked).
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231433
Author: VanguardLH
Date: Sat, 14 Mar 2009 01:40
63 lines
4223 bytes
Rom wrote:

> On Fri, 13 Mar 2009 13:38:04 -0500, VanguardLH wrote:
> 
>> Rom wrote:
>> 
>>> On Fri, 13 Mar 2009 10:33:24 -0500, VanguardLH wrote:
> [...]
>>>> My filter looks like (all on one line but split here for clarity):
>>>> 
>>>> !setcolor(maroon;white),ignore,markread	
>>>>   From {\bBruce.*\bHagen} 
>>>>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>>> 
>>> Try changing the filter so From uses Header too, and adjust From, e.g.
>>> 
>>> !setcolor(maroon;white),ignore,markread
>>>  Header {^From: \bBruce.*\bHagen}
>>>  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>> 
>> That doesn't work.  The absence of the NNTP-Posting-Host header in the
>> first pass (headers only) is what fires the filter to commit its action
>> (flag as Ignored) although that non-overview header is available in the
>> 2nd pass (download bodies).  Alas, on the 2nd pass, the Ignore flag
>> doesn't get unflagged.
> 
> Then try two rules, e.g:
> !setcolor(maroon;white),ignore,markread	From {\bBruce.*\bHagen}
> !unsetwatchignore,markunread,retrieve Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}
> 
> And adjust or add actions like setcolor.

Hmm, there's an idea.  I'll see what happens.  I'll clear a newsgroup
where Bruce Hagen posts and see if his posts stay marked as ignored.
But I can see 2 side effects:

- If a thread is marked watched and Bruce adds a new post in a
subthread, his post and all replies will no longer be watched.  The
unsetwatchignore would unwatch his subthread.  Well, that might still
work because I'm using a view to Hide Ignored posts, not to hide
unwatched posts.

- Anyone posting through sd.cox.net would get the ignore or watch flag
removed.  Someone that I wanted to ignore would get un-ignored and
someone that I wanted to watch would get un-watched, including the
subthread for them to include replies.

> I've used ignore and unsetwatchignore on overview header filter rules,
> and ignore on non-overview Header filter rules, which work.
> But haven't combined overview and non-overview in the one rule as it
> doesn't seem logical, so thought both using Header might have worked.
> 
>> ... a possible solution ...
> [about Hamster...]
>> ?setcolor(maroon;white),ignore,markread
> 
> Hamster downloads all articles by default unless filtered. Hamster
> doesn't have actions like Dialog, and actions must start with "!".

I see your point.  While Hamster has its scoring, Dialog has that but
also adds actions.  Still it would've been a very handy way to different
in which pass a filter got exercised (by limiting the filter to only the
2nd pass).
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231434
Author: VanguardLH
Date: Sat, 14 Mar 2009 01:41
36 lines
3036 bytes
Rom wrote:

> On Fri, 13 Mar 2009 13:38:04 -0500, VanguardLH wrote:
> 
>> Rom wrote:
>> 
>>> On Fri, 13 Mar 2009 10:33:24 -0500, VanguardLH wrote:
> [...]
>>>> My filter looks like (all on one line but split here for clarity):
>>>> 
>>>> !setcolor(maroon;white),ignore,markread	
>>>>   From {\bBruce.*\bHagen} 
>>>>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>>> 
>>> Try changing the filter so From uses Header too, and adjust From, e.g.
>>> 
>>> !setcolor(maroon;white),ignore,markread
>>>  Header {^From: \bBruce.*\bHagen}
>>>  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>> 
>> That doesn't work.  The absence of the NNTP-Posting-Host header in the
>> first pass (headers only) is what fires the filter to commit its action
>> (flag as Ignored) although that non-overview header is available in the
>> 2nd pass (download bodies).  Alas, on the 2nd pass, the Ignore flag
>> doesn't get unflagged.
> 
> Another way is to use scoring and an action on a score, e.g.:
> 
> +2 From {\bBruce.*\bHagen}
> -1 Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}
> !setcolor(maroon;white),ignore,markread Score %=+1

Again this results in scoring (negatively) everyone that posts through
sd.cox.net, not just Bruce.  This could have side effects is I am also
filtering on someone else who happens to post from sd.cox.net (whether
or not I test on the NNTP-Posting-Host header for the non-Bruce poster).
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231435
Author: VanguardLH
Date: Sat, 14 Mar 2009 02:25
64 lines
4440 bytes
VanguardLH wrote:

> Rom wrote:
> 
>> On Fri, 13 Mar 2009 13:38:04 -0500, VanguardLH wrote:
>> 
>>> Rom wrote:
>>> 
>>>> On Fri, 13 Mar 2009 10:33:24 -0500, VanguardLH wrote:
>> [...]
>>>>> My filter looks like (all on one line but split here for clarity):
>>>>> 
>>>>> !setcolor(maroon;white),ignore,markread	
>>>>>   From {\bBruce.*\bHagen} 
>>>>>   -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>>>> 
>>>> Try changing the filter so From uses Header too, and adjust From, e.g.
>>>> 
>>>> !setcolor(maroon;white),ignore,markread
>>>>  Header {^From: \bBruce.*\bHagen}
>>>>  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>>> 
>>> That doesn't work.  The absence of the NNTP-Posting-Host header in the
>>> first pass (headers only) is what fires the filter to commit its action
>>> (flag as Ignored) although that non-overview header is available in the
>>> 2nd pass (download bodies).  Alas, on the 2nd pass, the Ignore flag
>>> doesn't get unflagged.
>> 
>> Another way is to use scoring and an action on a score, e.g.:
>> 
>> +2 From {\bBruce.*\bHagen}
>> -1 Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}
>> !setcolor(maroon;white),ignore,markread Score %=+1
> 
> Again this results in scoring (negatively) everyone that posts through
> sd.cox.net, not just Bruce.  This could have side effects is I am also
> filtering on someone else who happens to post from sd.cox.net (whether
> or not I test on the NNTP-Posting-Host header for the non-Bruce poster).

Well, I decided on the following rules which will probably work better:

!setcolor(maroon;white),ignore,markread	
  From {\bBruce.*\bHagen}
  +@Header:{^NNTP-Posting-Host:.*\.ph\.cox\.net}

!setcolor(maroon;white),ignore,markread	
  From {\bperson[0-9]+\b} 
  +@Header:{^NNTP-Posting-Host:.*\.ph\.cox\.net}

The first looks for the imposter "Bruce Hagen" but posting from his
so-far typical ph.cox.net domain.  Since it uses +@ (instead of -@), the
side effects of 2 pass filtering might be circumvented.  If the
NNTP-Posting-Host header is missing (which it will be on the 1st pass),
his posts won't get flagged but they will when the body of his posts get
downloaded (which is how Dialog is configured to download bodies of new
posts).  Looking for the negative of a header's value doesn't work if
there is a mix of overview and non-overview headers in the test.

The second simply catches this imposter under some of his subsequent
nymshifts (person234 and person235, so far) and also only if the post
comes from ph.cox.net.  I haven't seen other users use "person<number>"
as a moniker in the microsoft.public.* newsgroups; however, if there are
then this should help eliminate false positives on some of them since
they may not be also posting through ph.cox.net.
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231436
Author: Rom
Date: Sat, 14 Mar 2009 03:24
62 lines
3608 bytes
On Fri, 13 Mar 2009 20:40:03 -0500, VanguardLH wrote:

> Rom wrote:
> 
>> On Fri, 13 Mar 2009 13:38:04 -0500, VanguardLH wrote:
>> 
>>> Rom wrote:
[...]
>>>> Try changing the filter so From uses Header too, and adjust From, e.g.
>>>> 
>>>> !setcolor(maroon;white),ignore,markread
>>>>  Header {^From: \bBruce.*\bHagen}
>>>>  -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}
>>> 
>>> That doesn't work.  The absence of the NNTP-Posting-Host header in the
>>> first pass (headers only) is what fires the filter to commit its action
>>> (flag as Ignored) although that non-overview header is available in the
>>> 2nd pass (download bodies).  Alas, on the 2nd pass, the Ignore flag
>>> doesn't get unflagged.

Coming back to the above, (from some brief testing) it should work if
the From is removed from the first Header, like:

!setcolor(maroon;white),ignore,markread
 Header {\bBruce.*\bHagen}
 -@Header:{^NNTP-Posting-Host:.*\.sd\.cox\.net}

>> Then try two rules, e.g:
>> !setcolor(maroon;white),ignore,markread	From {\bBruce.*\bHagen}
>> !unsetwatchignore,markunread,retrieve Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}
>> 
>> And adjust or add actions like setcolor.

Coming back to this one above too, (from some brief testing) it should
work if the From is completely removed and replaced with Header, like:

!ignore,markread,setcolor(maroon;white) Header {\bBruce.*\bHagen}
!unsetwatchignore,retrieve,markunread,setcolor(default;default) Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}


> Hmm, there's an idea.  I'll see what happens.  I'll clear a newsgroup
> where Bruce Hagen posts and see if his posts stay marked as ignored.
> But I can see 2 side effects:
> 
> - If a thread is marked watched and Bruce adds a new post in a
> subthread, his post and all replies will no longer be watched.  The
> unsetwatchignore would unwatch his subthread.  Well, that might still
> work because I'm using a view to Hide Ignored posts, not to hide
> unwatched posts.
> 
> - Anyone posting through sd.cox.net would get the ignore or watch flag
> removed.  Someone that I wanted to ignore would get un-ignored and
> someone that I wanted to watch would get un-watched, including the
> subthread for them to include replies.

I've given you some additional rules/ideas to try above and in my
other message posted about now. I've only briefly tested them myself,
which is not the same as using/knowing your filtering strategy and
groups.

-- 
Rom
Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
#231437
Author: Rom
Date: Sat, 14 Mar 2009 03:24
25 lines
2029 bytes
On Fri, 13 Mar 2009 20:41:39 -0500, VanguardLH wrote:

> Rom wrote:
[...]
>> Another way is to use scoring and an action on a score, e.g.:
>> 
>> +2 From {\bBruce.*\bHagen}
>> -1 Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}
>> !setcolor(maroon;white),ignore,markread Score %=+1
> 
> Again this results in scoring (negatively) everyone that posts through
> sd.cox.net, not just Bruce.  This could have side effects is I am also
> filtering on someone else who happens to post from sd.cox.net (whether
> or not I test on the NNTP-Posting-Host header for the non-Bruce poster).

Adjust the scores to suit you/other filters/the group(s), and also in
Default/Selected group options > Sorting/scoring there is a setting to
assign a score to auto mark articles read.

+2 From {\bBruce.*\bHagen}
+1 Header {^NNTP-Posting-Host:.*\.sd\.cox\.net}
!setcolor(maroon;white),ignore,markread Score %=+3

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