🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231435

Re: [Dialog] Option to retrieve bodies of new posts does not work reliably

#231435
From: 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.
Technical Details
Message-ID: <gpf4j2$hum$1@news.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
References: <gpdub0$p8e$1@news.motzarella.org> <iiv9a6o6vk9q.1fdfyo1g9liu1.dlg@40tude.net> <gpe94s$420$1@news.motzarella.org> <1pwfee9xuuzno.1dilzbnrtkdfm.dlg@40tude.net> <gpf200$tlf$1@news.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <gpf4j2$hum$1@news.motzarella.org>
Subject: Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
Date: Fri, 13 Mar 2009 21:25:58 -0500
From: VanguardLH <V@nguard.LH>
References: <gpdub0$p8e$1@news.motzarella.org> <iiv9a6o6vk9q.1fdfyo1g9liu1.dlg@40tude.net> <gpe94s$420$1@news.motzarella.org> <1pwfee9xuuzno.1dilzbnrtkdfm.dlg@40tude.net> <gpf200$tlf$1@news.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: 0.35MOA sniper at loose in Usenet
Lines: 64
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX19nG5e6KhQI9NvKSaAVZ5kLqQvBvRHHMPg/UqQfihRaDGbLkv+S1Q9B+nftjDqGn2oPCyy8cAvS/3Mz7dhaXIhdTiG+RoCgNv0dRm9TCkjwKxVut5Ce/sfYt3THke+J4sk58nqy1UcQBw==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Sat, 14 Mar 2009 02:25:38 +0000 (UTC)
Keywords: VanguardLH VLH811
X-Auth-Sender: U2FsdGVkX19kE8KuXM3wMA4sUCTo/+nlvSpyTN05GI4JYtlyp21oJw==
Cancel-Lock: sha1:LT9ktZUJkCZ+FsyK6Jbfo5HrHaw=
User-Agent: 40tude_Dialog/2.0.15.41
X-MOTD: It is wiser to remain silent and let others ponder your ignorance than
 to speak and remove all doubt