🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #145773

Re: [Dialog] Archive messages periodically

#145773
From: Julia Thorne
Date: Mon, 05 Apr 2004 01:18
60 lines
3805 bytes
On Sun, 4 Apr 2004 17:26:21 +0200, daRkSidE wrote:
> *Julia Thorne*, 04.04.04 14:10, news.software.readers:

>>> Excellent, it worked first time, <snip>
>>> !move(Dialog) Subject "dialog" +@Age:%>7
>> None of those worked for me, for moving old emails.
>> This action works perfectly for me:
>> [email.auctions]
>> !move(oldauctions) age: %>15
> 
> It doesn't do what it was asked.

My fault, I didn't make clear:

The OP indicated that his original requirement was met by:
!move(Dialog) Subject "dialog" +@Age:%>7

Good- problem solved, and thanks to the people who contributed info!
But my post was about the fact that the same expression does not
work for email folders, with either one or with two filter terms.
I don't know why, and I thought perhaps someone could shed light
on it- is it a unintended feature, or is it documented behavior?

> It moves all message older than 15 days, not only the ones containing
> "Dialog" in the Subject.

Right.  That was my intention.  No emails contain "Dialog" or other
specific word to filter on.  All that I needed was to make old emails
go to a safe place & stop cluttering the active inbox.

>> There must be a space after "age:", but no space in "%>nn".
> 
> Your rule is different from mine; space is not required because 
> it is a single rule.

I'm not sure I understand correctly: space is required if the
age expression is the only term, but not when it is one of two
terms concatenated with the "+@" ?

>> Today's programming lesson:  If an expression doesn't work,
>> just keep removing characters until it DOES work. ;-)
> 
> It wasn't done randomly. 

I know.  It's just an old programmer's maxim, "tongue-in-cheek",
based on the belief that the simplest of two expressions is more
likely to work than the more complex expression. :-)

> Dialog scoring code is from Hamster and Hamster worked in this way,
> in previous versions; in the last one, space might not be necessary, 
> but I'm not sure.
> Hamster old help gives this example:
> 
>||  Load() Any-Sender: "boss@compa.ny" -@Subject:"cancellation!"
> 
> However, I've tried and in Dialog (like recent Hamster versions,
> I confirm also this) space can be used also in rules related to
> more than one field.

Thank you for the information!  This clarifies the point, I think.
Technical Details
Message-ID: <1u2cc.12433952$Of.2076202@news.easynews.com>
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!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
References: <406e9cfc$0$6555$cc9e4d1f@news-text.dial.pipex.com> <1r8r8sr1h62n8$.dlg@ID-187316.user.uni-berlin.de> <406ea77a$0$3309$cc9e4d1f@news-text.dial.pipex.com> <1nnobzkgxqvp4$.dlg@ID-187316.user.uni-berlin.de> <r9l0yo7w2lby.dlg@darkside.df> <406f1a80$0$6542$cc9e4d1f@news-text.dial.pipex.com> <lXSbc.12393987$Of.2069932@news.easynews.com> <uob90mlkbwoo$.dlg@darkside.df>

Show Full Headers
Complete Article Headers
Message-ID: <1u2cc.12433952$Of.2076202@news.easynews.com>
Subject: Re: [Dialog] Archive messages periodically
Date: Mon, 05 Apr 2004 01:18:53 GMT
From: Julia Thorne <rimbaldi@nospam.tld>
References: <406e9cfc$0$6555$cc9e4d1f@news-text.dial.pipex.com> <1r8r8sr1h62n8$.dlg@ID-187316.user.uni-berlin.de> <406ea77a$0$3309$cc9e4d1f@news-text.dial.pipex.com> <1nnobzkgxqvp4$.dlg@ID-187316.user.uni-berlin.de> <r9l0yo7w2lby.dlg@darkside.df> <406f1a80$0$6542$cc9e4d1f@news-text.dial.pipex.com> <lXSbc.12393987$Of.2069932@news.easynews.com> <uob90mlkbwoo$.dlg@darkside.df>
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!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!216.218.192.242!news.he.net!newsfeed1.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 60
X-Complaints-To: abuse@easynews.com
Organization: EasyNews, UseNet made Easy!
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.