Re: [EAI] AD review of draft-ietf-eai-pop-06

Barry Leiba <barryleiba.mailing.lists@gmail.com> Mon, 20 July 2009 21:30 UTC

Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: ima@core3.amsl.com
Delivered-To: ima@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 60AB53A6DB1 for <ima@core3.amsl.com>; Mon, 20 Jul 2009 14:30:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.469
X-Spam-Level:
X-Spam-Status: No, score=-1.469 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3iQJQwpjEpWp for <ima@core3.amsl.com>; Mon, 20 Jul 2009 14:30:38 -0700 (PDT)
Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by core3.amsl.com (Postfix) with ESMTP id D26783A6C07 for <ima@ietf.org>; Mon, 20 Jul 2009 14:30:34 -0700 (PDT)
Received: by bwz28 with SMTP id 28so2243133bwz.37 for <ima@ietf.org>; Mon, 20 Jul 2009 14:29:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=fxtReP+MPA8QYoNhcBeJtjzIIvgA+dcdEEj9bKzEFHE=; b=d9JcHd17QDneMeAq+kOCcnzc/7Y0C7SRr4T0xz/Vgcc1vt9ALRo3x+eP+1M5fEHa+K STsiSriG1sZnRBk0kieTEw/sgQZiUGnhtbYcjfiFBAdO2gTDysRaQASNBUS/4O7eK2+E mPdOTH/h5uEWzhGwNwhSMPJ1b2UFr85MapQBo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=VaKaTXzXL1kWGJBGOVgLW87Kd+uIjUmyq/4lnYCbS7OekI+2pqzkCO29adkboTGnD/ H35J9LXyE3ssaA5WCLEYd7RiqmSnvDpgelU/cqB4GmyWv422KxDEzoP6FHtnWo2jex/F WSo11uS13v301ilHYq3dIlv+Pp+ts6Zc7fpaQ=
MIME-Version: 1.0
Received: by 10.239.150.144 with SMTP id n16mr469665hbb.132.1248125389431; Mon, 20 Jul 2009 14:29:49 -0700 (PDT)
In-Reply-To: <4A622ED5.2050602@isode.com>
References: <4A5B2FBA.9080908@alvestrand.no> <4A622ED5.2050602@isode.com>
Date: Mon, 20 Jul 2009 17:29:49 -0400
Message-ID: <6c9fcc2a0907201429o390b83a1n5858ce2a32deef5e@mail.gmail.com>
From: Barry Leiba <barryleiba.mailing.lists@gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: EAI WG <ima@ietf.org>
Subject: Re: [EAI] AD review of draft-ietf-eai-pop-06
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: barryleiba@computer.org
List-Id: "EAI \(Email Address Internationalization\)" <ima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ima>
List-Post: <mailto:ima@ietf.org>
List-Help: <mailto:ima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jul 2009 21:30:39 -0000

>>   The octet count (size) of a message reported in a response to the
>>   LIST command SHOULD match the actual number of octets sent in a RETR
>>   response.  Sizes reported elsewhere, such as in STAT responses and
>>   non-standardized free-form text in positive status indicators
>>   (following "+OK") need not be accurate, but it is preferable if they
>>   are.
>
> I would like to hear some justification for returning inaccurate sizes (and
> for the SHOULD instead of a MUST).

It may be that a conversion has to be made in order to get an accurate
size.  Perhaps an implementation would be well advised to go ahead and
do the conversion as soon as the size is needed, and then cache the
converted document until the RETR is done, but that might not be
practical (suppose a LIST is listing 5000 messages; the server can't
really convert all 5000 for the list command, and it'd likely then
have to re-convert the ones that are actually retrieved).

The SHOULD (and the permission to be inaccurate in other responses)
gives an "out" to the server, allowing it to reserve the expensive
processing for when the message is actually retrieved.

Because clients have to be changed to ask for this anyway, those
clients can also understand that they have to deal with a retrieval
that might be larger than they were led to expect, and they can code
for it.

Barry