Re: [Extra] AD review of draft-ietf-extra-sieve-mailboxid-03

Ken Murchison <murch@fastmail.com> Fri, 04 September 2020 19:08 UTC

Return-Path: <murch@fastmail.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 E88173A0DE6 for <extra@ietfa.amsl.com>; Fri, 4 Sep 2020 12:08:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.045
X-Spam-Level:
X-Spam-Status: No, score=-3.045 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.948, 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=UKilksBx; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=dvz9LBE4
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 qfdxhO3SIYLI for <extra@ietfa.amsl.com>; Fri, 4 Sep 2020 12:08:52 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A3C2B3A0DDB for <extra@ietf.org>; Fri, 4 Sep 2020 12:08:52 -0700 (PDT)
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D37DE5C00C2 for <extra@ietf.org>; Fri, 4 Sep 2020 15:08:51 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 04 Sep 2020 15:08:51 -0400
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=fm3; bh=O 92qLMlq7gOONVDqjYpG0vsssPJxmpqlM9Thk7dK0NI=; b=UKilksBxzzY+zeKV2 rYdb8Egv/vcJVxX43VXNNfQctbBrQfJOW24qRdK9bNxDgXdUY+HGwyJIZbbejU4f g5HMDQw3K0GoDKizj0FlvpBgZxHz/k43XJyQoWjW2V7QOmfQ0n+Isx2NhK6SwBew b+LkpPpYScuV8Ulg0vKt/lQHLZf3TX38I0L9Lmrp8GImabVszMP8r863Rs8HCOl/ gV/vYl6/V4B3IkYAj0IlMj2jPKTYAf8cgFjiKHahnvnE+Vveo+sbYK3pe3suw7JZ gCg1tgXXezpsgY6wurLdzPczVVV4bYVD1GKjWIoS5TsFrjy4tySP0OxELxYNONqE lQ85w==
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=fm3; bh=O92qLMlq7gOONVDqjYpG0vsssPJxmpqlM9Thk7dK0 NI=; b=dvz9LBE4R1tDjiAk3JpXuykQowq7Mme5UzKHh6jaeMw0JbWxqchBXOyHw NWurt4fxtr3VO/teR/GrHEyfgnn9D/cl8c5bh6D8wsuSqQLy0ZzI/GcCavzzBk9j Dr1gp6243e6QvAwGmOKLiuaVo05BKOOjUBS7u9PGG9/q4ftWaE0hvpoJOaXfzskr RM47U+JaFN2DZjD4MG1Rn7wIstGSak/Ew2Mkdv4gl3Brvo2RjwDymqEVgtRtpWjJ UwtFgiuEpBunNiAGRHN+76dxAL2tNne2zcjjpyO63ZD9/uGijn8dNHm36HSY7FDH JAGMnjxw6zxU5MDkp+nrFwVx0J/XQ==
X-ME-Sender: <xms:w5BSX90N2cjUluLHxJVwup-DVWH2ugcHz51wb6T-q7g_tgAbLh7WoA> <xme:w5BSX0GRkTyFYad2nQraL9Ctar9Wy-F0xGo1njAth0sh3MOH5Ta_zWy59Xms_vyDl pxAgU4RxpVttA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegfedgudefgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ekredttdefjeenucfhrhhomhepmfgvnhcuofhurhgthhhishhonhcuoehmuhhrtghhsehf rghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhephefhgfetleeuveeutdfhfe euvdeukefgkeejueeuhfdtleehteffgfdvteeuueejnecukfhppeejgedrjeejrdekhedr vdehtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmuhhrtghhsehfrghsthhmrghilhdrtghomh
X-ME-Proxy: <xmx:w5BSX96Wx8-CypCXbgu3DCLV6QIu1rii7c8x0yabogFmelW-WA1IZw> <xmx:w5BSX60cEqfus3hOsJBf7bfjKCJUcXpeJ6PGkx_yzCCoO_K_Tx45-w> <xmx:w5BSXwFoORqdgqYinc0a8yl7e7gP2ApJ_eDbIOfRQNgDfbEhJC4afA> <xmx:w5BSX0R32IPR5aeJpILtG40Hq0Y7tbzZk8hZp9IVMky4a_KAzjVvtg>
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 633C53280067 for <extra@ietf.org>; Fri, 4 Sep 2020 15:08:51 -0400 (EDT)
To: extra@ietf.org
References: <CALaySJ+zuKm=eK=KxfyFNecZPXN_F0TxQAERxapmnHNYLdj_hg@mail.gmail.com> <8af3b476-abf4-3677-208d-dbcf7a2b9ee2@isode.com> <CALaySJK0QLZbT4srg84EHswQ-bz8usG+O11ppg40=cJ9uX4kQg@mail.gmail.com>
From: Ken Murchison <murch@fastmail.com>
Message-ID: <fbf48f97-bbba-c0b6-466d-60564595ea18@fastmail.com>
Date: Fri, 04 Sep 2020 15:08:50 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <CALaySJK0QLZbT4srg84EHswQ-bz8usG+O11ppg40=cJ9uX4kQg@mail.gmail.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/extra/OP5vZPCTMQ1hYCE_GdLGdm7_jEw>
Subject: Re: [Extra] AD review of draft-ietf-extra-sieve-mailboxid-03
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: Fri, 04 Sep 2020 19:08:54 -0000

