🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231434

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

#231434
From: 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).
Technical Details
Message-ID: <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!feeder.news-service.com!feeder.news-service.com!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>

Show Full Headers
Complete Article Headers
Message-ID: <gpf200$tlf$1@news.motzarella.org>
Subject: Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
Date: Fri, 13 Mar 2009 20:41:39 -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>
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!feeder.news-service.com!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: 0.35MOA sniper at loose in Usenet
Lines: 36
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX19Nc0Waw/Z+nK/SW9qPY9b+lhfXd0rmcenJaFhSvswbwWs2+8dLWkqwy1yaEMIJZOGKtzBUdUQ5hw9N0DH3WaSQd3teTrMMsXK0bzScvtYE+Pnd5shKGh+LPwVM6Fzz7OBOGFtFaR0cJQ==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Sat, 14 Mar 2009 01:41:21 +0000 (UTC)
Keywords: VanguardLH VLH811
X-Auth-Sender: U2FsdGVkX1/ZJvqSwdgQTZIQYtsahvyOZHKhGLCwH3Dw0t1AO1G8Rw==
Cancel-Lock: sha1:USF7oZwt61QufJv3331KchWrCDg=
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