Re: [Extra] IMAP4rev2: how to signal canonical mailbox name after CREATE
Timo Sirainen <timo@sirainen.com> Fri, 10 July 2020 06:44 UTC
Return-Path: <timo@sirainen.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 2F99D3A0DD1 for <extra@ietfa.amsl.com>; Thu, 9 Jul 2020 23:44:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ra8tVeYtQLHL for <extra@ietfa.amsl.com>; Thu, 9 Jul 2020 23:44:51 -0700 (PDT)
Received: from sirainen.com (mail.sirainen.com [94.237.26.55]) by ietfa.amsl.com (Postfix) with ESMTP id 2462E3A0DCE for <extra@ietf.org>; Thu, 9 Jul 2020 23:44:50 -0700 (PDT)
Received: from [192.168.10.110] (unknown [91.155.205.240]) by sirainen.com (Postfix) with ESMTPSA id 4CE6B2B3C8B; Fri, 10 Jul 2020 06:44:49 +0000 (UTC)
From: Timo Sirainen <timo@sirainen.com>
Message-Id: <94C68CF3-1B2C-425B-8EE3-D31AEB2AE1C8@sirainen.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_2C0D1EBB-CD16-4986-B69D-04BB9F8E8F51"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Date: Fri, 10 Jul 2020 09:44:48 +0300
In-Reply-To: <93c5effc-bf6c-b36b-282f-c334883c2966@isode.com>
Cc: Bron Gondwana <brong@fastmailteam.com>, extra@ietf.org
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <9fdfa8e8-147d-4248-a0c1-48de171ac675@dogfood.fastmail.com> <872422BE-C8FA-4AA0-8EF1-2ECA79F64926@sirainen.com> <96BAB7A5-420A-49AF-977F-1F722746E5DD@isode.com> <5FAA4D04-F1A8-4E23-B9F2-817EBAFF8021@sirainen.com> <5fe122d9-5313-8be1-199e-075a61d1bb2a@isode.com> <0fd3e8e2-1865-4021-b80c-11c4987b7d64@dogfood.fastmail.com> <9c674fad-dabe-cc9d-649d-30cb40f5c506@isode.com> <1BC59434-C16C-4A32-AB3C-D2783092CF9B@sirainen.com> <2fe5352f-f2c5-4e50-b9c4-6da38fbcc4d0@dogfood.fastmail.com> <93c5effc-bf6c-b36b-282f-c334883c2966@isode.com>
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/dom9yI44O6QPo4Ivhzkjc9tH95g>
Subject: Re: [Extra] IMAP4rev2: how to signal canonical mailbox name after CREATE
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, 10 Jul 2020 06:44:53 -0000
On 6. Jul 2020, at 20.38, Alexey Melnikov <alexey.melnikov@isode.com> wrote: > > On 17/06/2020 13:27, Bron Gondwana wrote: > >> On Wed, Jun 17, 2020, at 22:15, Timo Sirainen wrote: >>>> 1) abandon use of this response code (and use a new response instead), e.g. >>>> >>>> * CREATED "a123" "Denormalized name" MAILBOXID "123456" >>>> >>>> This would require clients to ignore an extra response, if they don't recognize it. >>>> >>> >>> Somehow I've a feeling that there are going to be clients that will break if they see these kind of unknown untagged replies. But that's just a guess, so maybe not. We could of course send it only when client has used ENABLE IMAP4REV2 and then there wouldn't be any problems. >> >> I like this. Only send if IMAP4REV2 is enabled and all[tm] your problems go away. > Following on the suggestion to use LIST extended data items for this > > C: C04 create NonCannonicalName > S: * LIST () "/" "CannonicalName" ("TAG" ("C04")) > S: C04 OK done > > In the example above imagine that "CannonicalName" is the canonical (normalized) version of "NonCannonicalName" > > And the corresponding ABNF: > > tag-extended-item = "TAG" SP "(" tag-string ")" > ; Complies with <mbox-list-extended-item> > ; The value complies with <tagged-ext-val> > ; The value is the tag of the corresponding > ; CREATE command. > > And a similar extended data item can be used to return MAILBOXID (when supported). > > Does this work for people? > OK. But should we return this always or only when canonical name changes? With MAILBOXID at least always. I guess it could be nice to do it always in any case so clients don't forget to support it. But in SELECT case perhaps only return it on name change?
- [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Timo Sirainen
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Timo Sirainen
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Alexey Melnikov
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Timo Sirainen
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Alexey Melnikov
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Alexey Melnikov
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Alexey Melnikov
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Alexey Melnikov
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Alexey Melnikov
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Ken Murchison
- [Extra] IMAP4rev2: how to signal canonical mailbo… Alexey Melnikov
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Bron Gondwana
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Alexey Melnikov
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Timo Sirainen
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Bron Gondwana
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Alexey Melnikov
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Alexey Melnikov
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Alexey Melnikov
- Re: [Extra] Review: draft-ietf-extra-imap4rev2-11 Bron Gondwana
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Timo Sirainen
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Alexey Melnikov
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Timo Sirainen
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Alexey Melnikov
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Alexey Melnikov
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Bron Gondwana
- Re: [Extra] IMAP4rev2: how to signal canonical ma… Alexey Melnikov