On 9/4/20 2:51 PM, Barry Leiba wrote:
> Thanks for the quick reply, Alexey.
>
>>>      The server advertises the capability "mailboxid"
>>>
>>> How are sieve capabilities advertised?
>> The text from the draft you quoted is a bit misleading. Scripts specify
>> that they require an extension by listing it in "require". Server can
>> advertise supported Sieve extensions through ManageSieve or JMAP Sieve
>> extension, but this is outside the scope of this draft.
> Yes, exactly.  I'm asking that the text be changed, either to not talk
> about the capability being advertised or saying just a few more words
> to make the situation clearer.
>
>>> — Section 4 —
>>>
>>> Two things here:
>>>
>>> 1. I think this is underspecified.  It’s not clear what the behaviour
>>> is when the specified mailboxid does exist, but matches a mailbox with
>>> a different name that what’s specified.  If I say:
>>>
>>>      fileinto :mailboxid “12” “xyzzy”
>>>
>>> …and there’s a mailbox named “xyzzy” with mailboxid 4, and a mailbox
>>> named “plugh” with mailboxid 12, what happens?  It needs to be
>>> explicitly clear.
>> I thought Section 4 is quite clear that :mailboxid takes precedence if
>> there is a mailbox with the correspond id. So in your case it is mailbox
>> with name “plugh”.
> I don't think it's clear, and would like to see the text be clearer.
> That should be easy to fix.
>
>>> 2. Did the working group consider not requiring the mailbox name at
>>> all, if the mailboxid is specified?  So I could say:
>>>
>>>      fileinto :mailboxid “12”
>>>
>>> …and in the example above it would behave as though I’d said:
>>>
>>>      fileinto :mailboxid “12” “plugh”
>>>
>>> I’m not sure that it ever makes sense to specify both the mailbox name
>>> and the mailboxid.
>> RFC 5228 (basic Sieve) requires mailbox name parameter to be present.
> Sure, but it could be "" (so, fileinto :mailboxid “12” "").
>
> Alternatively, ":mailboxid" could take no argument, but would instead
> change the meaning of the required string from being a mailbox name to
> being a mailboxid.  Of course, that would mean you couldn't specify
> both name and id on the same command, so that might not work.  What's
> the use case for including both?  It still seems to me that one would
> want one or the other, but why both?


The behavior of :mailboxid is similar to that of :specialuse. You want 
the name argument because its the fallback mailbox in case no mailbox 
with the given id can be found.


-- 
Kenneth Murchison
Senior Software Developer
Fastmail US LLC