Re: [Extra] I-D Action: draft-ietf-extra-sieve-snooze-00.txt
Alexey Melnikov <alexey.melnikov@isode.com> Tue, 27 October 2020 17:36 UTC
Return-Path: <alexey.melnikov@isode.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 A0D8D3A126B for <extra@ietfa.amsl.com>; Tue, 27 Oct 2020 10:36:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.346
X-Spam-Level:
X-Spam-Status: No, score=-2.346 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.247, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.com
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 f3Zaf3F1RquV for <extra@ietfa.amsl.com>; Tue, 27 Oct 2020 10:36:31 -0700 (PDT)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id EABDE3A126A for <extra@ietf.org>; Tue, 27 Oct 2020 10:36:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1603820190; d=isode.com; s=june2016; i=@isode.com; bh=8F3Gp5oQOHBaQfZn9TegTAKKru9COwkevfg1FJj5MSw=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=dgHI+EbLjgs4pLvjM3FWk0ChFTDWN4nue+x51TQajIzcSczTQtgVYRVZEIoX9RBocI4UNH a738STD55skyD4yKjUuOYokgPYQNWzOh/wwjn5T/+LFzVNCM5FMWyuO5zFP2UQfTz5Fuqm hRBizOtMfniIaaOoTozxGcmE/KLwdAc=;
Received: from [192.168.0.5] (97e7601a.skybroadband.com [151.231.96.26]) by statler.isode.com (submission channel) via TCP with ESMTPSA id <X5hanQAFH16L@statler.isode.com>; Tue, 27 Oct 2020 17:36:29 +0000
To: Ken Murchison <murch@fastmail.com>
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>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: extra@ietf.org
Message-ID: <941ea682-1264-874d-096e-6654f8707ba7@isode.com>
Date: Tue, 27 Oct 2020 17:36:29 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1
In-Reply-To: <2411a867-d381-984e-fbd9-c6d7309cbab6@fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-transfer-encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/5yrMbVGCx6X6X24mBGFELNrMNJ4>
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:36:33 -0000
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] I-D Action: draft-ietf-extra-sieve-snooze… internet-drafts
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Stephan Bosch
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Ken Murchison
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Neil Jenkins
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Arnt Gulbrandsen
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Ken Murchison
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Alexey Melnikov
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Michael Peddemors
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Ken Murchison
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Ken Murchison
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Alexey Melnikov
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Ned Freed
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Neil Jenkins
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Neil Jenkins
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Ned Freed
- Re: [Extra] I-D Action: draft-ietf-extra-sieve-sn… Ken Murchison