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

Ken Murchison <murch@fastmail.com> Thu, 19 November 2020 14:26 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 313BA3A005C for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 06:26:42 -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=csAKojrF; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=VoOE8s/8
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 liFvd0KlNk-t for <jmap@ietfa.amsl.com>; Thu, 19 Nov 2020 06:26:40 -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 725CD3A003E for <jmap@ietf.org>; Thu, 19 Nov 2020 06:26:40 -0800 (PST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3B431A18 for <jmap@ietf.org>; Thu, 19 Nov 2020 09:26:39 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 19 Nov 2020 09:26:39 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=v UU2WSniGSjucoLzks2JHhXNN0YpqjgDNDCnaFvoVOI=; b=csAKojrFqCO6hn5XQ jdtLxrt+1rZUpvk87YSlGf3myEWYG2ovyucfKTLi3mpyJ+shUQAgUsQjOXLj+3q2 PN7URTh+doV9JAew3oYjPd4YsN3crTY8AtlrhEkHfbogOiMBV8gNPWTlf3ulvGaG nzI13qJlfpXRZC8P5o07JpwvXKn407f9NjV525KUF9/lUbOkzLIeCaOithloMsmh N6lgH0rVHKQBEJizKh6BWMtIQS7L/Q25Z2xJjzfSe2eodg9zKwCf8ruG60JSqcsY hAhhh9XSu1GWWK25eRtDzGBeiJLfgpbLmqKXkNMQH6Q+hwgV59B1r1RGcAE7xK+k euvfw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=vUU2WSniGSjucoLzks2JHhXNN0YpqjgDNDCnaFvoV OI=; b=VoOE8s/8KFX920VB4oyuEHcwX6jlGYzqPZlHK56SMM07mYuPOrJz+3n8v 55g0blFUWJGg+4lewxq+ukKgSWsaH5U6OnKCM2ojgHRKXfdZZ4/Rc0AIrDsEF7gU nm5uVQL3t6bRoHxtYsyFk6fMcArh3jCa2lfhPi5sjUONUhD1X6IIQiFy4BlEW2Xu ySOZKBnPROix1p012CMfH9mz3ucTJFLjFt9U2Ii3f+v/msylYjbNPWHLmtedemJa YFrpAu0JI3jFmDQqV1STNVSLi1AG2jnnUKumc9wM6s3bBw2IYr8xZ96HKK82SMgo 52pRRIOtO3yNen2V79W8zBMa5inUA==
X-ME-Sender: <xms:nYC2X7Q4OUmgwLyM0EeHXmsi9fJXbb-HHGXr5cz4hhIGRvqb4EBvyg> <xme:nYC2X8z4NDyguORz-nq8ZQw-q4WpPG-dBriTN0SrcMReIJyloBQHb5qLYwceqbjUQ PG9ksRIfmD_eA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefjedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpefmvghnucfouhhrtghhihhsohhnuceomhhurhgthhesfhgr shhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeehhffgteelueevuedthfefue dvueekgfekjeeuuefhtdelheetfffgvdetueeujeenucfkphepjeegrdejjedrkeehrddv hedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh hurhgthhesfhgrshhtmhgrihhlrdgtohhm
X-ME-Proxy: <xmx:nYC2Xw2PhXW2Z81gMyUB0J2bzqztpWortTtMRGW2ooHKJpordUlApg> <xmx:nYC2X7ACQ3N-Vbcy1PnBg8smKo9Lt6501635cjCeSrPoqg26YZQqFQ> <xmx:nYC2X0gJdp4TSP1tLxD2KJ_trBpgiGnPaU7XUM6VsfLW6UpFyag1Yw> <xmx:noC2X_uF7ISQVA5tst4XV8LsDubBprjT44diZLda-ra0yu8tgiO7vw>
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 A82B3328006A for <jmap@ietf.org>; Thu, 19 Nov 2020 09:26:37 -0500 (EST)
To: jmap@ietf.org
References: <160431690732.22434.10293492942158194310@ietfa.amsl.com> <36838c43-aefb-c7f9-d973-2e6f8df5e78f@open-xchange.com> <01RS6NIC0KZC005PTU@mauve.mrochek.com>
From: Ken Murchison <murch@fastmail.com>
Message-ID: <a044b1cb-97e0-a9da-4d6b-084f817d0c20@fastmail.com>
Date: Thu, 19 Nov 2020 09:26:37 -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: <01RS6NIC0KZC005PTU@mauve.mrochek.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/WgZI9QNwcBRijyZ3PYtU3ihXW18>
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 14:26:42 -0000

Hi Ned,

On 11/19/20 8:17 AM, Ned Freed wrote:
> I think there's a more fundamental question we need to ask here: Is the
> managesieve model the right one for handling sieves in JMAP?
>
> By "managesieve model" I'm referring to the underlying data model where
> there are multiple named sieves and one active sieve.
>
> My specific concern is interoperability between clients that fully 
> support this
> model and clients that don't. A client that doesn't want to offer the 
> ability
> to have multiple sieves is likely going to just present the active 
> script and
> let you mess with it. Things can get interesting if another client 
> that does
> support multiple scripts comes along and switches to another script.
>
> Of course there are ways of handling this, some requiring protocol/server
> changes and others requiring extra vigilance on the part of clients. 
> But before
> we start exploring those - and given the ratio of single script to 
> multiscript
> clients I've seen I don't really think we have a choice - I think we 
> need to
> ask if multiscript facilities are something we want.


Don't we have the same single-script/multi-script client issue with 
managesieve?

Or perhaps I'm not fully understanding your concern.


A separate question that comes to mind, is do we want JMAP Sieve servers 
to be able to only support a single script?  I guess in this case, the 
server could simply have a single script with id "singleton" which can 
only be updated and (de)activated.  Any attempt to create another script 
or destroy the existing one would fail with a "singleton" error.

-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC