Re: [Extra] I-D Action: draft-ietf-extra-sieve-snooze-00.txt

Michael Peddemors <michael@linuxmagic.com> Tue, 27 October 2020 17:45 UTC

Return-Path: <michael@linuxmagic.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E8B63A0D87 for <extra@ietfa.amsl.com>; Tue, 27 Oct 2020 10:45:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.146
X-Spam-Level:
X-Spam-Status: No, score=-2.146 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.247, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nDbyAcKFXKRQ for <extra@ietfa.amsl.com>; Tue, 27 Oct 2020 10:45:49 -0700 (PDT)
Received: from mail-ob3.cityemail.com (mail-ob3.cityemail.com [104.128.152.20]) by ietfa.amsl.com (Postfix) with ESMTP id D355C3A0D64 for <extra@ietf.org>; Tue, 27 Oct 2020 10:45:47 -0700 (PDT)
Received: (qmail 4598 invoked from network); 27 Oct 2020 17:45:47 -0000
Received: from riddle.wizard.ca (HELO [192.168.1.55]) (michael@wizard.ca@104.128.144.8) by fe3.cityemail.com with (DHE-RSA-AES128-SHA encrypted) SMTP (3ebed2ae-187c-11eb-bdf6-b38ff9f407b3); Tue, 27 Oct 2020 10:45:47 -0700
To: extra@ietf.org
References: <159705787314.11834.3190103463887221194@ietfa.amsl.com> <e247472a-0001-22c2-c6be-f09a9c5beaa4@open-xchange.com> <9772b986-260e-77da-1dea-4a1ae8010857@fastmail.com> <2411a867-d381-984e-fbd9-c6d7309cbab6@fastmail.com> <941ea682-1264-874d-096e-6654f8707ba7@isode.com>
From: Michael Peddemors <michael@linuxmagic.com>
Organization: LinuxMagic Inc.
Message-ID: <21368546-3a7f-548b-3fc7-9a0a76419a96@linuxmagic.com>
Date: Tue, 27 Oct 2020 10:45:47 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <941ea682-1264-874d-096e-6654f8707ba7@isode.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-MagicMail-OS: Linux 3.11 and newer
X-MagicMail-UUID: 3ebed2ae-187c-11eb-bdf6-b38ff9f407b3
X-MagicMail-Authenticated: michael@wizard.ca
X-MagicMail-SourceIP: 104.128.144.8
X-MagicMail-RegexMatch: 0
X-MagicMail-EnvelopeFrom: <michael@linuxmagic.com>
X-Archive: Yes
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/8fs9wuHMBjTxW1mfpF7j1zlDGFs>
Subject: Re: [Extra] I-D Action: draft-ietf-extra-sieve-snooze-00.txt
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Oct 2020 17:45:52 -0000

If you don't mind a stupid question on this..

The idea of a 'snooze' feature is something lot's of people are working 
on, and maybe it should be a higher level than in 'sieve'?

Maybe it would be helpful to set solicit feedback on other industry 
implementations of this feature.. possibly this should be in IMAP itself?



