Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.txt
Stephan Bosch <stephan.bosch@open-xchange.com> Thu, 19 November 2020 13:01 UTC
Return-Path: <stephan.bosch@open-xchange.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AC4D3A102D for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 05:01:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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.001, 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 (2048-bit key) header.d=open-xchange.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 Ocz-HuUfpVGi for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 05:01:47 -0800 (PST)
Received: from mx3.open-xchange.com (alcatraz.open-xchange.com [87.191.39.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 641553A0EED for <jmap@ietf.org>; Thu, 19 Nov 2020 05:01:40 -0800 (PST)
Received: from open-xchange.com (imap.open-xchange.com [10.20.30.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx3.open-xchange.com (Postfix) with ESMTPS id D199F6A2CF for <jmap@ietf.org>; Thu, 19 Nov 2020 14:01:36 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=open-xchange.com; s=201705; t=1605790896; bh=lIi0HFNKWiFMwbM4ELsofWfyGI4hEqEdONHVu0aYIUY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=eps9/1ZMw6kSVYNDg/axjBLvSTlRVyB2ptfIXLkKxtLbSuhqkVJfX7bdVqcHxrl0g iTjJoszjHAjDGNR57n37r5htbUgMAXHGbRQ5bDQcm6AX3JuHwdVuokmX5MzMEfocdM JeG+zjDueYEX5+WRfH6um85Lo7kqvSTdlShKSwlR8WkpEmNv9QUQa/O8NyMXP/NvM2 bq1dPhQF6iVKBAAaX91rp68Y1oblsB3g2l5Lpo+kQNJslS3F0iuEvq2EGiWCaiH4uB 8tRsD6Oc/ek2X+0YMg+3RKJhaAMhA2Zi048a7uzvn9LKYRhB/oh2600hoxvpChzQCJ kniCu/vSFEeuQ==
Received: from [10.168.3.2] (unknown [10.217.131.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by open-xchange.com (Postfix) with ESMTPSA id A05603C0369 for <jmap@ietf.org>; Thu, 19 Nov 2020 14:01:36 +0100 (CET)
To: jmap@ietf.org
References: <160431690732.22434.10293492942158194310@ietfa.amsl.com>
From: Stephan Bosch <stephan.bosch@open-xchange.com>
Message-ID: <36838c43-aefb-c7f9-d973-2e6f8df5e78f@open-xchange.com>
Date: Thu, 19 Nov 2020 14:01:34 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3
MIME-Version: 1.0
In-Reply-To: <160431690732.22434.10293492942158194310@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/0cg03cf3XLjPBDr_64lS4MIDRKc>
Subject: Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.txt
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Nov 2020 13:01:56 -0000
On 02/11/2020 12:35, 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 JSON Mail Access Protocol WG of the IETF. > > Title : JMAP for Sieve Scripts > Author : Kenneth Murchison > Filename : draft-ietf-jmap-sieve-02.txt > Pages : 25 > Date : 2020-11-02 > > Abstract: > This document specifies a data model for managing Sieve scripts on a > server using JMAP. > > Open Issues > > o Should we introduce an "isIncluded" or "isInUse" filter/sort > condition for the /query method to locate scripts which are > included by others? > > o Do we need any (rate) limits for /test? > > o Should ":fcc" and associated arguments (e.g., ":flags", > ":create":, etc) reported in the /test response be in their own > "fcc" sub-object rather than listed inline with the rest of the > arguments for the action? > > > The IETF datatracker status page for this draft is: > https://datatracker.ietf.org/doc/draft-ietf-jmap-sieve/ > > There are also htmlized versions available at: > https://tools.ietf.org/html/draft-ietf-jmap-sieve-02 > https://datatracker.ietf.org/doc/html/draft-ietf-jmap-sieve-02 > > A diff from the previous version is available at: > https://www.ietf.org/rfcdiff?url2=draft-ietf-jmap-sieve-02 > First, I think this now misses a nice way to upload/download raw Sieve scripts (i.e. without JSON string escaping). As said earlier in this mailing list, using the blob upload/download facility would be better and it is more consistent with jmap:mail in my opinion. Second, I remember RFC 5784 (https://tools.ietf.org/html/rfc5784) That is an effort to map the Sieve language grammar to XML. We could (optionally of course) do the same in this extension using JSON rather than XML and make it easier for clients to evaluate, display, and manipulate Sieve scripts without the need to write a Sieve parser/generator. This could be a "content:as(json)" field, or something like that. Or is that just too complex? Regards, Stephan.
- [Jmap] I-D Action: draft-ietf-jmap-sieve-02.txt internet-drafts
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Stephan Bosch
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ned Freed
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ken Murchison
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ken Murchison
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ned Freed
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ned Freed
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ken Murchison
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ken Murchison
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Stephan Bosch
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ned Freed
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ken Murchison
- Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.t… Ned Freed