🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259589

Re: 40tude Dialog: Anyway to keep it from deleting local copies of articles?

#259589
From: Bernd Rose
Date: Tue, 29 Sep 2015 19:21
34 lines
2739 bytes
On Mon, 28 Sep 2015 23:01:06 -0500, VanguardLH wrote:

> Query #1: Don't bold the folder or articles copied into the Repository.
[...]
> !copy(Repository),markread bytes %>0

!markread,copy(Repository),markunread bytes %>0

> Query #2: Do !copy only on auto run of filters, not on manual run.

If I understand your query correctly, then what you fear will not 
happen: It is possible, that messages appear several times in a
folder after !copy operations. But /only/, if these !copy operations
are executed in the same Scoring&Actions run. (I.e. you set S&A up 
to copy all messages with your From address *and* all messages, that
are larger than 0 Byte.) Once an article is safely stored inside a
folder, it will not be duplicated by later runs (manual or automatic).

You need to note, though, that without explicit !retrieve command,
your folder Repository will only collect the bodies, that are also
retrieved inside the main newsgroup folders.
 
> Query #3: Omit a folder (Repository) in script.
<Script example snipped>
Without testing: Instead of your approach of an OnMessage script, I'd 
pack all the code inside an OnGroupEntered(Groupname: string) script.
This one has the group name as a parameter, which later on can be
evaluated by "If".
 
> Query #4:  Max size of newsgroup folders?
The Counter is DWORD, so somewhat over 4 Billion. Dialog becomes unusable 
quite a bit earlier, though...  ;-)

Bernd
Technical Details
Message-ID: <1cob0aematw94$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <d6optbFjbkcU1@mid.individual.net> <d6ugo3F1q7fU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <1cob0aematw94$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: 40tude Dialog: Anyway to keep it from deleting local copies of articles?
Date: Tue, 29 Sep 2015 21:21:11 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <d6optbFjbkcU1@mid.individual.net> <d6ugo3F1q7fU1@mid.individual.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.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 34
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net xvmn/GfGyl0558yrYJ6DNwGLTClFLHVFex4R3tpcUtnYGO7iG1PL++8ApsB3hJp4CDDAIaXphvHyqq7NLAbpFw==
NNTP-Posting-Date: Tue, 29 Sep 2015 19:21:11 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="KjAKWdL1ymkx46LsM5tjwtZY5jZ7+d9IdchEYjrcDse04hQj/GerzWm8pLpbAN2POBbjcauX9D089ETEZ/xI1SvARJmQVrZIa73ZGv1cpiTipeyzHfGOnFUJSBSezdxp"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (b28fbbc3.30.321)
Cancel-Lock: sha1:5VFUKWuTUAbpPDzOAhHoBW7wBXg=
X-Received-Bytes: 2581
X-Received-Body-CRC: 568611153