On 2020-10-27 10:36 a.m., Alexey Melnikov wrote:
> Hi Ken,
> 
> On 27/10/2020 14:00, Ken Murchison wrote:
>>
>> On 10/22/20 12:16 PM, Ken Murchison wrote:
>>>
>>> On 10/22/20 10:20 AM, Stephan Bosch wrote:
>>>>
>>>>
>>>> On 10/08/2020 13:11, internet-drafts@ietf.org wrote:
>>>>>
>>>>> A New Internet-Draft is available from the on-line Internet-Drafts 
>>>>> directories.
>>>>> This draft is a work item of the Email mailstore and eXtensions To 
>>>>> Revise or Amend WG of the IETF.
>>>>>
>>>>>          Title           : Sieve Email Filtering: Snooze Extension
>>>>>          Authors         : Kenneth Murchison
>>>>>                            Ricardo Signes
>>>>>                            Neil Jenkins
>>>>>     Filename        : draft-ietf-extra-sieve-snooze-00.txt
>>>>>     Pages           : 12
>>>>>     Date            : 2020-08-07
>>>>>
>>>>> Abstract:
>>>>>     This document describes the "snooze" extension to the Sieve email
>>>>>     filtering language.  The "snooze" extension gives Sieve the 
>>>>> ability
>>>>>     to postpone the filing of an incoming into a target mailbox 
>>>>> until a
>>>>>     later point in time.
>>>>>
>>>>>
>>>>> The IETF datatracker status page for this draft is:
>>>>> https://datatracker.ietf.org/doc/draft-ietf-extra-sieve-snooze/
>>>>>
>>>>> There are also htmlized versions available at:
>>>>> https://tools.ietf.org/html/draft-ietf-extra-sieve-snooze-00
>>>>> https://datatracker.ietf.org/doc/html/draft-ietf-extra-sieve-snooze-00
>>>>>
>>>>>
>>>>> Please note that it may take a couple of minutes from the time of 
>>>>> submission
>>>>> until the htmlized version and diff are available at tools.ietf.org.
>>>>>
>>>>> Internet-Drafts are also available by anonymous FTP at:
>>>>> ftp://ftp.ietf.org/internet-drafts/
>>>>
>>>> I have one question about this:
>>>>
>>>> Why does this add a new command? Why can't it just extend both keep 
>>>> and fileinto with new arguments?
>>>
>>>
>>> Hi Stephan,
>>>
>>> I suppose we could extend these commands as we are really just 
>>> delaying the keep/fileinto until a future (awaken) time.
>>>
>>> So, it could look something like:
>>>
>>> fileinto [:snooze <times: string-list> [:tzid <string>] [:weekdays 
>>> <stringlist>]] <mailbox: string>
>>>
>>> If we don't like having multiple tagged arguments, we could use a 
>>> single string with some kind of ISO or iCalendar recurrence rule, but 
>>> that might be more restrictive (I haven't actually sat down and 
>>> worked out various examples).
>>>
>>> The only issue would be whether we want/need flags to be set at 
>>> snooze time and then set/unset again at awaken time, which the 
>>> current spec allows.
>>>
>>> How do others feel about extending keep/fileinto vs. a new command?
>  From the point of view of making sure that extensions work with each 
> other, not multiplying number of commands is a good thing. But I can 
> also see attraction for [manual] script writers for shorter/different 
> commands.
>> As I think about this more, and look at how :fcc became kind of a mess 
>> with a bunch of add-on tagged args, I wonder if using a single 
>> structured string for a :snooze option to keep/fileinto might be 
>> better.  E.g.:
>>
>> keep :snooze text:
>> {
>>   "until": [ "08:00:00", "12:00:00" ],
>>   "days": [ "1", "3", "5" ],
>>   "tzid": "America/New_York",
>>   "addflags": [ "\\\\Flagged" ],
>>   "removeflags": [ "\\\\Seen" ]
>> }
>> .
>> ;
>>
> This would mean that you have 2 levels of parsing: first you use a 
> generic Sieve parser to parse a Sieve script and then you would have to 
> selectively parse certain recognized parameters using a different 
> parser. I think this would unnecessarily increase complexity for both 
> implementors and script writers, because there are now special cases of 
> syntax.
> 
> Best Regards,
> 
> Alexey
> 
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra



-- 
"Catch the Magic of Linux..."
------------------------------------------------------------------------
Michael Peddemors, President/CEO LinuxMagic Inc.
Visit us at http://www.linuxmagic.com @linuxmagic
A Wizard IT Company - For More Info http://www.wizard.ca
"LinuxMagic" a Registered TradeMark of Wizard Tower TechnoServices Ltd.
------------------------------------------------------------------------
604-682-0300 Beautiful British Columbia, Canada

This email and any electronic data contained are confidential and intended
solely for the use of the individual or entity to which they are addressed.
Please note that any views or opinions presented in this email are solely
those of the author and are not intended to represent those of the company.