
From nobody Mon Jul  1 00:29:26 2019
Return-Path: <michael.slusarz@open-xchange.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 6F7F812000E; Mon,  1 Jul 2019 00:29:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level: 
X-Spam-Status: No, score=-4.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=open-xchange.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 utim4DiWkJ-d; Mon,  1 Jul 2019 00:29:16 -0700 (PDT)
Received: from mx4.open-xchange.com (alcatraz.open-xchange.com [87.191.39.187]) (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 5A89612001B; Mon,  1 Jul 2019 00:29:16 -0700 (PDT)
Received: from open-xchange.com (imap.open-xchange.com [10.20.30.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx4.open-xchange.com (Postfix) with ESMTPS id CB72F6A28C; Mon,  1 Jul 2019 09:29:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=open-xchange.com; s=201705; t=1561966151; bh=bhJ6Tzbe/bnWypagtWJla9XBlf18OY8lbOT5DZIY8s0=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From; b=KDO5fxzJLJ8SsyC0Z1tFc9Ozz9hLO+i1boucys4FGjGilaKHv60vx2/0Mm1RIny5J 06FAwaKW5Ged0QJEKDqMEVIGXYEHKb7ZydcM+zmolL0uLbs/yzL1XmijMc0XjIt8+f /OIklcEZR8vdQ813SuD0j6Q5F9IM429WyYLGj9BlEnOCrsfEfhQgW4gAyqwwctGgnR 3yJ9HcxN8xaHnfNOzvL9yajBjoTCqdHGaQcsIGZVazFTTPrIY+E3RqRHxgYcO3/1jZ YixhPMVEhLtu+LIqHdad41SmMmb49Y2j3Nn6IH5INC9sIKCPDl0i1da9yT8zqN3uGK DqQuiEGglDHkQ==
Received: from appsuite-gw2.open-xchange.com (appsuite-gw2.open-xchange.com [10.20.28.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by open-xchange.com (Postfix) with ESMTPSA id BEFA13C0024; Mon,  1 Jul 2019 09:29:11 +0200 (CEST)
Date: Mon, 1 Jul 2019 01:29:11 -0600 (MDT)
From: Michael Slusarz <michael.slusarz@open-xchange.com>
Reply-To: Michael Slusarz <michael.slusarz@open-xchange.com>
To: Barry Leiba <barryleiba@computer.org>
Cc: extra@ietf.org, Bron Gondwana <brong@fastmailteam.com>, The IESG <iesg@ietf.org>, draft-ietf-extra-imap-fetch-preview@ietf.org
Message-ID: <891167002.11504.1561966151796@appsuite-gw2.open-xchange.com>
In-Reply-To: <CALaySJK+vvD-piU53RDRhrzG6Ei0+nZnm6b_=KpqK=DBOA59YA@mail.gmail.com>
References: <155469393077.18315.15660535375707491655.idtracker@ietfa.amsl.com> <1478535427.18024.1554953503900@appsuite.open-xchange.com> <CALaySJKJxBTw6ptgDNvDjaXKDA4_ZFrb5b2gcUbSqsv1zwZSJw@mail.gmail.com> <1755746109.39421.1559403977713@appsuite-gw1.open-xchange.com> <CALaySJK+vvD-piU53RDRhrzG6Ei0+nZnm6b_=KpqK=DBOA59YA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.10.2-Rev6
X-Originating-Client: open-xchange-appsuite
Autocrypt: addr=michael.slusarz@open-xchange.com; prefer-encrypt=mutual; keydata= mQENBFdRf+ABCACjsnzeuEJqUrZHnmyTL0r8JwN0YF6ZS/hgHYx83/dhz2LRgq0bkl5FSYPc6ZY7j7G NqvvPxR4Ri6xfevym91IhdJbQaiJ2B0kWAz+p4H/iXhgZwsYdjFN/c3+MPEjSazCPwASWCDHv2ueCay 0YO2dmw9TnR6rA6GiReQPGumgCZJ4xX8AUBUQftdJOrq/fl1xpYWrsFrTIfBml1x3Q4Mf3+ocH7ZT/u SST2IJTx4a9szQcnrsVHn/Fc2wp4P4FkW87sQFpLND80E5VAwxEdCAtQrhoocUfmh3LyyIncAOIRdw0 aR/1PSgwuj8A2c1W0DRYuzCNaGveugCT6GmbF7qbABEBAAG5AQ0EV1F/4AEIAJ98e4BRvKeJSzSqybD ZzOcphkUy+PlMrhkQkc2m36U01+4E9AtUz3XGNIJE+in9yYKqXbtHJCavOPcFhktVGFvSADKT311ZXq Cx/ibvrWI/DmoBCCIY9iwrutJX08nOoj53wpiNVOuR6vGFJIHO7TNosPcWWsw16LiZIwo9GiU2KseU/ xW0h26ouPbVqVpFX1Tgv+xaCBF8rj4kgoghnvTVG5aEgF+QExOLqx6BmarePKboTFVnMk6NYAwC5TtJ DfpWqa/5vQa8oVAex09elUrN+IQM/tcbMG+tAe5mhjJCke96tdEno29KYjs3Ecl9t1GMcsVAM1k8D8J DJzPCB/cAEQEAAYkBMQQYAQIAGwUCV1F/4AIbDAQLCQgHBhUKCQgLAgUJEswDAAAKCRAH1y6/pl54M6 obB/9AbXRu5SYhYrmTMFGDNqq0BKeoeS1n6cA2rvYRPmmwKSd9/sZG6815X8worSUjPb4r0P/9UoUUy P99BIN0aKc/7baCCV2/00fITrW0sS5Es2xuDuwcRAwwMJX09yMDeCu6M0Y2kn8QjKr1Pu87isoxliQz QDdsYJd9b/iSPFAW+sV7xYlkVcw4XoXYolQTUjNBuWbl6tV6dQN66m6RnCnB1uolFtbZENRiVcHOAdI DmYMjX3UL8cMtqpMyAXe0HTkb1BK2I5m4Kz0thK+beBBLyd6M4bK45zI6L3f5oDOty9o2jAnxlSVdUi ZfBSBypOekOX0bw2w/4XtUoS9emDRk
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/m45x-CE8Op0elAbImwpWB40uOwE>
Subject: Re: [Extra] Barry Leiba's Discuss on draft-ietf-extra-imap-fetch-preview-03: (with DISCUSS and COMMENT)
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: Mon, 01 Jul 2019 07:29:19 -0000

Apologies on taking too long to respond.

I neglected to update the draft with the other changes discussed in previous messages; I will upload that now.

See below for additional responses.


> On June 2, 2019 11:33 AM Barry Leiba <barryleiba@computer.org> wrote:
> 
>  
> I think we're still in significant disagreement here; I'd like others
> from the working group to comment, and see if that can move us in one
> direction or the other.
> 
> > > > I'll start with providing a (future) real-world example, and why this
> > > > behavior exists in its present form.  Given a hypothetical future
> > > > algorithm "IMAGE" (generate image/jpeg preview if image data exists in
> > > > message), I issue this preview command:
> > > >
> > > > a FETCH 1 (PREVIEW (LAZY=IMAGE FUZZY))
> > > >
> > > > This is asking the server: provide me an image preview of the message,
> > > > but ONLY if 1) the message actually contains image information and 2)
> > > > that image information is already generated or can be generated very
> > > > quickly.  Otherwise, fall back to FUZZY generation.
> > >
> > > Hm.  That really seems like a contrived example.  How would the client
> > > software possibly know whether there's useful information in the
> > > image, or whether the information in the accompanying text is more or
> > > less important?  Suppose I have two messages:
> > >
> > > 1. text/plain that basically says nothing; image/jpeg that has a
> > > diagram that explains everything
> > >
> > > 2. text/plain that has the entire real content of the message;
> > > image/jpeg of the senders company logo
> > >
> > > It's pretty clear from that explanation that for message 1 I want some
> > > sort of description of the image and for message 2 I want a preview of
> > > the text.  But how would the client software know that, and,
> > > therefore, know what to ask for?
> >
> > Is that what a typical received message looks like?  To me, that looks like the edge case.
> 
> It's not the "typical" message, but I don't think it's an edge case
> either.  I do often get messages where the only significant content is
> in an image.  (I've tried to dissuade those responsible from sending
> things that way, but they persist.)  So, no, I wouldn't call it an
> "edge case" either.  And even if it were, that's not really the point;
> see below.

Agreed that this is not really the point of this discussion.  We aren't discussing how an image preview algorithm would work, since in practice it would likely need to be designed to be smart enough to not return image data for things like embedded company logos. (This is approaching "what is an attachment?" territory.)


> > Seems that a server could figure out (through experience) when image
> > preview data should be calculated or ignored.  Image size, MIME
> > structure information, MIME order, etc. could all be used to reach some
> > sort of 95% accuracy threshold.  Maybe that doesn't happen day 1 of
> > implementation, but a competitive, reactive server implementation will
> > work on this.
> >
> > The same issue exists for text previews, FWIW.  What about a text/plain
> > + text/html alternative message, where text/plain is "Please click on
> > this URL to view the text part", and the text/html part is empty text
> > (it's a single image link).  A server can be programmed to be smart
> > enough to ignore that part re: preview.
> >
> > As written, we allow a server to be given the latitude to figure these
> > kind of issues out.  Closing down that opportunity because it might be
> > a difficult logical problem isn't the right approach from my view.
> 
> I note that in your response you say "server" four times, at least
> once per paragraph, and "client" never.  But my point (see above) was,
> "But how would the client software know that, and, therefore, know
> what to ask for?"  These are things a *client* is requesting; how does
> the client know whether to request that the preview be preferentially
> done on the image or on the text?  I contend that it doesn't, and
> can't, and that, therefore, it's strange to expect it to ask, and
> strange to say that the server has to take the client's "priority
> decision" into account.

Client: "Please provide me the richest content you can - richest content is defined via the priority list I provided."

I don't see how a client providing a priority order of preview algorithms is any different than what the client would do if it had to download the message and parse it for preview data?

Also, how this is any different than issuing two consecutive FETCH PREVIEW commands?  If the first PREVIEW command returns the empty string, a client is just going to send another FETCH command using the next PREVIEW algorithm in the list.  Thus, the client is indicating its "priority decision" by the order it is sending its commands.  Why not do that in a single command?


> I'm still looking for a real use case where the *client* is the entity
> that's better suited to asking for any specific action with respect to
> a message preview.

See below.

 
> > > Apart from that, if we're going to do any sort of text-based preview
> > > of an image, I would think we'd just say that when FUZZY is applied to
> > > an image, that's what it does.
> >
> > FUZZY is explicitly defined as text only output though, since that's generally mapping
> > what clients already do.
> 
> Well, but saying, "That's the way it works now," isn't really the
> point.  We need to be looking at how we *want* this to work going
> forward, and I think that having the *server* decide what the best way
> is to give a preview of a message is the right answer.  And if that
> means that the server decides to make a preview from the text/plain
> part, the text/html part, the application/pdf part, or the image/jpeg
> part (perhaps using OCR on the image), then I think that's fine.
> FUZZY is explicitly defined as text only, only because that's how
> we've defined it so far.

How would a client handle this?  Does it need to provide a list of all media types it supports to the server, ala the HTTP Accept header?  That sounds overly complicated for a solution where text/plain is the primary use-case (see, e.g., JMAP preview).

More generally, I can provide this (real-world) example as my final argument as to the behavior at issue in this message.

Client:
  - images, videos, and URLs are commonly sent in messages
  - client wants to show small image preview if image is only content of message
  - client wants to show small image preview (or maybe a short GIF) if video is only content of message
  - client wants to show small image preview of website if a URL is only content of the message
  - server supports 3 PREVIEW extensions: IMG, VID, URL

The client, when listing (syncing) messages in the mailbox, will issue a FETCH PREVIEW for all of (IMG, VID, URL). These PREVIEW extensions describe mutually exclusive message data, so the client doesn't care which one is returned - it is identifying to the client what it supports display-wise.  For this client, it might make the decision whether to FETCH BODY text based on whether preview data is returned for a message.

This scenario is describing the UI behavior of every chat-like client out there: whether it be SMS/MMS, WhatsApp, iMessage, etc.  So it is extremely common, and generally reflects the experience a user expects when using messaging.  So a preview specification should theoretically be extensible to handle this kind of use-case.

To me it makes the most sense to allow this in a single FETCH call - one of the stated goals of the FETCH PREVIEW spec is to reduce roundtrips.  A "priority list" of algorithms is nothing more than a potential list of sequential FETCH calls the client might make.

michael


From nobody Mon Jul  1 00:29:42 2019
Return-Path: <michael.slusarz@open-xchange.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 55DD812001B for <extra@ietfa.amsl.com>; Mon,  1 Jul 2019 00:29:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level: 
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=open-xchange.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 3zZ9vf_dig8X for <extra@ietfa.amsl.com>; Mon,  1 Jul 2019 00:29:38 -0700 (PDT)
Received: from mx4.open-xchange.com (alcatraz.open-xchange.com [87.191.39.187]) (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 22B8312001A for <extra@ietf.org>; Mon,  1 Jul 2019 00:29:38 -0700 (PDT)
Received: from open-xchange.com (imap.open-xchange.com [10.20.30.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx4.open-xchange.com (Postfix) with ESMTPS id 92C406A28C; Mon,  1 Jul 2019 09:29:36 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=open-xchange.com; s=201705; t=1561966176; bh=mKSHCd/sXbrQufmuWh//chbaA1yjlqxM2hEWFiT5Njk=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From; b=0lgGCyHcbZyYy97kFLKx1Mf9qrwQMzZeW7qBV/rYiXf+uRGi4d6gfxowLjfoae9on gyeeh9l28vs49PZE97d157W4Mr0msKgre++H6Z9cfAwj1m5FkLzE1sgVY9f5NqitnL YpfnC+K9JOkjCLAAEK7oXYySmw9WTkYU/cNk1pRhGgAh9ythOdBSWvrZeKtcfB1IFM trePn1UuKumSOZy19LtptOqen00DG0vVaxt5XSABLW9Yg/h8ZhzFmx4fHTGUcDJJdN 82V5dtdX+/DEqnNjohpdxp968Uc1Nc+IepnnZoba4Vm7vKiEAujiOd/apkmkoJjRnS KG8QkL5DV8HHQ==
Received: from appsuite-gw2.open-xchange.com (appsuite-gw2.open-xchange.com [10.20.28.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by open-xchange.com (Postfix) with ESMTPSA id 869F43C0024; Mon,  1 Jul 2019 09:29:36 +0200 (CEST)
Date: Mon, 1 Jul 2019 01:29:35 -0600 (MDT)
From: Michael Slusarz <michael.slusarz@open-xchange.com>
Reply-To: Michael Slusarz <michael.slusarz@open-xchange.com>
To: Neil Jenkins <neilj@fastmailteam.com>, extra@ietf.org
Message-ID: <855477053.11506.1561966175692@appsuite-gw2.open-xchange.com>
In-Reply-To: <70781805-f45f-43aa-b71b-a1862a3610bb@beta.fastmail.com>
References: <155469393077.18315.15660535375707491655.idtracker@ietfa.amsl.com> <1478535427.18024.1554953503900@appsuite.open-xchange.com> <CALaySJKJxBTw6ptgDNvDjaXKDA4_ZFrb5b2gcUbSqsv1zwZSJw@mail.gmail.com> <1755746109.39421.1559403977713@appsuite-gw1.open-xchange.com> <CALaySJK+vvD-piU53RDRhrzG6Ei0+nZnm6b_=KpqK=DBOA59YA@mail.gmail.com> <70781805-f45f-43aa-b71b-a1862a3610bb@beta.fastmail.com>
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.10.2-Rev6
X-Originating-Client: open-xchange-appsuite
Autocrypt: addr=michael.slusarz@open-xchange.com; prefer-encrypt=mutual; keydata= mQENBFdRf+ABCACjsnzeuEJqUrZHnmyTL0r8JwN0YF6ZS/hgHYx83/dhz2LRgq0bkl5FSYPc6ZY7j7G NqvvPxR4Ri6xfevym91IhdJbQaiJ2B0kWAz+p4H/iXhgZwsYdjFN/c3+MPEjSazCPwASWCDHv2ueCay 0YO2dmw9TnR6rA6GiReQPGumgCZJ4xX8AUBUQftdJOrq/fl1xpYWrsFrTIfBml1x3Q4Mf3+ocH7ZT/u SST2IJTx4a9szQcnrsVHn/Fc2wp4P4FkW87sQFpLND80E5VAwxEdCAtQrhoocUfmh3LyyIncAOIRdw0 aR/1PSgwuj8A2c1W0DRYuzCNaGveugCT6GmbF7qbABEBAAG5AQ0EV1F/4AEIAJ98e4BRvKeJSzSqybD ZzOcphkUy+PlMrhkQkc2m36U01+4E9AtUz3XGNIJE+in9yYKqXbtHJCavOPcFhktVGFvSADKT311ZXq Cx/ibvrWI/DmoBCCIY9iwrutJX08nOoj53wpiNVOuR6vGFJIHO7TNosPcWWsw16LiZIwo9GiU2KseU/ xW0h26ouPbVqVpFX1Tgv+xaCBF8rj4kgoghnvTVG5aEgF+QExOLqx6BmarePKboTFVnMk6NYAwC5TtJ DfpWqa/5vQa8oVAex09elUrN+IQM/tcbMG+tAe5mhjJCke96tdEno29KYjs3Ecl9t1GMcsVAM1k8D8J DJzPCB/cAEQEAAYkBMQQYAQIAGwUCV1F/4AIbDAQLCQgHBhUKCQgLAgUJEswDAAAKCRAH1y6/pl54M6 obB/9AbXRu5SYhYrmTMFGDNqq0BKeoeS1n6cA2rvYRPmmwKSd9/sZG6815X8worSUjPb4r0P/9UoUUy P99BIN0aKc/7baCCV2/00fITrW0sS5Es2xuDuwcRAwwMJX09yMDeCu6M0Y2kn8QjKr1Pu87isoxliQz QDdsYJd9b/iSPFAW+sV7xYlkVcw4XoXYolQTUjNBuWbl6tV6dQN66m6RnCnB1uolFtbZENRiVcHOAdI DmYMjX3UL8cMtqpMyAXe0HTkb1BK2I5m4Kz0thK+beBBLyd6M4bK45zI6L3f5oDOty9o2jAnxlSVdUi ZfBSBypOekOX0bw2w/4XtUoS9emDRk
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/QBlNCYM3VrU4Q2WizUGNJIShtN8>
Subject: Re: [Extra] Barry Leiba's Discuss on draft-ietf-extra-imap-fetch-preview-03: (with DISCUSS and COMMENT)
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: Mon, 01 Jul 2019 07:29:41 -0000

<!doctype html>
<html>
 <head>=20
  <meta charset=3D"UTF-8">=20
 </head>
 <body>
  <div class=3D"default-style">
   <div>
    Neil,
    <br>
   </div>
  </div>
  <div>
   Thanks for your comments.&nbsp; Responses below.
   <br>
  </div>
  <div>
   <br>
  </div>
  <blockquote type=3D"cite">
   <div>
    On June 2, 2019 6:27 PM Neil Jenkins &lt;neilj@fastmailteam.com&gt; wro=
te:
   </div>
   <div>
    <br>
   </div>
   <div>
    <br>
   </div>
   <div>
    I must admit to having skimmed this discussion, but it seems to me that=
 this extension is getting way over-complicated. The key here is simply to =
answer the question: what is this for? The only purpose of this is to provi=
de a way for clients to get a snippet of (plain) text to shown in the mailb=
ox listing without downloading whole body parts and expecting a fast respon=
se from the server (like fetching common headers). This is a common feature=
 and worth making more efficient. Trying to do anything else is making thin=
gs more complicated for close to zero benefit.
   </div>
  </blockquote>
  <div>
   I agree that a plaintext preview, to mimic what exists in current client=
 UIs, was a main driving factor for creating this draft.&nbsp; I disagree t=
hat this is the only potential use-case.
   <br>
  </div>
  <div>
   <br>
  </div>
  <blockquote type=3D"cite">
   <div></div>
   <div>
    I would contend:
    <br>
   </div>
   <ul>
    <li>No server is going to implement more than one algorithm. Like with =
fuzzy searching, we should not specify the algorithm in the spec. Servers s=
hould be free to implement the best solution they can, which is likely to c=
hange over time as new edge cases are found and new capabilities are availa=
ble (for example, skipping salutations, OCRing an image-only body, skipping=
 broken auto-generated plain text components and generating the preview fro=
m the text/html version instead, etc.). The server should be free to choose=
 which parts it thinks it should use to generate the preview.</li>
   </ul>
  </blockquote>
  <div>
   We are in agreement here.&nbsp; This is FUZZY.&nbsp; We have defined som=
e output requirements and limitations, but that output is up to the server.
   <br>
  </div>
  <div>
   <br>
  </div>
  <blockquote type=3D"cite">
   <ul>
    <li>The client either accepts the server is going to give it a good pre=
view or it will ignore the whole capability and generate its own, at the ex=
pense of being slower and more data hungry.</li>
    <li>The output is always just plain text. This is what is shown in mail=
box listings as the preview in Apple Mail, Gmail, FastMail, etc. If you thi=
nk an image or text/html preview is useful, I disagree, but regardless that=
 should be a different spec rather than overcomplicating one that solves an=
 actual use case today. (To be clear, I think the spec already says this, b=
ut some of the comments in this thread seemed to indicate to me people thou=
ght you might want different typed outputs in the future).</li>
   </ul>
  </blockquote>
  <div>
   I disagree with this logic, as it is essentially "let's standardize what=
 already exists in clients."&nbsp; I'd rather design a standard that fits t=
he current use cases AND can be extended to future use cases.
   <br>
  </div>
  <div>
   <br>
  </div>
  <div>
   A real world example - we are currently working on an initiative to push=
 email as a chat medium (Shameless plug:=20
   <a href=3D"https://www.coi-dev.org/">https://www.coi-dev.org/</a>).&nbsp=
; In every chat client I have ever used, sending images and/or video is an =
important part of conversations.&nbsp; When an image/video appears in a cha=
t stream, the full contents are not generally displayed - it is a small pre=
view of the image (or a small preview of a frame of the video).&nbsp; That =
small image that is surely a "preview" of that message.&nbsp; Mixed media p=
reviews are a very common paradigm in other messaging systems - why should =
email be any different?
   <br>
  </div>
  <div>
   <br>
  </div>
  <div>
   We shouldn't have to come back in a year and propose a new "FETCH IMAGEP=
REVIEW" standard to support this - we should instead be able to propose a s=
imple, optional extension to the base PREVIEW behavior.
  </div>
  <div>
   <br>
  </div>
  <blockquote type=3D"cite">
   <ul>
    <li>(Perhaps controversial but=E2=80=A6) If the server offers the capab=
ility it should always have the data readily available, so the LAZY modifie=
r is not necessary. I would expect servers that implement this to generally=
 calculate and cache a preview on delivery. If it's going to take a while, =
the benefit to the client is much less and it might as well just calculate =
its own. That way the client only has two code paths (server-preview or cli=
ent-preview) rather than three (server delayed preview as well).</li>
   </ul>
  </blockquote>
  <div>
   We index on delivery, but there's plenty of reasons why preview may not =
be available at a later time.&nbsp; More important, a preview is not a fund=
amental part of the message data - it is data created via transformation of=
 that data.&nbsp; The original message cannot be recreated, but previews ca=
n - a server operator should be allowed to choose different storage and/ret=
ention policies based on that fact.
   <br>
  </div>
  <div>
   <br>
  </div>
  <div>
   A client doesn't have to use LAZY.&nbsp; A server can quickly support LA=
ZY by returning NIL for every message requested - this doesn't add any appr=
eciable overhead to the client/server interaction, as the client would need=
 to issue a separate FETCH PREVIEW call regardless of whether LAZY was supp=
orted or not.&nbsp; If LAZY is not something a client/server operator wants=
 to deal with the complexities of, they can be avoided at almost zero devel=
opment cost.
   <br>
  </div>
  <div>
   <br>
  </div>
  <blockquote type=3D"cite">
   <div></div>
   <div>
    In the JMAP Mail spec, we simply specify the following for the equivale=
nt property:
    <br>
   </div>
   <div>
    <br>
   </div>
   <div>
    <strong>preview</strong>
    <span class=3D"highlight" style=3D"background-color: #ffffff;"><span cl=
ass=3D"colour" style=3D"color: #1f1f1f;"><span class=3D"font" style=3D"font=
-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;"><span cla=
ss=3D"size" style=3D"font-size: 16px;">:&nbsp;</span></span></span></span>
    <code style=3D"font-family: Menlo, Monaco, 'Andale Mono', 'Courier New'=
, monospace; background-color: #fee9cc; color: rgba(0, 0, 0, 0.75); font-si=
ze: 13px; border-top-left-radius: 3px; border-top-right-radius: 3px; border=
-bottom-right-radius: 3px; border-bottom-left-radius: 3px; font-style: norm=
al; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:=
 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0p=
x; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;=
 -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decor=
ation-color: initial; padding: 1px 3px 1px 3px;" class=3D"highlighter-rouge=
">String</code>
    <br>
   </div>
   <div>
    <em>A plain text fragment of the message body. This is intended to be s=
hown as a preview line on a mailbox listing, and may be truncated when show=
n. The server may choose which part of the message to include in the previe=
w; skipping quoted sections and salutations and collapsing white-space can =
result in a more useful preview.</em>
    <em><br></em>
   </div>
   <div>
    <em><br></em>
   </div>
   <div>
    <em>This MUST NOT be more than 256 characters in length.</em>
    <br>
   </div>
   <div></div>
  </blockquote>
  <div>
   PREVIEW=3DFUZZY and JMAP preview can be serviced by the same data (Bron =
suggested changes to the preview spec in the past to ensure this), so I thi=
nk we are good here.
   <br>
  </div>
  <div>
   <br>
  </div>
  <div>
   michael
   <br>
  </div>=20
 </body>
</html>


From nobody Mon Jul  1 00:32:57 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: extra@ietf.org
Delivered-To: extra@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 3000C120019; Mon,  1 Jul 2019 00:32:56 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: extra@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.98.1
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: extra@ietf.org
Message-ID: <156196637616.5792.1503981132867191765@ietfa.amsl.com>
Date: Mon, 01 Jul 2019 00:32:56 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/ANvZBBJK9zKb2nsrt_pY5Rth298>
Subject: [Extra] I-D Action: draft-ietf-extra-imap-fetch-preview-06.txt
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 01 Jul 2019 07:32:56 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Email mailstore and eXtensions To Revise or Amend WG of the IETF.

        Title           : IMAP4 Extension: Message Preview Generation
        Author          : Michael M. Slusarz
	Filename        : draft-ietf-extra-imap-fetch-preview-06.txt
	Pages           : 14
	Date            : 2019-07-01

Abstract:
   This document specifies an Internet Message Access Protocol (IMAP)
   protocol extension allowing a client to request a server-generated
   abbreviated representation of message data useful as a contextual
   preview of the entire message.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-extra-imap-fetch-preview/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-extra-imap-fetch-preview-06
https://datatracker.ietf.org/doc/html/draft-ietf-extra-imap-fetch-preview-06

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-extra-imap-fetch-preview-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Mon Jul  1 21:53:31 2019
Return-Path: <neilj@fastmailteam.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 8EC0912008D for <extra@ietfa.amsl.com>; Mon,  1 Jul 2019 21:53:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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=fastmailteam.com header.b=e3SxkUED; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=kCtgqqZ7
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 PCjm1RQUY8pB for <extra@ietfa.amsl.com>; Mon,  1 Jul 2019 21:53:27 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5199812004D for <extra@ietf.org>; Mon,  1 Jul 2019 21:53:27 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 77D2D21E44; Tue,  2 Jul 2019 00:53:26 -0400 (EDT)
Received: from imap7 ([10.202.2.57]) by compute6.internal (MEProxy); Tue, 02 Jul 2019 00:53:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm3; bh=Wa5eSig Hpm509xJkEt+yUduWSPo5fzpSH9Wt4gsyulc=; b=e3SxkUED56iVTuhRYrCYPDR HOBq4Es/326rnGrK+URtXpDXTN+yhKHqQqSeXqPr1QNZnBXvbRk0Mz71t78mkTVj /74lU9wqzBefad9AL/Cc5JylzfGzbg+XzHiyA5vAgfKHe9mphcDRCv/Naj5Jgwj6 hVNVC/248x4e5MITzYg/DaFTZKZeYIiSs73sOX26o89JJ/fWSpOm662yKP4JKsbH fUOkFW/OCL/phRrDisrAoG/MM33VU3iomrSk0gWWmmWhQBrQQonNGiADRKYf7AtO mrv3nqaZ20O+PT2Z8cvxDae5jr4UTQo69TPdExsSiaA8yNrBqbsqp4i0OjJ7AUw= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=Wa5eSi gHpm509xJkEt+yUduWSPo5fzpSH9Wt4gsyulc=; b=kCtgqqZ7L1biDIhZT+ApCs 2tc59rBPxsUeSOLewaql6vtITcFmhCW6Wd2wrbqiVfMgb0vX9XJa8qIONkOwyUqg qaHwpKrQbHyrdfFhgcjchDyJKdsj7DxiRbff67+YfvJRIAP4YHHE2K9vVsS9EPuv 2uM8eYCINgo5PXYCKlW3yqCp9KszL3J58lkkHC8J0q4d1ZP/95UzeLpx1KQxopsb 7PCXgC/JlERB5Itq3D1frhk+W6qpo6w8u1fVCTG8YJ2estYPucqEZfRnNU1bLIx5 RNwmBgjijrNR8+jzhL0LobC32NVrpShKcqUSOY4WpDHYm5Ke59tVC/FE7qzYyH2g ==
X-ME-Sender: <xms:ReMaXUJgiTxHycfftXQ2gKo177kmulcZbKf7HAE9TKHT3EoI6KzGiw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrvdejgdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpedfpfgvihhl ucflvghnkhhinhhsfdcuoehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtghomheqne cuffhomhgrihhnpegtohhiqdguvghvrdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhm pehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtghomhenucevlhhushhtvghrufhiii gvpedt
X-ME-Proxy: <xmx:RuMaXRskFRdtS1lxAvVeNh0cclpm8VCak1w03wIlDl8OwODYIj63QA> <xmx:RuMaXbIPBBSque3bNBsa1BL6kOhuaM-R_k-zNiT6AxG9r-RUUYqIwQ> <xmx:RuMaXS9voUfVLsANhuQiL-PSpEHo67tFASy2578fhH7Sxl0b1AqBeQ> <xmx:RuMaXUpkHzNq_f2PU93HBUDUYWjvbvCCIEGDUHL8_93Zv-1hxCRyYg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id CB349180091; Tue,  2 Jul 2019 00:53:25 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-731-g19d3b16-fmstable-20190627v1
Mime-Version: 1.0
Message-Id: <b004cfb5-84a5-45f2-8624-7e4c2a13f3f3@beta.fastmail.com>
In-Reply-To: <855477053.11506.1561966175692@appsuite-gw2.open-xchange.com>
References: <155469393077.18315.15660535375707491655.idtracker@ietfa.amsl.com> <1478535427.18024.1554953503900@appsuite.open-xchange.com> <CALaySJKJxBTw6ptgDNvDjaXKDA4_ZFrb5b2gcUbSqsv1zwZSJw@mail.gmail.com> <1755746109.39421.1559403977713@appsuite-gw1.open-xchange.com> <CALaySJK+vvD-piU53RDRhrzG6Ei0+nZnm6b_=KpqK=DBOA59YA@mail.gmail.com> <70781805-f45f-43aa-b71b-a1862a3610bb@beta.fastmail.com> <855477053.11506.1561966175692@appsuite-gw2.open-xchange.com>
Date: Tue, 02 Jul 2019 14:53:25 +1000
From: "Neil Jenkins" <neilj@fastmailteam.com>
To: "Michael Slusarz" <michael.slusarz@open-xchange.com>, extra@ietf.org
Content-Type: multipart/alternative; boundary=c7d44cde9c614c94945526a90beeb650
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/-_UDmxpCkyu7-JUXXTeF2ftSgSU>
Subject: Re: [Extra]  =?utf-8?q?Barry_Leiba=27s_Discuss_on_draft-ietf-extra-im?= =?utf-8?q?ap-fetch-preview-03=3A_=28with_DISCUSS_and_COMMENT=29?=
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: Tue, 02 Jul 2019 04:53:30 -0000

--c7d44cde9c614c94945526a90beeb650
Content-Type: text/plain

On Mon, 1 Jul 2019, at 17:29, Michael Slusarz wrote:
> A real world example - we are currently working on an initiative to push email as a chat medium (Shameless plug: https://www.coi-dev.org/). In every chat client I have ever used, sending images and/or video is an important part of conversations. When an image/video appears in a chat stream, the full contents are not generally displayed - it is a small preview of the image (or a small preview of a frame of the video). That small image that is surely a "preview" of that message. Mixed media previews are a very common paradigm in other messaging systems - why should email be any different? 
> 
> We shouldn't have to come back in a year and propose a new "FETCH IMAGEPREVIEW" standard to support this - we should instead be able to propose a simple, optional extension to the base PREVIEW behavior.

I see, thanks for providing your motivation for this, it makes it much easier to discuss. This is certainly *a* solution to this problem, but I do wonder if it's the best one. If we start with the requirement that we must use IMAP for the chat message sync protocol, which admittedly does limit the options somewhat, the other main thing I would try is fetching the body structure with the COI client when getting a message listing. You would be able to see that, for example, a message has only an image/png part and how large it is. If it's small, the client may just fetch it directly. If it's large, you want a way for the client to ask the server for this image downsampled to a particular size; the client can specify exactly what it needs to optimise bandwidth usage.

Neil.
--c7d44cde9c614c94945526a90beeb650
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Mon, 1 Jul 2=
019, at 17:29, Michael Slusarz wrote:<br></div><blockquote type=3D"cite"=
 id=3D"qt"><div>A real world example - we are currently working on an in=
itiative to push email as a chat medium (Shameless plug: <a href=3D"http=
s://www.coi-dev.org/">https://www.coi-dev.org/</a>).&nbsp; In every chat=
 client I have ever used, sending images and/or video is an important pa=
rt of conversations.&nbsp; When an image/video appears in a chat stream,=
 the full contents are not generally displayed - it is a small preview o=
f the image (or a small preview of a frame of the video).&nbsp; That sma=
ll image that is surely a "preview" of that message.&nbsp; Mixed media p=
reviews are a very common paradigm in other messaging systems - why shou=
ld email be any different? <br></div><div><br></div><div>We shouldn't ha=
ve to come back in a year and propose a new "FETCH IMAGEPREVIEW" standar=
d to support this - we should instead be able to propose a simple, optio=
nal extension to the base PREVIEW behavior.<br></div></blockquote><div><=
br></div><div>I see, thanks for providing your motivation for this, it m=
akes it much easier to discuss. This is certainly&nbsp;<i>a</i> solution=
 to this problem, but I do wonder if it's the best one. If we start with=
 the requirement that we must use IMAP for the chat message sync protoco=
l, which admittedly does limit the options somewhat, the other main thin=
g I would try is fetching the body structure with the COI client when ge=
tting a message listing. You would be able to see that, for example, a m=
essage has only an image/png part and how large it is. If it's small, th=
e client may just fetch it directly. If it's large, you want a way for t=
he client to ask the server for this image downsampled to a particular s=
ize; the client can specify exactly what it needs to optimise bandwidth =
usage.<br></div><div><br>Neil.</div></body></html>
--c7d44cde9c614c94945526a90beeb650--


From nobody Tue Jul  9 09:15:35 2019
Return-Path: <internet-drafts@ietf.org>
X-Original-To: extra@ietf.org
Delivered-To: extra@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 786551206CF; Tue,  9 Jul 2019 09:15:32 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: extra@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.98.3
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: extra@ietf.org
Message-ID: <156268893231.15786.8849995440978646095@ietfa.amsl.com>
Date: Tue, 09 Jul 2019 09:15:32 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/biFrlhF93mv5Vb9EngsMwYK1UMk>
Subject: [Extra] I-D Action: draft-ietf-extra-imap4rev2-05.txt
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 09 Jul 2019 16:15:33 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Email mailstore and eXtensions To Revise or Amend WG of the IETF.

        Title           : INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev2
        Authors         : Alexey Melnikov
                          Barry Leiba
	Filename        : draft-ietf-extra-imap4rev2-05.txt
	Pages           : 145
	Date            : 2019-07-09

Abstract:
   The Internet Message Access Protocol, Version 4rev2 (IMAP4rev2)
   allows a client to access and manipulate electronic mail messages on
   a server.  IMAP4rev2 permits manipulation of mailboxes (remote
   message folders) in a way that is functionally equivalent to local
   folders.  IMAP4rev2 also provides the capability for an offline
   client to resynchronize with the server.

   IMAP4rev2 includes operations for creating, deleting, and renaming
   mailboxes, checking for new messages, permanently removing messages,
   setting and clearing flags, RFC 5322, RFC 2045 and RFC 2231 parsing,
   searching, and selective fetching of message attributes, texts, and
   portions thereof.  Messages in IMAP4rev2 are accessed by the use of
   numbers.  These numbers are either message sequence numbers or unique
   identifiers.

   IMAP4rev2 does not specify a means of posting mail; this function is
   handled by a mail submission protocol such as RFC 6409.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-extra-imap4rev2/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-extra-imap4rev2-05
https://datatracker.ietf.org/doc/html/draft-ietf-extra-imap4rev2-05

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-extra-imap4rev2-05


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Sun Jul 14 05:40:00 2019
Return-Path: <brong@fastmailteam.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 6071A1200E3 for <extra@ietfa.amsl.com>; Sun, 14 Jul 2019 05:39:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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=fastmailteam.com header.b=uOZTqolO; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=rCaHN9Vn
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 TGzH7pMG9Zrx for <extra@ietfa.amsl.com>; Sun, 14 Jul 2019 05:39:57 -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 E9FA312017C for <extra@ietf.org>; Sun, 14 Jul 2019 05:39:56 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9CC4621B42; Sun, 14 Jul 2019 08:39:53 -0400 (EDT)
Received: from imap7 ([10.202.2.57]) by compute6.internal (MEProxy); Sun, 14 Jul 2019 08:39:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type; s=fm3; bh=NhML XnsQmpgiYT5RYW49aEqOfKc54n8NidDLZ1BdDsw=; b=uOZTqolOJqift7r985lZ ewr8M58QPCDsHY7ZXoBam5EekJdp9XYtsPUz4hFjoNP7jkyC0f30fA5bt4s4J6sj 70s3Xb+y3KhIoicIESLtTb03Qwa+Yu8LyIT0Anpl0H9w9/XO+PeoOfnXWQswa+Ik oQ4Et8A+uMZVMfUXJS5Tff9RJlE9s1gAz21DFPkhx0SIVXBpUi9QvT3Lhqea/GFm NZG8zG77BYyP5re8swXrIybkagu3qOuC+dSPHgPzbXQDKlrg7LzSlXbB/RclrjUk GxGLFbK6ZX5JMj2qjE6Ai20v+sY/X4Xz69CHV3ONFdNFLmtoDAEbSYLmTJPmCwoV Yw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=NhMLXn sQmpgiYT5RYW49aEqOfKc54n8NidDLZ1BdDsw=; b=rCaHN9VnLTrl93ba+wz2f6 qIrSnylzsJUGjopi8cDeZWst6LU3hyXZQhJHV6YNuIrcsY5rXVj7n2liUmyApt36 b5dRmGiJaRMwIzq7z3uPiF2EWsVcUkOVMFJRdCQHz8p44qVSl4TJpADwIQlEgEWf NyQcho63lsr5h2DUz+wbpGXHDUczV9icY7V49J6O5xKr6eOood2BPjTUNDGVqDC4 Gmi4uW52A5+07z3pb/kfZoDEXhT9atWgYZwZ9wQ6kROtqIrkahumFcWfsAvtXlgq f+Fq1hpTmEZ4sjeP695u5zJonN46J1shA+zWQdLcJHzitJ2i5DLe71CM8yn4MLMQ ==
X-ME-Sender: <xms:mCIrXXAMvAQcb69ZczXE06TQguO9AOc2XV8REy-AwH2PnhsXACaOPA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrheehgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerredtnecuhfhrohhmpedfuehrohhn ucfiohhnugifrghnrgdfuceosghrohhnghesfhgrshhtmhgrihhlthgvrghmrdgtohhmqe enucffohhmrghinhepihgvthhfrdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhmpegs rhhonhhgsehfrghsthhmrghilhhtvggrmhdrtghomhenucevlhhushhtvghrufhiiigvpe dt
X-ME-Proxy: <xmx:mCIrXZO7IJs7U75ccNLP97qkYBFcdB_wAWKt3oxoF67f_xyAhaUq7w> <xmx:mCIrXdRIQndDRDSmuNdnaNJvUZc-QzVzHL9U16IZDjBIsjKf4BOy0Q> <xmx:mCIrXavBQR5fXq2f0j2m5dtTDhrppe9XEiSST4hlKm4ZwY-7uQqd4Q> <xmx:mSIrXZ7NeH6mm3hAVZtvyvjCXG_J5Zl9OYCF4MrmoLDxrbUHN6ENqA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id C66C4185C67; Sun, 14 Jul 2019 08:39:52 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-731-g19d3b16-fmstable-20190627v1
Mime-Version: 1.0
Message-Id: <33b03176-fd2d-474a-abb8-043f1d45451d@www.fastmail.com>
In-Reply-To: <156268893231.15786.8849995440978646095@ietfa.amsl.com>
References: <156268893231.15786.8849995440978646095@ietfa.amsl.com>
Date: Sun, 14 Jul 2019 22:39:52 +1000
From: "Bron Gondwana" <brong@fastmailteam.com>
To: extra@ietf.org
Cc: "Alexey Melnikov" <alexey.melnikov@isode.com>, "Barry Leiba" <barryleiba@computer.org>
Content-Type: multipart/alternative; boundary=de90ead9656e4a0c89aab29558332034
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/P6TBwAMKTv1ghBAkRMHlsBLZRFs>
Subject: Re: [Extra] I-D Action: draft-ietf-extra-imap4rev2-05.txt
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: Sun, 14 Jul 2019 12:39:59 -0000

--de90ead9656e4a0c89aab29558332034
Content-Type: text/plain

Late comment on this - based on a query that came up in info-cyrus. RFC3501 was not clear on the handling of subscription when renaming folders, or when a client uses the DELETE command itself via IMAP. It does say that the server must not unilaterally remove the subscription if the folder no longer exists (e.g. an alerts mailbox when gets deleted when empty and recreated when new email arrives), but nothing else.

It would be good to clarify expected behaviour in those two cases, and at least say the server MAY delete the subscription if the user deletes a folder, and maybe even SHOULD rename the subscription if the user renames the folder!

Cheers,

Bron.

On Wed, Jul 10, 2019, at 02:15, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Email mailstore and eXtensions To Revise or Amend WG of the IETF.
> 
>  Title : INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev2
>  Authors : Alexey Melnikov
>  Barry Leiba
> Filename : draft-ietf-extra-imap4rev2-05.txt
> Pages : 145
> Date : 2019-07-09
> 
> Abstract:
>  The Internet Message Access Protocol, Version 4rev2 (IMAP4rev2)
>  allows a client to access and manipulate electronic mail messages on
>  a server. IMAP4rev2 permits manipulation of mailboxes (remote
>  message folders) in a way that is functionally equivalent to local
>  folders. IMAP4rev2 also provides the capability for an offline
>  client to resynchronize with the server.
> 
>  IMAP4rev2 includes operations for creating, deleting, and renaming
>  mailboxes, checking for new messages, permanently removing messages,
>  setting and clearing flags, RFC 5322, RFC 2045 and RFC 2231 parsing,
>  searching, and selective fetching of message attributes, texts, and
>  portions thereof. Messages in IMAP4rev2 are accessed by the use of
>  numbers. These numbers are either message sequence numbers or unique
>  identifiers.
> 
>  IMAP4rev2 does not specify a means of posting mail; this function is
>  handled by a mail submission protocol such as RFC 6409.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-extra-imap4rev2/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-extra-imap4rev2-05
> https://datatracker.ietf.org/doc/html/draft-ietf-extra-imap4rev2-05
> 
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-extra-imap4rev2-05
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra
> 

--
 Bron Gondwana, CEO, Fastmail Pty Ltd
 brong@fastmailteam.com


--de90ead9656e4a0c89aab29558332034
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div style=3D"font-f=
amily:Arial;">Late comment on this - based on a query that came up in in=
fo-cyrus.&nbsp; RFC3501 was not clear on the handling of subscription wh=
en renaming folders, or when a client uses the DELETE command itself via=
 IMAP.&nbsp; It does say that the server must not unilaterally remove th=
e subscription if the folder no longer exists (e.g. an alerts mailbox wh=
en gets deleted when empty and recreated when new email arrives), but no=
thing else.<br></div><div style=3D"font-family:Arial;"><br></div><div st=
yle=3D"font-family:Arial;">It would be good to clarify expected behaviou=
r in those two cases, and at least say the server MAY delete the subscri=
ption if the user deletes a folder, and maybe even SHOULD rename the sub=
scription if the user renames the folder!<br></div><div style=3D"font-fa=
mily:Arial;"><br></div><div style=3D"font-family:Arial;">Cheers,<br></di=
v><div style=3D"font-family:Arial;"><br>Bron.<br></div><div style=3D"fon=
t-family:Arial;"><br></div><div>On Wed, Jul 10, 2019, at 02:15, internet=
-drafts@ietf.org wrote:<br></div><blockquote type=3D"cite" id=3D"qt"><di=
v style=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial=
;">A New Internet-Draft is available from the on-line Internet-Drafts di=
rectories.<br></div><div style=3D"font-family:Arial;">This draft is a wo=
rk item of the Email mailstore and eXtensions To Revise or Amend WG of t=
he IETF.<br></div><div style=3D"font-family:Arial;"><br></div><div style=
=3D"font-family:Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Title=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : INTERNET =
MESSAGE ACCESS PROTOCOL - VERSION 4rev2<br></div><div style=3D"font-fami=
ly:Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Authors&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Alexey Melnikov<br></div><div st=
yle=3D"font-family:Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Barry Leiba<br></div><div style=3D"fon=
t-family:Arial;">Filename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : dr=
aft-ietf-extra-imap4rev2-05.txt<br></div><div style=3D"font-family:Arial=
;">Pages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 1=
45<br></div><div style=3D"font-family:Arial;">Date&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2019-07-09<br></div><div =
style=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial;"=
>Abstract:<br></div><div style=3D"font-family:Arial;">&nbsp;&nbsp; The I=
nternet Message Access Protocol, Version 4rev2 (IMAP4rev2)<br></div><div=
 style=3D"font-family:Arial;">&nbsp;&nbsp; allows a client to access and=
 manipulate electronic mail messages on<br></div><div style=3D"font-fami=
ly:Arial;">&nbsp;&nbsp; a server.&nbsp; IMAP4rev2 permits manipulation o=
f mailboxes (remote<br></div><div style=3D"font-family:Arial;">&nbsp;&nb=
sp; message folders) in a way that is functionally equivalent to local<b=
r></div><div style=3D"font-family:Arial;">&nbsp;&nbsp; folders.&nbsp; IM=
AP4rev2 also provides the capability for an offline<br></div><div style=3D=
"font-family:Arial;">&nbsp;&nbsp; client to resynchronize with the serve=
r.<br></div><div style=3D"font-family:Arial;"><br></div><div style=3D"fo=
nt-family:Arial;">&nbsp;&nbsp; IMAP4rev2 includes operations for creatin=
g, deleting, and renaming<br></div><div style=3D"font-family:Arial;">&nb=
sp;&nbsp; mailboxes, checking for new messages, permanently removing mes=
sages,<br></div><div style=3D"font-family:Arial;">&nbsp;&nbsp; setting a=
nd clearing flags, RFC 5322, RFC 2045 and RFC 2231 parsing,<br></div><di=
v style=3D"font-family:Arial;">&nbsp;&nbsp; searching, and selective fet=
ching of message attributes, texts, and<br></div><div style=3D"font-fami=
ly:Arial;">&nbsp;&nbsp; portions thereof.&nbsp; Messages in IMAP4rev2 ar=
e accessed by the use of<br></div><div style=3D"font-family:Arial;">&nbs=
p;&nbsp; numbers.&nbsp; These numbers are either message sequence number=
s or unique<br></div><div style=3D"font-family:Arial;">&nbsp;&nbsp; iden=
tifiers.<br></div><div style=3D"font-family:Arial;"><br></div><div style=
=3D"font-family:Arial;">&nbsp;&nbsp; IMAP4rev2 does not specify a means =
of posting mail; this function is<br></div><div style=3D"font-family:Ari=
al;">&nbsp;&nbsp; handled by a mail submission protocol such as RFC 6409=
.<br></div><div style=3D"font-family:Arial;"><br></div><div style=3D"fon=
t-family:Arial;"><br></div><div style=3D"font-family:Arial;">The IETF da=
tatracker status page for this draft is:<br></div><div style=3D"font-fam=
ily:Arial;">https://datatracker.ietf.org/doc/draft-ietf-extra-imap4rev2/=
<br></div><div style=3D"font-family:Arial;"><br></div><div style=3D"font=
-family:Arial;">There are also htmlized versions available at:<br></div>=
<div style=3D"font-family:Arial;">https://tools.ietf.org/html/draft-ietf=
-extra-imap4rev2-05<br></div><div style=3D"font-family:Arial;">https://d=
atatracker.ietf.org/doc/html/draft-ietf-extra-imap4rev2-05<br></div><div=
 style=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial;=
">A diff from the previous version is available at:<br></div><div style=3D=
"font-family:Arial;">https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-extr=
a-imap4rev2-05<br></div><div style=3D"font-family:Arial;"><br></div><div=
 style=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial;=
">Please note that it may take a couple of minutes from the time of subm=
ission<br></div><div style=3D"font-family:Arial;">until the htmlized ver=
sion and diff are available at tools.ietf.org.<br></div><div style=3D"fo=
nt-family:Arial;"><br></div><div style=3D"font-family:Arial;">Internet-D=
rafts are also available by anonymous FTP at:<br></div><div style=3D"fon=
t-family:Arial;">ftp://ftp.ietf.org/internet-drafts/<br></div><div style=
=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial;">____=
___________________________________________<br></div><div style=3D"font-=
family:Arial;">Extra mailing list<br></div><div style=3D"font-family:Ari=
al;">Extra@ietf.org<br></div><div style=3D"font-family:Arial;">https://w=
ww.ietf.org/mailman/listinfo/extra<br></div><div style=3D"font-family:Ar=
ial;"><br></div></blockquote><div style=3D"font-family:Arial;"><br></div=
><div id=3D"sig56629417"><div class=3D"signature">--<br></div><div class=
=3D"signature">&nbsp; Bron Gondwana, CEO, Fastmail Pty Ltd<br></div><div=
 class=3D"signature">&nbsp; brong@fastmailteam.com<br></div><div class=3D=
"signature"><br></div></div><div style=3D"font-family:Arial;"><br></div>=
</body></html>
--de90ead9656e4a0c89aab29558332034--


From nobody Sun Jul 14 06:12:37 2019
Return-Path: <barryleiba@gmail.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 3EB361201F8 for <extra@ietfa.amsl.com>; Sun, 14 Jul 2019 06:12:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.557
X-Spam-Level: 
X-Spam-Status: No, score=-1.557 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.091, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 xC9xRS8wcXWz for <extra@ietfa.amsl.com>; Sun, 14 Jul 2019 06:12:33 -0700 (PDT)
Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7DE71201EC for <extra@ietf.org>; Sun, 14 Jul 2019 06:12:33 -0700 (PDT)
Received: by mail-io1-f49.google.com with SMTP id j6so29989175ioa.5 for <extra@ietf.org>; Sun, 14 Jul 2019 06:12:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vkM7GWqxMum84gz5RK7O7MpFxIdmkLluhfzsizT8jrw=; b=M5JpDy4ztpG4Pqf8T8IRE+MRvZ/EQY4m6DwhmwsNoAo1wsushhMlWkvULG/R5iNyDl ip9HaQAX8feBCT6GfPrZrRUVxoUtiTHDFjOWVGNOhaVRfMFN3fJG6vCSzpfbX/zfraZs cj13WBTBXTOsORrR6IMd6pBrdiWMG1iF7vj0Xj6fZVa5JJRaiVnTPcAwgYWzcDp4mfWI Syto0jXS2RL7R30juXZcLJzxw7UPnBpb8ZeXOgp1oX+DQrj6mc7PudFcnUOynGGvWwHG zg9W494taa3rmEYiUFZZzRD/8QBmGUiAQEzNMDVQzeWMEgmi8Xmh5tUP5AMpoBr47OiW I7Gg==
X-Gm-Message-State: APjAAAWa4KZcHZMht0s7JAIzBmTJvrLshmm0YZOwLXzjd1smhDYDdj/i P8RG+xa7uoslE9Tg51Hh88UKvcecOIfdStdAo98=
X-Google-Smtp-Source: APXvYqxe0GfpTjDYQBIV2iNb6wTSuAh01px4KxmLJwms3FrjcVu9c2K1NifLV4DcUo/z28l47PJC0DQBLfqeZHwLoq0=
X-Received: by 2002:a5e:9701:: with SMTP id w1mr20633083ioj.294.1563109952728;  Sun, 14 Jul 2019 06:12:32 -0700 (PDT)
MIME-Version: 1.0
References: <156268893231.15786.8849995440978646095@ietfa.amsl.com> <33b03176-fd2d-474a-abb8-043f1d45451d@www.fastmail.com>
In-Reply-To: <33b03176-fd2d-474a-abb8-043f1d45451d@www.fastmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Sun, 14 Jul 2019 09:12:22 -0400
Message-ID: <CALaySJJ8G3yojqib3UbMMt6aMR=unsa93P=4FPik8pX9VSZZzA@mail.gmail.com>
To: Bron Gondwana <brong@fastmailteam.com>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, extra@ietf.org
Content-Type: multipart/alternative; boundary="0000000000007a34ad058da3e52e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/Z1BAmbWJCzexkWjyLVOFwcg-abo>
Subject: Re: [Extra] I-D Action: draft-ietf-extra-imap4rev2-05.txt
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: Sun, 14 Jul 2019 13:12:35 -0000

--0000000000007a34ad058da3e52e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

This is a really dicey situation, because it=E2=80=99s impossible to know w=
hat the
user wants, depending upon the situation.  One can easily come up with
reasonable scenarios where the subscription is strictly to a mailbox=E2=80=
=99s
name, and it should not follow a rename.

I think the best we can do is talk about the options and use cases, and
leave it without normative statements.

Barry

On Sun, Jul 14, 2019 at 8:40 AM Bron Gondwana <brong@fastmailteam.com>
wrote:

> Late comment on this - based on a query that came up in info-cyrus.
> RFC3501 was not clear on the handling of subscription when renaming
> folders, or when a client uses the DELETE command itself via IMAP.  It do=
es
> say that the server must not unilaterally remove the subscription if the
> folder no longer exists (e.g. an alerts mailbox when gets deleted when
> empty and recreated when new email arrives), but nothing else.
>
> It would be good to clarify expected behaviour in those two cases, and at
> least say the server MAY delete the subscription if the user deletes a
> folder, and maybe even SHOULD rename the subscription if the user renames
> the folder!
>
> Cheers,
>
> Bron.
>
> On Wed, Jul 10, 2019, at 02:15, internet-drafts@ietf.org wrote:
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> This draft is a work item of the Email mailstore and eXtensions To Revise
> or Amend WG of the IETF.
>
>         Title           : INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev=
2
>         Authors         : Alexey Melnikov
>                           Barry Leiba
> Filename        : draft-ietf-extra-imap4rev2-05.txt
> Pages           : 145
> Date            : 2019-07-09
>
> Abstract:
>    The Internet Message Access Protocol, Version 4rev2 (IMAP4rev2)
>    allows a client to access and manipulate electronic mail messages on
>    a server.  IMAP4rev2 permits manipulation of mailboxes (remote
>    message folders) in a way that is functionally equivalent to local
>    folders.  IMAP4rev2 also provides the capability for an offline
>    client to resynchronize with the server.
>
>    IMAP4rev2 includes operations for creating, deleting, and renaming
>    mailboxes, checking for new messages, permanently removing messages,
>    setting and clearing flags, RFC 5322, RFC 2045 and RFC 2231 parsing,
>    searching, and selective fetching of message attributes, texts, and
>    portions thereof.  Messages in IMAP4rev2 are accessed by the use of
>    numbers.  These numbers are either message sequence numbers or unique
>    identifiers.
>
>    IMAP4rev2 does not specify a means of posting mail; this function is
>    handled by a mail submission protocol such as RFC 6409.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-extra-imap4rev2/
>
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-extra-imap4rev2-05
> https://datatracker.ietf.org/doc/html/draft-ietf-extra-imap4rev2-05
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-extra-imap4rev2-05
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra
>
>
> --
>   Bron Gondwana, CEO, Fastmail Pty Ltd
>   brong@fastmailteam.com
>
>
>

--0000000000007a34ad058da3e52e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><div dir=3D"auto">This is a really dicey situation, because it=E2=80=
=99s impossible to know what the user wants, depending upon the situation.=
=C2=A0 One can easily come up with reasonable scenarios where the subscript=
ion is strictly to a mailbox=E2=80=99s name, and it should not follow a ren=
ame.</div></div><div dir=3D"auto"><br></div><div dir=3D"auto">I think the b=
est we can do is talk about the options and use cases, and leave it without=
 normative statements.</div><div dir=3D"auto"><br></div><div dir=3D"auto">B=
arry</div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma=
il_attr">On Sun, Jul 14, 2019 at 8:40 AM Bron Gondwana &lt;<a href=3D"mailt=
o:brong@fastmailteam.com">brong@fastmailteam.com</a>&gt; wrote:<br></div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex"><u></u><div><div style=3D"font-family:Arial">L=
ate comment on this - based on a query that came up in info-cyrus.=C2=A0 RF=
C3501 was not clear on the handling of subscription when renaming folders, =
or when a client uses the DELETE command itself via IMAP.=C2=A0 It does say=
 that the server must not unilaterally remove the subscription if the folde=
r no longer exists (e.g. an alerts mailbox when gets deleted when empty and=
 recreated when new email arrives), but nothing else.<br></div><div style=
=3D"font-family:Arial"><br></div><div style=3D"font-family:Arial">It would =
be good to clarify expected behaviour in those two cases, and at least say =
the server MAY delete the subscription if the user deletes a folder, and ma=
ybe even SHOULD rename the subscription if the user renames the folder!<br>=
</div><div style=3D"font-family:Arial"><br></div><div style=3D"font-family:=
Arial">Cheers,<br></div><div style=3D"font-family:Arial"><br>Bron.<br></div=
><div style=3D"font-family:Arial"><br></div><div>On Wed, Jul 10, 2019, at 0=
2:15, <a href=3D"mailto:internet-drafts@ietf.org" target=3D"_blank">interne=
t-drafts@ietf.org</a> wrote:<br></div><blockquote type=3D"cite" id=3D"m_732=
0952850666337849qt"><div style=3D"font-family:Arial"><br></div><div style=
=3D"font-family:Arial">A New Internet-Draft is available from the on-line I=
nternet-Drafts directories.<br></div><div style=3D"font-family:Arial">This =
draft is a work item of the Email mailstore and eXtensions To Revise or Ame=
nd WG of the IETF.<br></div><div style=3D"font-family:Arial"><br></div><div=
 style=3D"font-family:Arial">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Tit=
le=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : INTERNET M=
ESSAGE ACCESS PROTOCOL - VERSION 4rev2<br></div><div style=3D"font-family:A=
rial">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Authors=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Alexey Melnikov<br></div><div style=3D"fon=
t-family:Arial">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 Barry Leiba<br></div><div style=3D"font-family:Arial">Fi=
lename=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : draft-ietf-extra-imap4re=
v2-05.txt<br></div><div style=3D"font-family:Arial">Pages=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : 145<br></div><div style=3D"fon=
t-family:Arial">Date=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 : 2019-07-09<br></div><div style=3D"font-family:Arial"><br></d=
iv><div style=3D"font-family:Arial">Abstract:<br></div><div style=3D"font-f=
amily:Arial">=C2=A0=C2=A0 The Internet Message Access Protocol, Version 4re=
v2 (IMAP4rev2)<br></div><div style=3D"font-family:Arial">=C2=A0=C2=A0 allow=
s a client to access and manipulate electronic mail messages on<br></div><d=
iv style=3D"font-family:Arial">=C2=A0=C2=A0 a server.=C2=A0 IMAP4rev2 permi=
ts manipulation of mailboxes (remote<br></div><div style=3D"font-family:Ari=
al">=C2=A0=C2=A0 message folders) in a way that is functionally equivalent =
to local<br></div><div style=3D"font-family:Arial">=C2=A0=C2=A0 folders.=C2=
=A0 IMAP4rev2 also provides the capability for an offline<br></div><div sty=
le=3D"font-family:Arial">=C2=A0=C2=A0 client to resynchronize with the serv=
er.<br></div><div style=3D"font-family:Arial"><br></div><div style=3D"font-=
family:Arial">=C2=A0=C2=A0 IMAP4rev2 includes operations for creating, dele=
ting, and renaming<br></div><div style=3D"font-family:Arial">=C2=A0=C2=A0 m=
ailboxes, checking for new messages, permanently removing messages,<br></di=
v><div style=3D"font-family:Arial">=C2=A0=C2=A0 setting and clearing flags,=
 RFC 5322, RFC 2045 and RFC 2231 parsing,<br></div><div style=3D"font-famil=
y:Arial">=C2=A0=C2=A0 searching, and selective fetching of message attribut=
es, texts, and<br></div><div style=3D"font-family:Arial">=C2=A0=C2=A0 porti=
ons thereof.=C2=A0 Messages in IMAP4rev2 are accessed by the use of<br></di=
v><div style=3D"font-family:Arial">=C2=A0=C2=A0 numbers.=C2=A0 These number=
s are either message sequence numbers or unique<br></div><div style=3D"font=
-family:Arial">=C2=A0=C2=A0 identifiers.<br></div><div style=3D"font-family=
:Arial"><br></div><div style=3D"font-family:Arial">=C2=A0=C2=A0 IMAP4rev2 d=
oes not specify a means of posting mail; this function is<br></div><div sty=
le=3D"font-family:Arial">=C2=A0=C2=A0 handled by a mail submission protocol=
 such as RFC 6409.<br></div><div style=3D"font-family:Arial"><br></div><div=
 style=3D"font-family:Arial"><br></div><div style=3D"font-family:Arial">The=
 IETF datatracker status page for this draft is:<br></div><div style=3D"fon=
t-family:Arial"><a href=3D"https://datatracker.ietf.org/doc/draft-ietf-extr=
a-imap4rev2/" target=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf=
-extra-imap4rev2/</a><br></div><div style=3D"font-family:Arial"><br></div><=
div style=3D"font-family:Arial">There are also htmlized versions available =
at:<br></div><div style=3D"font-family:Arial"><a href=3D"https://tools.ietf=
.org/html/draft-ietf-extra-imap4rev2-05" target=3D"_blank">https://tools.ie=
tf.org/html/draft-ietf-extra-imap4rev2-05</a><br></div><div style=3D"font-f=
amily:Arial"><a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-ex=
tra-imap4rev2-05" target=3D"_blank">https://datatracker.ietf.org/doc/html/d=
raft-ietf-extra-imap4rev2-05</a><br></div><div style=3D"font-family:Arial">=
<br></div><div style=3D"font-family:Arial">A diff from the previous version=
 is available at:<br></div><div style=3D"font-family:Arial"><a href=3D"http=
s://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-extra-imap4rev2-05" target=3D"_b=
lank">https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-extra-imap4rev2-05</a>=
<br></div><div style=3D"font-family:Arial"><br></div><div style=3D"font-fam=
ily:Arial"><br></div><div style=3D"font-family:Arial">Please note that it m=
ay take a couple of minutes from the time of submission<br></div><div style=
=3D"font-family:Arial">until the htmlized version and diff are available at=
 <a href=3D"http://tools.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br=
></div><div style=3D"font-family:Arial"><br></div><div style=3D"font-family=
:Arial">Internet-Drafts are also available by anonymous FTP at:<br></div><d=
iv style=3D"font-family:Arial"><a href=3D"ftp://ftp.ietf.org/internet-draft=
s/" target=3D"_blank">ftp://ftp.ietf.org/internet-drafts/</a><br></div><div=
 style=3D"font-family:Arial"><br></div><div style=3D"font-family:Arial">___=
____________________________________________<br></div><div style=3D"font-fa=
mily:Arial">Extra mailing list<br></div><div style=3D"font-family:Arial"><a=
 href=3D"mailto:Extra@ietf.org" target=3D"_blank">Extra@ietf.org</a><br></d=
iv><div style=3D"font-family:Arial"><a href=3D"https://www.ietf.org/mailman=
/listinfo/extra" target=3D"_blank">https://www.ietf.org/mailman/listinfo/ex=
tra</a><br></div><div style=3D"font-family:Arial"><br></div></blockquote><d=
iv style=3D"font-family:Arial"><br></div><div id=3D"m_7320952850666337849si=
g56629417"><div class=3D"m_7320952850666337849signature">--<br></div><div c=
lass=3D"m_7320952850666337849signature">=C2=A0 Bron Gondwana, CEO, Fastmail=
 Pty Ltd<br></div><div class=3D"m_7320952850666337849signature">=C2=A0 <a h=
ref=3D"mailto:brong@fastmailteam.com" target=3D"_blank">brong@fastmailteam.=
com</a><br></div><div class=3D"m_7320952850666337849signature"><br></div></=
div><div style=3D"font-family:Arial"><br></div></div></blockquote></div></d=
iv>

--0000000000007a34ad058da3e52e--


From nobody Mon Jul 15 06:23:02 2019
Return-Path: <brong@fastmailteam.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 77C1412008A for <extra@ietfa.amsl.com>; Mon, 15 Jul 2019 06:23:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=b5+IJYoq; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=oRfMiOkc
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 xQCsY17HGwvU for <extra@ietfa.amsl.com>; Mon, 15 Jul 2019 06:22:58 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AEFC612004C for <extra@ietf.org>; Mon, 15 Jul 2019 06:22:58 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 03FFE20D2D for <extra@ietf.org>; Mon, 15 Jul 2019 09:22:58 -0400 (EDT)
Received: from imap7 ([10.202.2.57]) by compute6.internal (MEProxy); Mon, 15 Jul 2019 09:22:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm3; bh=aH67WZY TzYYgK3AxNbRW47bbh612DI34biPXgiL+tas=; b=b5+IJYoqce+OSnSFoTcIYvw vwGOFpNrvFOZe2KX/xmoEV5KY2tJJTHqbWpkelkk70/E1m+f5pSV/NA6fCZ1/Tja bU0RgYG6UYUl2oA7yihM9WDF4x6LrRQfM/Op6CiSywZSUvRGLKio7f9h6xL2Upg+ hvwZbE8xX67Q5qGDMQZa6cWqNKs5iExJL5CYBLEaMoDTRw16Tq8cmjIfekmy49RG vFqnrsClT+zHtJffBy4D2OHEqR5aGudrWdNyJ2J5LTZWbEaqSEIioGKDRTMo4uBt M7ra1vBl3ynvc6JRzNiSZ5DUDr5n9yjWSXeN6hR54I4MKZ0+Q1yJcqvtzYpgWdw= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=aH67WZ YTzYYgK3AxNbRW47bbh612DI34biPXgiL+tas=; b=oRfMiOkchYIvNlRRlTApsI NryTSrykXEvUt1cL57sZt8flcNhJfM4R1xoKa2XpZkbTDYTOzlIcssbFRuOhXUCo hv9thx56jvO/Gb8j3vQxPH+wXaUjbrDVKE1TouhWaFuArPKdVd94liLTLpCByEA1 mjyxyaWr5ge5ESFP24OuGQAiZmAl5QQnC+FYqcAME4Xy+fWx+NqRVZrXCwNYcPGV 2Q4xjbjLorxIHb3vxeq+wndqutDnDDs9tkR1MfZ9YsLCp4lhcz64xSPBUv8WfRja f2XcIW64/dpVwuIa1Eb/Smd+Ec7bYphJ2F2ZYO2jRilml76QDj9//AT+xSLAqL3Q ==
X-ME-Sender: <xms:MX4sXaJu7bGDVaBTbrXJSzWAHMfmu88Dp5zJmjTFh_2WBLje4qL3vg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrheekgdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrgdtre erreerjeenucfhrhhomhepfdeurhhonhcuifhonhgufigrnhgrfdcuoegsrhhonhhgsehf rghsthhmrghilhhtvggrmhdrtghomheqnecuffhomhgrihhnpehivghtfhdrohhrghdpih gvthhfrddrohhrghenucfrrghrrghmpehmrghilhhfrhhomhepsghrohhnghesfhgrshht mhgrihhlthgvrghmrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:MX4sXSluQqjgzeQIrNMbcABhYHF86YAG6iiegQYsYn36TMnR7E4HMg> <xmx:MX4sXQIBzEMPwFcVcFuuc334rrnkJx3iAWvx0ucGI0BkAmqfVD-mDA> <xmx:MX4sXdWQ1OYbUZQiD2KM7emXnrJlTdyLjXCfbbX3-wsAXbKzPurZIQ> <xmx:MX4sXYIakmTZvKq2grnKiBoMwG6F3s9AcEdw6LMF6GzyfwCgIWxQ0Q>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 59E1F190AEB; Mon, 15 Jul 2019 09:22:57 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.6-731-g19d3b16-fmstable-20190627v1
Mime-Version: 1.0
Message-Id: <70c02daf-4b3f-4cc3-8ef3-ae7e6da4db1b@www.fastmail.com>
In-Reply-To: <CALaySJJ8G3yojqib3UbMMt6aMR=unsa93P=4FPik8pX9VSZZzA@mail.gmail.com>
References: <156268893231.15786.8849995440978646095@ietfa.amsl.com> <33b03176-fd2d-474a-abb8-043f1d45451d@www.fastmail.com> <CALaySJJ8G3yojqib3UbMMt6aMR=unsa93P=4FPik8pX9VSZZzA@mail.gmail.com>
Date: Mon, 15 Jul 2019 23:22:56 +1000
From: "Bron Gondwana" <brong@fastmailteam.com>
To: extra@ietf.org
Content-Type: multipart/alternative; boundary=5d83bfb673624a36a4e8ca28e0036ab9
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/Eu2tyo2y2eCCkWtgWTu7EwKGieo>
Subject: Re: [Extra] I-D Action: draft-ietf-extra-imap4rev2-05.txt
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: Mon, 15 Jul 2019 13:23:02 -0000

--5d83bfb673624a36a4e8ca28e0036ab9
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: quoted-printable

Can we give clients a reliable sequence? I expect it's probably somethin=
g like:

a RENAME X Y
b SUBSCRIBE Y
c UNSUBSCRIBE X

Bron.

On Sun, Jul 14, 2019, at 23:12, Barry Leiba wrote:
> This is a really dicey situation, because it=E2=80=99s impossible to k=
now what the user wants, depending upon the situation. One can easily co=
me up with reasonable scenarios where the subscription is strictly to a =
mailbox=E2=80=99s name, and it should not follow a rename.
>=20
> I think the best we can do is talk about the options and use cases, an=
d leave it without normative statements.
>=20
> Barry
>=20
> On Sun, Jul 14, 2019 at 8:40 AM Bron Gondwana <brong@fastmailteam.com>=
 wrote:
>> __
>> Late comment on this - based on a query that came up in info-cyrus. R=
FC3501 was not clear on the handling of subscription when renaming folde=
rs, or when a client uses the DELETE command itself via IMAP. It does sa=
y that the server must not unilaterally remove the subscription if the f=
older no longer exists (e.g. an alerts mailbox when gets deleted when em=
pty and recreated when new email arrives), but nothing else.
>>=20
>> It would be good to clarify expected behaviour in those two cases, an=
d at least say the server MAY delete the subscription if the user delete=
s a folder, and maybe even SHOULD rename the subscription if the user re=
names the folder!
>>=20
>> Cheers,
>>=20
>> Bron.
>>=20
>> On Wed, Jul 10, 2019, at 02:15, internet-drafts@ietf.org wrote:
>>>=20
>>> A New Internet-Draft is available from the on-line Internet-Drafts d=
irectories.
>>> This draft is a work item of the Email mailstore and eXtensions To R=
evise or Amend WG of the IETF.
>>>=20
>>>  Title : INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev2
>>>  Authors : Alexey Melnikov
>>>  Barry Leiba
>>> Filename : draft-ietf-extra-imap4rev2-05.txt
>>> Pages : 145
>>> Date : 2019-07-09
>>>=20
>>> Abstract:
>>>  The Internet Message Access Protocol, Version 4rev2 (IMAP4rev2)
>>>  allows a client to access and manipulate electronic mail messages o=
n
>>>  a server. IMAP4rev2 permits manipulation of mailboxes (remote
>>>  message folders) in a way that is functionally equivalent to local
>>>  folders. IMAP4rev2 also provides the capability for an offline
>>>  client to resynchronize with the server.
>>>=20
>>>  IMAP4rev2 includes operations for creating, deleting, and renaming
>>>  mailboxes, checking for new messages, permanently removing messages=
,
>>>  setting and clearing flags, RFC 5322, RFC 2045 and RFC 2231 parsing=
,
>>>  searching, and selective fetching of message attributes, texts, and=

>>>  portions thereof. Messages in IMAP4rev2 are accessed by the use of
>>>  numbers. These numbers are either message sequence numbers or uniqu=
e
>>>  identifiers.
>>>=20
>>>  IMAP4rev2 does not specify a means of posting mail; this function i=
s
>>>  handled by a mail submission protocol such as RFC 6409.
>>>=20
>>>=20
>>> The IETF datatracker status page for this draft is:
>>> https://datatracker.ietf.org/doc/draft-ietf-extra-imap4rev2/
>>>=20
>>> There are also htmlized versions available at:
>>> https://tools.ietf.org/html/draft-ietf-extra-imap4rev2-05 <https://t=
ools.ietf..org/html/draft-ietf-extra-imap4rev2-05>
>>> https://datatracker.ietf.org/doc/html/draft-ietf-extra-imap4rev2-05
>>>=20
>>> A diff from the previous version is available at:
>>> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-extra-imap4rev2-05
>>>=20
>>>=20
>>> Please note that it may take a couple of minutes from the time of su=
bmission
>>> until the htmlized version and diff are available at tools.ietf.org.=

>>>=20
>>> Internet-Drafts are also available by anonymous FTP at:
>>> ftp://ftp.ietf.org/internet-drafts/
>>>=20
>>> _______________________________________________
>>> Extra mailing list
>>> Extra@ietf.org
>>> https://www.ietf.org/mailman/listinfo/extra
>>>=20
>>=20
>> --
>>  Bron Gondwana, CEO, Fastmail Pty Ltd
>> brong@fastmailteam.com
>>=20
>>=20
> _______________________________________________
> Extra mailing list
> Extra@ietf.org
> https://www.ietf.org/mailman/listinfo/extra
>=20

--
 Bron Gondwana, CEO, Fastmail Pty Ltd
 brong@fastmailteam.com


--5d83bfb673624a36a4e8ca28e0036ab9
Content-Type: text/html;charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso=
Normal,p.MsoNoSpacing{margin:0}</style></head><body><div style=3D"font-f=
amily:Arial;">Can we give clients a reliable sequence?&nbsp; I expect it=
's probably something like:<br></div><div style=3D"font-family:Arial;"><=
br></div><div style=3D"font-family:Arial;">a RENAME X Y<br></div><div st=
yle=3D"font-family:Arial;">b SUBSCRIBE Y<br></div><div style=3D"font-fam=
ily:Arial;">c UNSUBSCRIBE X<br></div><div style=3D"font-family:Arial;"><=
br></div><div style=3D"font-family:Arial;">Bron.<br></div><div style=3D"=
font-family:Arial;"><br></div><div>On Sun, Jul 14, 2019, at 23:12, Barry=
 Leiba wrote:<br></div><blockquote type=3D"cite" id=3D"qt"><div><div dir=
=3D"auto">This is a really dicey situation, because it=E2=80=99s impossi=
ble to know what the user wants, depending upon the situation.&nbsp; One=
 can easily come up with reasonable scenarios where the subscription is =
strictly to a mailbox=E2=80=99s name, and it should not follow a rename.=
<br></div></div><div dir=3D"auto"><br></div><div dir=3D"auto">I think th=
e best we can do is talk about the options and use cases, and leave it w=
ithout normative statements.<br></div><div dir=3D"auto"><br></div><div d=
ir=3D"auto">Barry<br></div><div><div style=3D"font-family:Arial;"><br></=
div><div class=3D"qt-gmail_quote"><div class=3D"qt-gmail_attr" dir=3D"lt=
r">On Sun, Jul 14, 2019 at 8:40 AM Bron Gondwana &lt;<a href=3D"mailto:b=
rong@fastmailteam.com">brong@fastmailteam.com</a>&gt; wrote:<br></div><b=
lockquote style=3D"margin-top:0px;margin-right:0px;margin-bottom:0px;mar=
gin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:so=
lid;border-left-width:1px;padding-left:1ex;" class=3D"qt-gmail_quote"><d=
iv style=3D"font-family:Arial;"><u></u><br></div><div><div style=3D"font=
-family:Arial;">Late comment on this - based on a query that came up in =
info-cyrus.&nbsp; RFC3501 was not clear on the handling of subscription =
when renaming folders, or when a client uses the DELETE command itself v=
ia IMAP.&nbsp; It does say that the server must not unilaterally remove =
the subscription if the folder no longer exists (e.g. an alerts mailbox =
when gets deleted when empty and recreated when new email arrives), but =
nothing else.<br></div><div style=3D"font-family:Arial;"><br></div><div =
style=3D"font-family:Arial;">It would be good to clarify expected behavi=
our in those two cases, and at least say the server MAY delete the subsc=
ription if the user deletes a folder, and maybe even SHOULD rename the s=
ubscription if the user renames the folder!<br></div><div style=3D"font-=
family:Arial;"><br></div><div style=3D"font-family:Arial;">Cheers,<br></=
div><div style=3D"font-family:Arial;"><div style=3D"font-family:Arial;">=
<br></div><div style=3D"font-family:Arial;">Bron.<br></div></div><div st=
yle=3D"font-family:Arial;"><br></div><div>On Wed, Jul 10, 2019, at 02:15=
, <a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</=
a> wrote:<br></div><blockquote id=3D"qt-m_7320952850666337849qt" type=3D=
"cite"><div style=3D"font-family:Arial;"><br></div><div style=3D"font-fa=
mily:Arial;">A New Internet-Draft is available from the on-line Internet=
-Drafts directories.<br></div><div style=3D"font-family:Arial;">This dra=
ft is a work item of the Email mailstore and eXtensions To Revise or Ame=
nd WG of the IETF.<br></div><div style=3D"font-family:Arial;"><br></div>=
<div style=3D"font-family:Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; Title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=
 INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev2<br></div><div style=3D=
"font-family:Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Authors&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Alexey Melnikov<br></d=
iv><div style=3D"font-family:Arial;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Barry Leiba<br></div><div st=
yle=3D"font-family:Arial;">Filename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; : draft-ietf-extra-imap4rev2-05.txt<br></div><div style=3D"font-fa=
mily:Arial;">Pages&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; : 145<br></div><div style=3D"font-family:Arial;">Date&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2019-07-09<br><=
/div><div style=3D"font-family:Arial;"><br></div><div style=3D"font-fami=
ly:Arial;">Abstract:<br></div><div style=3D"font-family:Arial;">&nbsp;&n=
bsp; The Internet Message Access Protocol, Version 4rev2 (IMAP4rev2)<br>=
</div><div style=3D"font-family:Arial;">&nbsp;&nbsp; allows a client to =
access and manipulate electronic mail messages on<br></div><div style=3D=
"font-family:Arial;">&nbsp;&nbsp; a server.&nbsp; IMAP4rev2 permits mani=
pulation of mailboxes (remote<br></div><div style=3D"font-family:Arial;"=
>&nbsp;&nbsp; message folders) in a way that is functionally equivalent =
to local<br></div><div style=3D"font-family:Arial;">&nbsp;&nbsp; folders=
.&nbsp; IMAP4rev2 also provides the capability for an offline<br></div><=
div style=3D"font-family:Arial;">&nbsp;&nbsp; client to resynchronize wi=
th the server.<br></div><div style=3D"font-family:Arial;"><br></div><div=
 style=3D"font-family:Arial;">&nbsp;&nbsp; IMAP4rev2 includes operations=
 for creating, deleting, and renaming<br></div><div style=3D"font-family=
:Arial;">&nbsp;&nbsp; mailboxes, checking for new messages, permanently =
removing messages,<br></div><div style=3D"font-family:Arial;">&nbsp;&nbs=
p; setting and clearing flags, RFC 5322, RFC 2045 and RFC 2231 parsing,<=
br></div><div style=3D"font-family:Arial;">&nbsp;&nbsp; searching, and s=
elective fetching of message attributes, texts, and<br></div><div style=3D=
"font-family:Arial;">&nbsp;&nbsp; portions thereof.&nbsp; Messages in IM=
AP4rev2 are accessed by the use of<br></div><div style=3D"font-family:Ar=
ial;">&nbsp;&nbsp; numbers.&nbsp; These numbers are either message seque=
nce numbers or unique<br></div><div style=3D"font-family:Arial;">&nbsp;&=
nbsp; identifiers.<br></div><div style=3D"font-family:Arial;"><br></div>=
<div style=3D"font-family:Arial;">&nbsp;&nbsp; IMAP4rev2 does not specif=
y a means of posting mail; this function is<br></div><div style=3D"font-=
family:Arial;">&nbsp;&nbsp; handled by a mail submission protocol such a=
s RFC 6409.<br></div><div style=3D"font-family:Arial;"><br></div><div st=
yle=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial;">T=
he IETF datatracker status page for this draft is:<br></div><div style=3D=
"font-family:Arial;"><a href=3D"https://datatracker.ietf.org/doc/draft-i=
etf-extra-imap4rev2/">https://datatracker.ietf.org/doc/draft-ietf-extra-=
imap4rev2/</a><br></div><div style=3D"font-family:Arial;"><br></div><div=
 style=3D"font-family:Arial;">There are also htmlized versions available=
 at:<br></div><div style=3D"font-family:Arial;"><a href=3D"https://tools=
.ietf..org/html/draft-ietf-extra-imap4rev2-05">https://tools.ietf.org/ht=
ml/draft-ietf-extra-imap4rev2-05</a><br></div><div style=3D"font-family:=
Arial;"><a href=3D"https://datatracker.ietf.org/doc/html/draft-ietf-extr=
a-imap4rev2-05">https://datatracker.ietf.org/doc/html/draft-ietf-extra-i=
map4rev2-05</a><br></div><div style=3D"font-family:Arial;"><br></div><di=
v style=3D"font-family:Arial;">A diff from the previous version is avail=
able at:<br></div><div style=3D"font-family:Arial;"><a href=3D"https://w=
ww.ietf.org/rfcdiff?url2=3Ddraft-ietf-extra-imap4rev2-05">https://www.ie=
tf.org/rfcdiff?url2=3Ddraft-ietf-extra-imap4rev2-05</a><br></div><div st=
yle=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial;"><=
br></div><div style=3D"font-family:Arial;">Please note that it may take =
a couple of minutes from the time of submission<br></div><div style=3D"f=
ont-family:Arial;">until the htmlized version and diff are available at =
<a href=3D"http://tools.ietf.org">tools.ietf.org</a>.<br></div><div styl=
e=3D"font-family:Arial;"><br></div><div style=3D"font-family:Arial;">Int=
ernet-Drafts are also available by anonymous FTP at:<br></div><div style=
=3D"font-family:Arial;"><a href=3D"ftp://ftp.ietf.org/internet-drafts/">=
ftp://ftp.ietf.org/internet-drafts/</a><br></div><div style=3D"font-fami=
ly:Arial;"><br></div><div style=3D"font-family:Arial;">_________________=
______________________________<br></div><div style=3D"font-family:Arial;=
">Extra mailing list<br></div><div style=3D"font-family:Arial;"><a href=3D=
"mailto:Extra@ietf.org">Extra@ietf.org</a><br></div><div style=3D"font-f=
amily:Arial;"><a href=3D"https://www.ietf.org/mailman/listinfo/extra">ht=
tps://www.ietf.org/mailman/listinfo/extra</a><br></div><div style=3D"fon=
t-family:Arial;"><br></div></blockquote><div style=3D"font-family:Arial;=
"><br></div><div id=3D"qt-m_7320952850666337849sig56629417"><div class=3D=
"qt-m_7320952850666337849signature">--<br></div><div class=3D"qt-m_73209=
52850666337849signature">&nbsp; Bron Gondwana, CEO, Fastmail Pty Ltd<br>=
</div><div class=3D"qt-m_7320952850666337849signature">&nbsp; <a href=3D=
"mailto:brong@fastmailteam.com">brong@fastmailteam.com</a><br></div><div=
 class=3D"qt-m_7320952850666337849signature"><br></div></div><div style=3D=
"font-family:Arial;"><br></div></div></blockquote></div></div><div>_____=
__________________________________________<br></div><div>Extra mailing l=
ist<br></div><div>Extra@ietf.org<br></div><div>https://www.ietf.org/mail=
man/listinfo/extra<br></div><div><br></div></blockquote><div style=3D"fo=
nt-family:Arial;"><br></div><div id=3D"sig56629417"><div class=3D"signat=
ure">--<br></div><div class=3D"signature">&nbsp; Bron Gondwana, CEO, Fas=
tmail Pty Ltd<br></div><div class=3D"signature">&nbsp; brong@fastmailtea=
m.com<br></div><div class=3D"signature"><br></div></div><div style=3D"fo=
nt-family:Arial;"><br></div></body></html>
--5d83bfb673624a36a4e8ca28e0036ab9--

