Re: [Extra] Robert Wilton's Discuss on draft-ietf-extra-imap-fetch-preview-09: (with DISCUSS and COMMENT)

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 23 September 2020 20:18 UTC

Return-Path: <rwilton@cisco.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 36D413A1496; Wed, 23 Sep 2020 13:18:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.6
X-Spam-Level:
X-Spam-Status: No, score=-9.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=Wz1+5EWB; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=TF4OCYA+
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 cagyZEXcToBk; Wed, 23 Sep 2020 13:18:54 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4C723A1495; Wed, 23 Sep 2020 13:18:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=47386; q=dns/txt; s=iport; t=1600892333; x=1602101933; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=Dyy2ixX6yOzLY8NYF6qzejFZ0Za5Oo3FOnnCNcrcyUg=; b=Wz1+5EWBDejjNTwYltcjsbroKmDFOHqUqeol5Jt/kgQLVFU1XvEUL4xv NSy9Z4ufuPGck9L/AT4x0FRROrAMl8XQgDjh+6UtSuhHNPjR1TWr4ugPV dLgqQkmNmR46U/bYm6vD848EqK+jEWEHqOb/ui6oAOY8ux/wqh25X0c0K k=;
IronPort-PHdr: 9a23:D9qeixYdgQYxnUaOk56WZCz/LSx94ef9IxIV55w7irlHbqWk+dH4MVfC4el21QWRD47c7upZl+fM9af6Vj9I7ZWAtSUEd5pBH18AhN4NlgMtSMiCFQXgLfHsYiB7eaYKVFJs83yhd0QAHsH4ag7ZpXiq8CIfAFP4LwUmbujwE5TZ2sKw0e368pbPYgJO0Ty6Z746LBi/oQjL8McMho43IacqwRyPqXxNKOk=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CxCQBZrWtf/4cNJK1gg3svUQdwWS8sCoQwg0YDjXmBApd0gUKBEQNVCwEBAQ0BAS0CBAEBhEsCF4ITAiQ4EwIDAQELAQEFAQEBAgEGBG2FXAyFcgEBAQECARIICQoTAQE3AQQHBAIBCBEEAQEhAQYDAgICMBQJCAIEDgUIGoMFgX5NAw4gAQOsNAKBOYhhdoEygwEBAQWFOBiCEAmBOIJxg2mGNR0bgUE/gRFDgU9JNT6ECAEMBgEHAho0gmEzgi2PbwEEARsBgmk8hn6dAwqCZ5dogwyDDIl7hTqOSLJ/AgQCBAUCDgEBBYFrI0QjcHAVgyRQFwINjlaDOopWdDcCBgEJAQEDCXyLHQEGIQSBCQExXwEB
X-IronPort-AV: E=Sophos;i="5.77,293,1596499200"; d="scan'208,217";a="564315986"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Sep 2020 20:18:51 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 08NKIpYP018284 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 23 Sep 2020 20:18:51 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Sep 2020 15:18:50 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Sep 2020 15:18:50 -0500
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 23 Sep 2020 15:18:50 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KpM3In39icK7Y3bZd56d2LV+V2oIUim3UAjw97vEmOh7oWCcwEMc98X7PCj8ULoHuxMp6kJTmQDnTEW1EK6Kl5dIYsiNLwlh5/N6i514ho6dCSvVq8FagyHjK84qbHH+4maD9pPrOzgPneKvS8/PCI/qER9leGIfk4PsJSi9Ova/r9U6K4QW1+PrpLjdSW6+qfWGtwqK4waszhU5cyd7s1FfvH8qsYUg8KkpLscYdRrHYdYGLkXcLouxr7jLIYdiX0Q51ASIKR7u/M+rI5PakyD8NB+TT8FtT5yuUFAoI82X+u8cytOjUNM3ZUXdaf7gYxpydSSceJUukhWoEBWVRg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dyy2ixX6yOzLY8NYF6qzejFZ0Za5Oo3FOnnCNcrcyUg=; b=jV8BbRrsqeZDbPB8guLNe+6iRSixOgvEtbwmvqxIxWQvDy0yeLZG/wIEHg9ttTEGiRUgrob8cAxx6HKtzVkOoUxbzAnQ8vF9Fvq2ZUyypnhi4EyYeKVj4vBM8sNC1f2nlRDraTKkQw+WW1sRd0v/unjOCCdxH+zR1cjYaFsk5ii/qCVr9m1XCVFwtayBNIvkZs0pTnniW/If/FGVcHXini1QhTXr6j7xsescGoORjwJmEqCuwCv3wdFJOrplDPdqL1kfOJ+XIUDzuDRHM+wL+5x5ZdJAaYHVonzRQs8PFoh2zV/6l3xqz7e3cDSio2+Z9kAI2H8U50bjECv13dwlIQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dyy2ixX6yOzLY8NYF6qzejFZ0Za5Oo3FOnnCNcrcyUg=; b=TF4OCYA+oEBqkuONBnm3awQVAFypbHGohLpn7MIiMSh/4PneCvL0MvZJ7IynPmVdz4DmV4X+F/H99WOiGn/LmJ0UAaswybO0ko4a61sks9AOqBd71Yd5AmYb0FOFM1iBBeXO6Bx/pZYYyZp5HCPcJ/gMXLtfhb+0611OjoAd3p4=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by BL0PR11MB2995.namprd11.prod.outlook.com (2603:10b6:208:7a::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Wed, 23 Sep 2020 20:18:47 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::d84a:115:9ce0:8241]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::d84a:115:9ce0:8241%4]) with mapi id 15.20.3391.026; Wed, 23 Sep 2020 20:18:47 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Barry Leiba <barryleiba@computer.org>
CC: Bron Gondwana <brong@fastmailteam.com>, The IESG <iesg@ietf.org>, "draft-ietf-extra-imap-fetch-preview@ietf.org" <draft-ietf-extra-imap-fetch-preview@ietf.org>, "extra-chairs@ietf.org" <extra-chairs@ietf.org>, "extra@ietf.org" <extra@ietf.org>
Thread-Topic: Robert Wilton's Discuss on draft-ietf-extra-imap-fetch-preview-09: (with DISCUSS and COMMENT)
Thread-Index: AQHWkYurchLaEd0LLEekS3MA3yfp+Kl2Hq4AgAAODKCAAEd9gIAAAYBggAAS5wCAAAVa0A==
Date: Wed, 23 Sep 2020 20:18:47 +0000
Message-ID: <MN2PR11MB436644ABD14E296A6574DDA4B5380@MN2PR11MB4366.namprd11.prod.outlook.com>
References: <160085317360.24429.9473480615397529741@ietfa.amsl.com> <CALaySJLyzwOWYjdx_+y1QhEJ1KEVmuFDGnpPjXjiseB-An4wFg@mail.gmail.com> <MN2PR11MB43665D81C390B1BDB15A8621B5380@MN2PR11MB4366.namprd11.prod.outlook.com> <CALaySJ+RWxkFiSFEfsKvBricNb0p0C2Yom+PfNeXykPc_K0zUg@mail.gmail.com> <MN2PR11MB4366C701954F33831BC8310EB5380@MN2PR11MB4366.namprd11.prod.outlook.com> <CALaySJ+iK-W8mTjz1j3Fj9gjqghzQzPG0EG5GLYVAv9uRqhidg@mail.gmail.com>
In-Reply-To: <CALaySJ+iK-W8mTjz1j3Fj9gjqghzQzPG0EG5GLYVAv9uRqhidg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: computer.org; dkim=none (message not signed) header.d=none;computer.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [82.12.233.180]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: dfb5c495-cb57-43d5-467b-08d85ffde0e8
x-ms-traffictypediagnostic: BL0PR11MB2995:
x-microsoft-antispam-prvs: <BL0PR11MB2995668D0C4D45528CC8065AB5380@BL0PR11MB2995.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 7m82jtL96/8LU2gL2FahV+/3lFxDlqyar7QCOntjGYAjpnYAYmDroQeW0vWMvkgE4Yy1VSG45UyQJpSAWgiWHrY5R5RTnIU96zl/PMiskD/k8d3E54C7dzpzBSbvrCrr4VVD5ne1FuYyVloW+cB8QAjD9BXfoUwdzAfn0Jsc3ZgZrW6uZB6d/oa1WJFBn827sAaOuL82EwaiNaJif/HN+1ytD1bZvefvpZ3XWrGHSMblZi3MGb9vwTJ42Byaz65YpNRmMwfEjrEDOldG2jz6UaraarFpjBotcgQXt8/g8K52iysd+LiDD5iiPEFvEKh+T2pFKR7/czeIfVVVSkR9Kg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(396003)(39860400002)(136003)(346002)(366004)(9686003)(478600001)(316002)(4326008)(71200400001)(33656002)(30864003)(6916009)(55016002)(52536014)(186003)(66476007)(66446008)(76116006)(9326002)(83380400001)(66946007)(86362001)(5660300002)(8936002)(2906002)(64756008)(6506007)(26005)(54906003)(66556008)(53546011)(7696005)(8676002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: t5eEWGnPl4NJ1XE8A7TXouo6nvZBNK4nPWA6ArTAGc3N4CRiJobCNVr9RXiZyBvV0WW2qbjv7J9Sh8uCQMepJZKEN7QU77V4dPXqbCCKeUpzGQprpFg3gdFQk6Kjjy1dLOoNAamlAr5ERJ9Cq/5aMu5U6TrdozQ19ZB9MVEFv9PXGorDUsvBe3EzoV3bX2r7s0KYdJyPpY7GcRn4b98eresySqwPGdhzcLHuYR+THNRYRkXKBbBnZP/ZtycjM018h3wrXhnAYHgDCbG5kdWrkZWqPQg9XxTpx/fhW/c6UE0aFaR98ZWG75G6UMKk9ls2/JCG6qg42YqktknIF+sSH7XxQyHtTJ7ai+9rII3cvI3OsM4UhPozASx99hjQZomY/OBTMvXuyv8Dw7N9XAU1Bcyy4nncNhKjFqVkv0C7GQP/B1LFcOXB0YbOwVQMXMIndn8to4f/GqXwe8CyPMz1L2sWVvDbC1hAMcAPYZbmh4P/ANmbQSo2KOwKhw9IYF3Nubf7cF/MfK5aLGgXpE3qj8cCH9d2bN7kRz7HIRKRa0uWLExy+kXWoCYu7Yi2VrsrCx8bI94TTGc/QPdk4xQgnKHOfE/lWwYofmaaZherDAslPp2XqN9/6AEDhuwmRn9BAcLsL892mEHerOuXaWoalw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB436644ABD14E296A6574DDA4B5380MN2PR11MB4366namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4366.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dfb5c495-cb57-43d5-467b-08d85ffde0e8
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2020 20:18:47.3490 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 7wfYqTnTpl1ffjC/LfssqvN+k4HWYxv866yAHcOB1Yj7bwlSiSynbyZW2UsYKJZsQqKlZxJHY3sRJfjqbZSnYw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB2995
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.11, xch-rcd-001.cisco.com
X-Outbound-Node: alln-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/KzsUpo9OoDWX1ESr2N65plkmxAY>
Subject: Re: [Extra] Robert Wilton's Discuss on draft-ietf-extra-imap-fetch-preview-09: (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: Wed, 23 Sep 2020 20:18:57 -0000

Hi Barry,

Sorry, but I still find the existing paragraph is unclear and under specified.

It states what to do for the case that the server both (i) cannot generate the preview AND (ii) this is not a transient error.
But because of the “and that decision won't change later”) text, which seems to be somewhat contradicted by the final example, then my reading of this paragraph is that it does not apply for transient errors, and hence the server could either return “NO” or perhaps it could return an empty preview.

Is the document intended to be ambiguous in this regard?  I.e., the server can choose what to do in the case that it hits a transient error?

Note that “4.2.  Client Implementation Advice” indicates that such a transient error could be reasonably expected to occur on the server and explicitly recommends that clients limit the size of the requests to avoid them …

Regards,
Rob


From: Barry Leiba <barryleiba@computer.org>
Sent: 23 September 2020 19:18
To: Rob Wilton (rwilton) <rwilton@cisco.com>
Cc: Bron Gondwana <brong@fastmailteam.com>; The IESG <iesg@ietf.org>; draft-ietf-extra-imap-fetch-preview@ietf.org; extra-chairs@ietf.org; extra@ietf.org
Subject: Re: Robert Wilton's Discuss on draft-ietf-extra-imap-fetch-preview-09: (with DISCUSS and COMMENT)

Sorry, Rob, but I really think it would be bad for this to be different to the rest of IMAP.  In practice, we don’t seem to have issues with transient errors in IMAP back-end stores, so it really has not been a long-term issue.  It would be much worse to define an extension (and a simple, straightforward extension, at that) that attempts to significantly overhaul how IMAP returns errors.

Please, let’s consider this discussion to have been had, and not try to go there.

Barry

On Wed, Sep 23, 2020 at 1:25 PM Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>> wrote:
Thanks.  I think that was the background explanation that I was missing.



But given this is a new extension, I presume that it is possible that the error handling behaviour for this extension could be defined a bit more tightly.



At the moment, my interpretation of the error handling is:  The server has one shot at generating this, and if it hits a transient error then the client ends up with no preview, with the justification that errors should be rare.



An alternative might be to weaken the following text, so that clients should not immediately and repeatedly send another FETCH, but they may query again in future if appropriate.  Perhaps you see that the SHOULD NOT already allows this?  But I'm not sure that it is particularly clear.



Clients SHOULD NOT send another FETCH for a preview for such

>    messages.  (As discussed previously, preview data is not immutable so

>    there is chance that at some point in the future the server would be

>    able to generate meaningful text.  However, this scenario is expected

>    to be rare so a client should not continually send out requests to

>    try to capture this infrequent occurrence.)



Regards,

Rob





> -----Original Message-----

> From: Barry Leiba <barryleiba@computer.org<mailto:barryleiba@computer.org>>

> Sent: 23 September 2020 18:05

> To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>

> Cc: extra@ietf.org<mailto:extra@ietf.org>; Bron Gondwana <brong@fastmailteam.com<mailto:brong@fastmailteam.com>>; The IESG

> <iesg@ietf.org<mailto:iesg@ietf.org>>; extra-chairs@ietf.org<mailto:extra-chairs@ietf.org>; draft-ietf-extra-imap-fetch-

> preview@ietf.org<mailto:preview@ietf.org>

> Subject: Re: Robert Wilton's Discuss on draft-ietf-extra-imap-fetch-

> preview-09: (with DISCUSS and COMMENT)

>

> Well, there's a general thing with IMAP: What does a server do if you

> FETCH ENVELOPE or FETCH BODYSTRUCTURE and the server has a problem

> generating the response (say, some transient error in parsing the

> message because of a back-end database glitch?  There are two choices:

> fill in NIL for strings and 0 for numbers and just fake up a response,

> which can really screw up clients... or reply NO and hope that the

> client will handle that well enough, and will maybe try again later --

> which can really screw up clients.  In retrospect, maybe it would have

> been nice to have the 3xx/4xx/5xx sort of mechanism, allowing for

> temporary errors with semantics of "try again later, for some

> unspecified value of 'later'."  But it's not that way, and there's

> really nothing that can be done about it now.

>

> Barry

>

> On Wed, Sep 23, 2020 at 12:50 PM Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>

> wrote:

> >

> > Hi Barry,

> >

> > Please see inline ...

> >

> > > -----Original Message-----

> > > From: iesg <iesg-bounces@ietf.org<mailto:iesg-bounces@ietf.org>> On Behalf Of Barry Leiba

> > > Sent: 23 September 2020 12:59

> > > To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>

> > > Cc: extra@ietf.org<mailto:extra@ietf.org>; Bron Gondwana <brong@fastmailteam.com<mailto:brong@fastmailteam.com>>; The IESG

> > > <iesg@ietf.org<mailto:iesg@ietf.org>>; extra-chairs@ietf.org<mailto:extra-chairs@ietf.org>; draft-ietf-extra-imap-fetch-

> > > preview@ietf.org<mailto:preview@ietf.org>

> > > Subject: Re: Robert Wilton's Discuss on draft-ietf-extra-imap-fetch-

> > > preview-09: (with DISCUSS and COMMENT)

> > >

> > > > Thanks for this document.  I found it easy to read and understand,

> but

> > > have one

> > > > potential issue that probably warrants a bit of discussion.  I don't

> > > have any

> > > > great knowledge of IMAP, so this may already be handled elsewhere,

> but I

> > > had a

> > > > concern about returning zero-length strings under error conditions.

> > > >

> > > >    It is possible that the server has determined that no meaningful

> > > >    preview text can be generated for a particular message, and that

> > > >    decision won't change later.  Examples of this involve encrypted

> > > >    messages, content types the server does not support previews of,

> and

> > > >    other situations where the server is not able to extract

> information

> > > >    for a preview.  In such cases, the server MUST return a zero-

> length

> > > >    string.  Clients SHOULD NOT send another FETCH for a preview for

> such

> > > >    messages.  (As discussed previously, preview data is not

> immutable so

> > > >    there is chance that at some point in the future the server would

> be

> > > >    able to generate meaningful text.  However, this scenario is

> expected

> > > >    to be rare so a client should not continually send out requests

> to

> > > >    try to capture this infrequent occurrence.)

> > > >

> > > >    ... A server MUST NOT return NIL

> > > >    to a FETCH PREVIEW request made without the LAZY modifier.

> > > >

> > > > When the LAZY modifier is not being used, then what would be

> returned if

> > > the

> > > > server was transiently unable to return the preview for any reason?

> > > Does it

> > > > still have to return a zero-length string in this error case?  Is

> there

> > > some

> > > > way that the server can indicate that it cannot satisfy the request

> now

> > > but

> > > > without indicating that no preview is available?

> > >

> > > The idea here is that there are three conditions:

> > >

> > > 1. The server determines that there's no preview available for this

> > > message, and it returns an empty string: "" or the equivalent literal

> > > {0}.

> > >

> > > 2. The server returns a non-empty preview.

> > >

> > > 3. The client uses LAZY, indicating that it's OK to defer the

> > > generation of a preview and the server decides that deferral is the

> > > best approach, so it returns NIL.  At some later time, the client

> > > might re-send the FETCH without LAZY.  If it does, the server will

> > > respond with (1) or (2).

> > >

> > > So, NIL does not mean that no preview is available for the message; it

> > > means that the server is invoking the option given it by the LAZY

> > > modifier, and is deferring the response.

> > [RW]

> >

> > Sure.

> >

> > My concern is, for the non LAZY case, what does the server return if a

> preview should be available but the server cannot construct it at that

> point in time, for any reason?  Is it possible for the server to return an

> error? E.g., should it just fail the entire request?  If the only option

> is to return an empty string that they seems to imply not only that it

> cannot return a preview now, but it may well never be able to return a

> preview (which may not true).  I.e., the client has no way to distinguish

> between a transient failure at generating the preview and a semi-permanent

> indication that the preview cannot be generated for that particular

> message.

> >

> > I have memories of using IMAP clients where they effectively get

> stuck/broken and seem to have to slowly resync all the data from the

> server.  Hence my fear is that the server will fail to produce the preview

> at one point in time, and then the client is stuck without any previews

> for a subset of messages because a zero length preview string implies that

> there is no preview available and it SHOULD NOT ask again.

> >

> > Of course, I don't know IMAP, and hence I might just be missing

> something basic about how IMAP works ...

> >

> >

> > >

> > > > One minor comment:

> > > >

> > > >    This standardized display can reduce user confusion when using

> > > >    multiple clients, as abbreviated message representations in

> clients

> > > >    will show identical message contents.

> > > >

> > > > I didn't really find this reasoning to be compelling, and perhaps it

> > > could be

> > > > removed.  In my experience the amount of preview displayed depends

> on

> > > client

> > > > behaviour or settings (e.g., how much space to allow for previews).

> > >

> > > Perhaps some slight re-phrasing of this text will address your comment

> > > ℗rhaps changing the word "identical"), but the point here isn't that

> > > all clients will always present the preview in exactly the same way:

> > > indeed, one might present less text than another due to space

> > > limitations in the UI.  The point here is that if a message says that

> > > we have to discuss document status in the EXTRA working group and we

> > > should do it over lunch tomorrow and should we go for Chinese or

> > > Indian food and at what time... we won't wind up with one client's

> > > preview saying that the message is about the EXTRA working group's

> > > document status while another's says it's about lunch plans tomorrow

> > > and still another's that it's about China and India.  I think this is

> > > useful text making a useful point, and that we shouldn't remove it.

> > [RW]

> >

> > Okay.  Will look/respond to your subsequent email.

> >

> > Thanks,

> > Rob

> >

> >

> > >

> > > Barry

> >