🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #231429

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

#231429
From: 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
Technical Details
Message-ID: <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!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <gpdub0$p8e$1@news.motzarella.org> <iiv9a6o6vk9q.1fdfyo1g9liu1.dlg@40tude.net> <gpe94s$420$1@news.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <1pwfee9xuuzno.1dilzbnrtkdfm.dlg@40tude.net>
Subject: Re: [Dialog] Option to retrieve bodies of new posts does not work reliably
Date: Sat, 14 Mar 2009 09:16:32 +1100
From: Rom <-@-.invalid>
References: <gpdub0$p8e$1@news.motzarella.org> <iiv9a6o6vk9q.1fdfyo1g9liu1.dlg@40tude.net> <gpe94s$420$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!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net otnJt74QpkjbZZAbWqCXNQs7Gpi1qbm7ylqpLLV95K9wW9QESA
Cancel-Lock: sha1:lQggBeai0u4XkmycYDIiA54qAak=
User-Agent: 40tude_Dialog/2.0.15.41
Archive: no
X-No-Archive: yes
X-Original-Bytes: 1932