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

Ken Murchison <murch@fastmail.com> Thu, 19 November 2020 15:07 UTC

Return-Path: <murch@fastmail.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 8D07E3A0AB7 for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 07:07:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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=fastmail.com header.b=oSdQHHVw; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=RYixq5Am
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 nQblQAvWYGrA for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 07:07:45 -0800 (PST)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D8943A0A4A for <jmap@ietf.org>; Thu, 19 Nov 2020 07:07:45 -0800 (PST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id AB4ABC36; Thu, 19 Nov 2020 10:07:44 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 19 Nov 2020 10:07:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=3 xPYtxqMCuNPf2OzhBimardeI42VtQgbDWAANwMPlp8=; b=oSdQHHVw/QDpJvADR Rjd7dsbRmxa9zMJRErR2hs+bbKydW4JRIOWySyrlFTFJNbmYUWyDE4d+Hgn1o5Eu +C9klOPkwUa/A1iKz9PmOd9OxM2Vxx81APcMo6fpDE7PEIpbe0LnEkb+7gd0r8eK hmehgf4h50arvF/FDkGxr7tJwdBHcU60BQ/a7XBcucLwS+n5TML48638LDOxuCxz gIqCEXvLD+D4q5rE+aefWNNiT8jae1+3OwaTPt0qFe4o5qBIrT9P/FYSVAojn1Ge ZLDyrjjxW7il3Fst3DAxvoUV4mk4wVcGKRIUBo0bhfQAXor+1YD4nkLO4vsd30y0 HnX9g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=3xPYtxqMCuNPf2OzhBimardeI42VtQgbDWAANwMPl p8=; b=RYixq5AmMxDoAJmdqiVlT/mBTZe2ynOMLmsfe5PWo5dbBSlmT5AfoMAfY 6qAZdw7YHekORfd0YfivGi8e1xifQJUAk7VCuI7DDupVg83vvfUP2ldLUnCCF1vS AlEDthZ6fzTJHZNTPgzXJqnc/uQaMNtNUTRXwuoz5Z/uv5U2Ki9yjDteL0hJY0eW hsNkm3xo5CaiwcXcMncOw2u9fN6fbVvW8z4polUv2IuI6WZ35g8PEle9jvSc5FvX SHREE8yZttdJDnFa7cwAGrXcmfTWqUlGYTam2Xi8hieHqo/tk5HwmDkzuu/WOCMh QUNjQHn/l/APWVpIga54C8XAZRi2Q==
X-ME-Sender: <xms:P4q2XyLhgZPGqE-IDF4VeT4KWqq5QB62hQcVAUUYeZnE9C3J-P3Ikg> <xme:P4q2X6KD3823z3WnsDtjaef4p7QRI29tM_NF3NJnya4TdWv_dYYaAFa5362nQ0zUZ 1SSM1dLhXEgCA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefjedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepmfgvnhcu ofhurhgthhhishhonhcuoehmuhhrtghhsehfrghsthhmrghilhdrtghomheqnecuggftrf grthhtvghrnheptdeitedvtdduffetlefhvdffhfdvjeehudelveffhfdvjeegleejuedt hfefffegnecukfhppeejgedrjeejrdekhedrvdehtdenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmuhhrtghhsehfrghsthhmrghilhdrtgho mh
X-ME-Proxy: <xmx:QIq2XyvwJkVA8DGplugobGMCFawgfaqTfqshlb6pPdmOu5k7rl4S0g> <xmx:QIq2X3ZQ4mMfXWQqIzH832CObczUCWiytrqG2OnizlJVxqdS93S8NQ> <xmx:QIq2X5YKspiYwmuMckIbT7rp6pJJTw-5jefDmRQwPfnK0Ki_jyGpSQ> <xmx:QIq2X73Iv3BiFRZE-TzrKnwxAUC_mV-qTdqmjbdZ6CAv6kqb65htzw>
Received: from [192.168.1.22] (cpe-74-77-85-250.buffalo.res.rr.com [74.77.85.250]) by mail.messagingengine.com (Postfix) with ESMTPA id C743A3280063; Thu, 19 Nov 2020 10:07:43 -0500 (EST)
To: Ned Freed <ned.freed@mrochek.com>
Cc: jmap@ietf.org
References: <160431690732.22434.10293492942158194310@ietfa.amsl.com> <36838c43-aefb-c7f9-d973-2e6f8df5e78f@open-xchange.com> <bb04b849-024e-f07e-ea2d-e63e124cd8ab@fastmail.com> <01RS6QHGH2I80085YQ@mauve.mrochek.com>
From: Ken Murchison <murch@fastmail.com>
Message-ID: <cd648616-846c-477d-fcff-cca760e73107@fastmail.com>
Date: Thu, 19 Nov 2020 10:07:43 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0
MIME-Version: 1.0
In-Reply-To: <01RS6QHGH2I80085YQ@mauve.mrochek.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/9jtvjEgGkD6NLFfA0s_q-E-Z1cs>
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:07:47 -0000

On 11/19/20 9:58 AM, Ned Freed wrote:
>> 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?


Perhaps not, but Blob/set provides a way around it anyways.

-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC