Re: [Jmap] I-D Action: draft-ietf-jmap-sieve-02.txt

Ned Freed <ned.freed@mrochek.com> Thu, 19 November 2020 15:02 UTC

Return-Path: <ned.freed@mrochek.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 C56243A098E for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 07:02:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, 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=mrochek.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 B53rrAgnVUjB for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 07:02:55 -0800 (PST)
Received: from plum.mrochek.com (plum.mrochek.com [172.95.64.195]) (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 B09213A09AD for <jmap@ietf.org>; Thu, 19 Nov 2020 07:02:54 -0800 (PST)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RS6QHHOF4W009FEM@mauve.mrochek.com> for jmap@ietf.org; Thu, 19 Nov 2020 06:59:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1605797961; bh=hRoNXue2mKjyL4JAsJnb8u9hGAlkmNcK9QEMlo6h8cQ=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=cYbweBonTdixuueNHmWyjYWCCC1IWdD9eWZ44v8XIalR66Z84DvfZSBLDrjlw3Rir vd32NwUBv8QrOjBzdVSyC18DzgB7PfIyvin2q8KNlI1Icdh8yXbv3Zs/shZEWUy+l7 Y0YQJINEC0LCCQIRpDhO6A5eOcTAetP4sQ8/wFH4=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="US-ASCII"; Format="flowed"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RS6Q9IGBAO0085YQ@mauve.mrochek.com>; Thu, 19 Nov 2020 06:59:19 -0800 (PST)
Cc: jmap@ietf.org
Message-id: <01RS6QHGH2I80085YQ@mauve.mrochek.com>
Date: Thu, 19 Nov 2020 06:58:29 -0800
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Thu, 19 Nov 2020 09:15:55 -0500" <bb04b849-024e-f07e-ea2d-e63e124cd8ab@fastmail.com>
References: <160431690732.22434.10293492942158194310@ietfa.amsl.com> <36838c43-aefb-c7f9-d973-2e6f8df5e78f@open-xchange.com> <bb04b849-024e-f07e-ea2d-e63e124cd8ab@fastmail.com>
To: Ken Murchison <murch@fastmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/11elQh-8JpZJ6sbGwgl_Sy8z8I0>
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 15:02:56 -0000

> Hi Stephan,


> On 11/19/20 8:01 AM, Stephan Bosch wrote:
> >
> > 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.


> The reason that we chose to provide the content as an argument to /set,
> /validate, and /test (unless using scriptId) is to avoid the extra
> roundtrip of having to first upload the script in a separate request.

Is sieve updating something clients do often enough that it warrants 
roundtrip optimization?

				Ned