
From nobody Tue Mar  3 10:47:32 2015
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA6C81A011B for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 10:47:31 -0800 (PST)
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, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 c8-q17HQ3NtB for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 10:47:30 -0800 (PST)
Received: from strange.aox.org (strange.aox.org [80.244.248.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 450AF1A883A for <imapext@ietf.org>; Tue,  3 Mar 2015 10:47:29 -0800 (PST)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id 41BDEFA0066; Tue,  3 Mar 2015 18:47:27 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1425408447; bh=bmVPkZV6PcVyimCyw29g7VTBoaM4Tuzj1n5Z1aiP0Vs=; h=From:To:Subject:Date:From; b=Gp1Np5t6/4Mvlo03f5ZYSyxVzAAYVg9y8VU2G5BY3bakjNLG5U+5ZqR2MNZKFntLq 4KCaN/Reg2NZYs/bcZEURZXyvObx7VGuC4TP+99xO92YIGREgSWR+pyHZwxur/KHMf Jq0wQ+LvWvm8gB/JooOqgXiIRZaPB0uHkXgZcxRk=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1425408404-5763-5762/12/6; Tue, 3 Mar 2015 18:46:44 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: imapext@ietf.org
Date: Tue, 3 Mar 2015 19:46:44 +0100
User-Agent: Trojita/v0.4.1-243-g4a74770; Qt/4.8.6; X11; Linux; Ubuntu 14.04.2 LTS
Mime-Version: 1.0
Message-Id: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no>
Content-Type: text/plain; charset=utf-8; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/1haXyVFZvNTIpM-qG0wyQRA7SCY>
Subject: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 18:47:32 -0000

Hi,

do any servers implement that? If so, which?

Some Gmail-specific clients create an x-gm-label called Later. I don't see 
a way to do anything equivalent using create-special-use, am I overlooking 
anything?

Arnt


From nobody Tue Mar  3 13:24:32 2015
Return-Path: <brong@fastmail.fm>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E0CC1ACCEA for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 13:24:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 kQp5hivugAEq for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 13:24:29 -0800 (PST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 925D71ACCE6 for <imapext@ietf.org>; Tue,  3 Mar 2015 13:24:29 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8971520793 for <imapext@ietf.org>; Tue,  3 Mar 2015 16:24:27 -0500 (EST)
Received: from web2 ([10.202.2.212]) by compute6.internal (MEProxy); Tue, 03 Mar 2015 16:24:28 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=mesmtp; bh=qeAJH8Eh/Al7Oa0c7XTsCL5uv8Y=; b=Vxy9VW NXMHP1K5nR63DnBtr+fbqI/jljiVsSWVibWdnNAFp3bGmCBUzUyz+UWUki+8sP6c DMiClH7Nc/VDo+i0gmGE0Ls6Fsz+BJC6wfADlqUPc7nzG15uiGPpRtrE+XYtVglb fvY6gPMsWWX/IngVz4WkYVzorrqA8JQiRW2aM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:subject :date:in-reply-to:references; s=smtpout; bh=qeAJH8Eh/Al7Oa0c7XTs CL5uv8Y=; b=qoauo2ipHjYo8iySnz+b3ce0aFT1HY0nzsodod7KHmbetf3j4Qye J24QEZNXAzm8j8ctvw2QhxPYRw6ptGdHyk9dau83bOg5D90LPxUoP2lrUpQZq0kI ADOmezEDDAG9JyPheOAL+lUsPngh0T1LaTPBfNbMDTtE9oLrJk2qCHs=
Received: by web2.nyi.internal (Postfix, from userid 99) id 86217540073; Tue,  3 Mar 2015 16:24:28 -0500 (EST)
Message-Id: <1425417868.1364733.235096741.6C31BCDB@webmail.messagingengine.com>
X-Sasl-Enc: JPOIPVDhE8GOL4ynqYURbqqhS1nbMp3QxsG8DeIPLowJ 1425417868
From: Bron Gondwana <brong@fastmail.fm>
To: imapext@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: MessagingEngine.com Webmail Interface - ajax-4ba7306c
Date: Wed, 04 Mar 2015 08:24:28 +1100
In-Reply-To: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no>
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no>
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/o59BqayQIhNHDQMYXdR2UTi1J_Q>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 21:24:31 -0000

On Wed, Mar 4, 2015, at 05:46 AM, Arnt Gulbrandsen wrote:
> Hi,
> 
> do any servers implement that? If so, which?

Cyrus 2.5 will when it gets released (hopefully today).  We use it at FastMail when we create accounts.
 
> Some Gmail-specific clients create an x-gm-label called Later. I don't see 
> a way to do anything equivalent using create-special-use, am I overlooking 
> anything?

So create-special-use defined only a specific set of labels.  In Cyrus we support adding other special-use fields, but you need to name them in the config file:

specialuse_extra: \XChats \XTemplates

Bron.

-- 
  Bron Gondwana
  brong@fastmail.fm


From nobody Tue Mar  3 13:26:32 2015
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C74FC1ACD12 for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 13:26:30 -0800 (PST)
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, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 pwvjCzSDC_5j for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 13:26:29 -0800 (PST)
Received: from strange.aox.org (strange.aox.org [80.244.248.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 96C8F1ACCDF for <imapext@ietf.org>; Tue,  3 Mar 2015 13:26:29 -0800 (PST)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id D0063FA0160; Tue,  3 Mar 2015 21:26:27 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1425417987; bh=m/efq0fA6fZQfah7bdMT3AZjJ/NdXyK0s5wAMmqzuog=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GaAR/UMu0AucAvNiqRZ82iAxE03RQojXFwGc2RN5vWWYqAf+kfHNHn5InYeJPIivt 6vSb2gOfi/6zNJs+niCNXp5C8ocU7lyOh/s1DfzShiG/8d+BEW4Ssv/B54TDOtN/3y 1SQFtpq2uQHbxenUeH3r4Ep/A59kcBKVX+gGzZYU=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1425417955-5763-5762/12/10; Tue, 3 Mar 2015 21:25:55 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: imapext@ietf.org
Date: Tue, 3 Mar 2015 22:25:55 +0100
User-Agent: Trojita/v0.4.1-243-g4a74770; Qt/4.8.6; X11; Linux; Ubuntu 14.04.2 LTS
Mime-Version: 1.0
Message-Id: <27d8bbe9-7a79-46b8-a1c0-8ce2dc38023f@gulbrandsen.priv.no>
In-Reply-To: <1425417868.1364733.235096741.6C31BCDB@webmail.messagingengine.com>
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no> <1425417868.1364733.235096741.6C31BCDB@webmail.messagingengine.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/ic4a-eSC0kKTjoeLOFyMxeo4rKI>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 21:26:30 -0000

On Tuesday, March 3, 2015 10:24:28 PM CEST, Bron Gondwana wrote:
> So create-special-use defined only a specific set of labels.  
> In Cyrus we support adding other special-use fields, but you 
> need to name them in the config file:
>
> specialuse_extra: \XChats \XTemplates

Sounds as if this is not discoverable/usable in an IMAP client?

Arnt


From nobody Tue Mar  3 13:28:21 2015
Return-Path: <brong@fastmail.fm>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2175F1ACCE2 for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 13:28:20 -0800 (PST)
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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 JvFhLo7ROn7V for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 13:28:18 -0800 (PST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B98931A8756 for <imapext@ietf.org>; Tue,  3 Mar 2015 13:28:18 -0800 (PST)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1093D202E6 for <imapext@ietf.org>; Tue,  3 Mar 2015 16:28:17 -0500 (EST)
Received: from web2 ([10.202.2.212]) by compute3.internal (MEProxy); Tue, 03 Mar 2015 16:28:18 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=URHcQP8n3lnr96sQFkfkwQjviPU=; b=kzzC 82KfMBFwmFb1k6VA8PJXudn7qcVv/37EqSQkZ1LcucgtZa0uFGWzmWE2tm9Yw7um Vv6Edz/nvFZrfYU/Pcs++a3PkEOhtjfyHE0aTZ0/y7xZgrFfG8TySnsv+AuuC6KX +8ulHhxR8Yj2quNGigPTUroTHVzrReDz1nem2xI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=URHcQP8n3lnr96sQFkfkwQjv iPU=; b=h+0z9vr0jsaEHHgRSfe3d9ID7lxhak8d7cGfctXPYT5QhfYG6qyvYr+Z b69MkVlWq8jNWypRk8KSptBSvGXBOve8WpwYjKdLIuWHkBNDZqu0f5smBE6EmIVO h3kFnKymQZ5cuFWyF3tddWD75oLm7qFXbpQN4Z3MtPqwS383I+g=
Received: by web2.nyi.internal (Postfix, from userid 99) id 0B66F540073; Tue,  3 Mar 2015 16:28:18 -0500 (EST)
Message-Id: <1425418097.1365483.235098797.36CDC47A@webmail.messagingengine.com>
X-Sasl-Enc: FPZDBTPBKxln2EWBvR3683va1pdczsDhF6W57W9d7w9y 1425418097
From: Bron Gondwana <brong@fastmail.fm>
To: imapext@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: MessagingEngine.com Webmail Interface - ajax-4ba7306c
In-Reply-To: <27d8bbe9-7a79-46b8-a1c0-8ce2dc38023f@gulbrandsen.priv.no>
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no> <1425417868.1364733.235096741.6C31BCDB@webmail.messagingengine.com> <27d8bbe9-7a79-46b8-a1c0-8ce2dc38023f@gulbrandsen.priv.no>
Date: Wed, 04 Mar 2015 08:28:17 +1100
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/PWkZFKejjEvbTyVoyMujd4CnEFI>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 21:28:20 -0000

On Wed, Mar 4, 2015, at 08:25 AM, Arnt Gulbrandsen wrote:
> On Tuesday, March 3, 2015 10:24:28 PM CEST, Bron Gondwana wrote:
> > So create-special-use defined only a specific set of labels.  
> > In Cyrus we support adding other special-use fields, but you 
> > need to name them in the config file:
> >
> > specialuse_extra: \XChats \XTemplates
> 
> Sounds as if this is not discoverable/usable in an IMAP client?

Sadly not.  The spec provides no provision for advertising what special-use names the server supports that I can see.

I guess a client can see that they exist in the LIST response, but that's about it.

Bron.

-- 
  Bron Gondwana
  brong@fastmail.fm


From nobody Tue Mar  3 15:53:14 2015
Return-Path: <chris.newman@oracle.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DCDE61A7013 for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 15:53:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.211
X-Spam-Level: 
X-Spam-Status: No, score=-2.211 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, J_CHICKENPOX_74=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 l7ZimDytA27H for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 15:53:12 -0800 (PST)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 498001A3BA2 for <imapext@ietf.org>; Tue,  3 Mar 2015 15:53:12 -0800 (PST)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t23NrBul026393 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <imapext@ietf.org>; Tue, 3 Mar 2015 23:53:11 GMT
Received: from hermes-fe-3.easd.brm.oracle.com (hermes-fe-3.easd.brm.oracle.com [10.79.248.12]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t23NrBmr032739 for <imapext@ietf.org>; Tue, 3 Mar 2015 23:53:11 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; CHARSET=US-ASCII
Received: from [10.145.183.59] (dhcp-arcadia01-4fl-east-10-145-183-59.usdhcp.oraclecorp.com [10.145.183.59]) by hermes-fe-3.easd.brm.oracle.com (Oracle Communications Messaging Server 7.0.5.34.0 64bit (built Oct 14 2014)) with ESMTPSA id <0NKN0003WUCKG100@hermes-fe-3.easd.brm.oracle.com> for imapext@ietf.org; Tue, 03 Mar 2015 15:53:11 -0800 (PST)
Date: Tue, 03 Mar 2015 15:53:08 -0800
From: Chris Newman <chris.newman@oracle.com>
To: Timo Sirainen <tss@iki.fi>, imapext@ietf.org
Message-id: <BD49B2643D31BC497FF977F4@96B2F16665FF96BAE59E9B90>
In-reply-to: <C5DD1129-A4C0-4BD9-BAD7-664FBDF9E414@iki.fi>
References: <C5DD1129-A4C0-4BD9-BAD7-664FBDF9E414@iki.fi>
X-Mailer: Mulberry/4.0.8 (Mac OS X)
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/5cMnMHVztRh18oWpVSnUb7oVUw4>
Subject: Re: [imapext] Fetching short text snippet for mails
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 23:53:14 -0000

--On December 1, 2014 22:39:13 -0800 Timo Sirainen <tss@iki.fi> wrote:

> Nowadays many mail clients want to show about 100 chars of the beginning of
> mail, so there should be a nice and efficient way for clients to request
> this. I'm now wondering what would be a nice IMAP way of implementing this.
> Does anyone have some suggestions? There's what I've come up with so far:
> 
> a) FETCH n (SNIPPET)
>  - Would require writing a new RFC (or just use X-SNIPPET for internal use)
> 
> b) FETCH n (ANNOTATION (/vendor/vendor.dovecot.snippet))
>  - Would require implementing ANNOTATE, which is a lot of work. But it could
> also be implemented just minimally for this specific command.  -
> Standardizing vendor.dovecot.snippet would probably require new RFC
> 
> c) CONVERT n ("text/vnd.dovecot.snippet" ("length" "100")) BINARY[BODY]
>  - Would require implementing CONVERT, which is a lot of work. But it could
> also be implemented just minimally for this specific command.  -
> Standardizing vnd.dovecot.snippet would probably require new RFC
> 
> d) CONVERT n ("text/plain") BINARY[BODY]<0.100>
>  - CONVERT RFC says it's legal to convert entire multiparts, but doesn't say
> exactly what should be done with them. This is probably a valid use case
> though.  - Downside to this compared to others is that this always fetches
> the first 100 chars, while the others could also be smarter and skip over
> quoted text and such.
> 
> I think I'm leaning towards b)

I'm leaning towards a variant of a. Server advertises capability SNIPPET=BASE
indicating it implements the "BASE" snippet algorithm (the one we'll define in
the base spec). We can define vendor-specific and other algorithms as needed
via fcfs (vendor) or expert review (non-vendor) registry. If client doesn't
care about the algorithm, it can FETCH (SNIPPET) which will return the snippet
algorithm the server prefers (usually for performance/caching reasons). If
client cares about snippet algorithm, it can ask for its preferred algorithm if
available (e.g., FETCH (SNIPPET=vnd.dovecot.v1)) or decide to use its built-in
fallback if it doesn't like algorithms available. Snippet algorithms are
immutable for caching/etc. Using named algorithms allows us to standardize a
good enough base algorithm rather than being imprecise/non-interoperable or
aiming for rough consensus on a single algorithm when it may not be achievable.

If our "base" algorithm is good enough, it will probably win in the market. If
not, a better algorithm can be created. This balances deterministic behavior
(the snippet algorithm name precisely determines the behavior) with
adaptability. But it keeps the server implementation simple. If we decide the
base algorithm shouldn't cover HTML content; then we can introduce an
HTML-supporting algorithm later (after we complete the base spec) and might
have two popular algorithms (not necessarily a bad thing).

I don't like b -- the Annotate extension is primarily for mutable data and
requires support for search/sort/store/condstore/context/ACL bits/etc. It's
very helpful to server implementers to separate mutable from immutable data.
Snippet data needs to be immutable to maximize caching efficiency. Adding magic
"immutable" annotations is ugly as it requires special-case code in the
commands that support annotate.

I don't like c or d because CONVERT is too complex and it's not really designed
for optimal server behavior (where there are a small enough number of options
that the server can pre-compute/cache when appropriate).

		- Chris


From nobody Tue Mar  3 17:32:46 2015
Return-Path: <chris.newman@oracle.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C56E1A8A41 for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 17:32:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 ED3srr20HdFD for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 17:32:43 -0800 (PST)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B2C41A8A28 for <imapext@ietf.org>; Tue,  3 Mar 2015 17:32:43 -0800 (PST)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t241Wg7V003130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <imapext@ietf.org>; Wed, 4 Mar 2015 01:32:43 GMT
Received: from hermes-fe-3.easd.brm.oracle.com (hermes-fe-3.easd.brm.oracle.com [10.79.248.12]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t241WgNx013127 for <imapext@ietf.org>; Wed, 4 Mar 2015 01:32:42 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; CHARSET=US-ASCII
Received: from [10.145.183.59] (dhcp-arcadia01-4fl-east-10-145-183-59.usdhcp.oraclecorp.com [10.145.183.59]) by hermes-fe-3.easd.brm.oracle.com (Oracle Communications Messaging Server 7.0.5.34.0 64bit (built Oct 14 2014)) with ESMTPSA id <0NKN0004KYYFG100@hermes-fe-3.easd.brm.oracle.com> for imapext@ietf.org; Tue, 03 Mar 2015 17:32:42 -0800 (PST)
Date: Tue, 03 Mar 2015 17:32:39 -0800
From: Chris Newman <chris.newman@oracle.com>
To: Jayantheesh S B <j.sb@sta.samsung.com>, imapext@ietf.org
Message-id: <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90>
In-reply-to: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com>
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com>
X-Mailer: Mulberry/4.0.8 (Mac OS X)
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/oMXIbxeLH26ZpXtklLM-mJq-bdI>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 01:32:45 -0000

--On February 27, 2015 20:57:05 +0000 Jayantheesh S B <j.sb@sta.samsung.com>
wrote:
> Please find the next version (04) of the draft attached with review comments
> addressed.
> 
> Changes in this version:
> 
> 1.       Append-limit-value changed from 32 bits to 64 bits unsigned number

Please use a 63-bit number to align with the new condstore RFC 7162. For those
who write IMAP software in C/C++, there is a technical argument to prefer use
of signed integers:
 http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Integer_Types
 (see "On Unsigned Integers")
So a 63-bit protocol limit allows the implementer freedom to choose the type.

The document should state that an append limit in excess of UINT32_MAX means
the server accepts larger-than 32-bit-unsigned integer lengths in append
command data literals (this change means this document updates the IMAP base
spec).

Q for list: If the server has a message larger than UINT32_MAX in the store and
a client tries to fetch it, should the server just go ahead and violate the
base-spec's UINT32_MAX limit or should the data be NIL unless the client uses
ENABLE to tell the server it accepts larger-than-uint32-max literals on
messages? If this extension fixes that base spec limitation in addition to
enabling better client diagnostics for overlarge messages, I think that's cool.

Having two different ways to access a per-folder limit is a violation of good
protocol design practices. Specifically 3.1 and 3.2 provide two ways to access
the same appendlimit. I believe the document would be improved by the removal
of section 3.1. Some problems with the current two-mechanism proposal:

* Which limit will the client use if the two limits are different?
* Should a client SELECT a mailbox before doing an APPEND? This is not required
by the base spec and is less efficient. The presence of section 3.1 implies a
client should do this. I do not think a client should do this. Removing section
3.1 removes this issue as a problem.
* The addition of APPENDLIMIT as a response to SELECT even for clients that
don't understand it penalizes all clients with unnecessary network traffic.
While it's not a big response by itself, we're starting to get a
death-of-1000-cuts problem with SELECT responses, so unless it's really
important (and in most cases I think the capability is good enough) I'd rather
not add that extra traffic (and potential battery life cost on mobile devices).
* The document does not state if the APPENDLIMIT response is a MUST/SHOULD/MAY.
If it's a MAY, my server implementation won't send it, in which case why is it
in the spec? If it's a SHOULD, I'll include a product option so admins can
disable it. If it's a MUST, I object to advancing the proposal.

I'm also curious, does anyone intend to implement different per-mailbox append
limits? If nobody speaks up, then perhaps we should just remove all of section
3.

One suggestion for the list to discuss; should we allow the limit to be
expressed in terms of Megabytes or Gigabytes via a suffix? Thus we'd have:

append-limit-value = 1*DIGIT ["G" / "M"]
                     ; M = Megabyte (* 1,000,000)
                     ; G = Gigabyte (* 1,000,000,000)
                     ; Unsigned 63-bit integer after multiplier
                     ; (1 <= n <= 9,223,372,036,854,775,807).

Not much additional code and makes the protocol both more concise and human
readable. Just a suggestion (we have some product config options like this).

FYI, I am interested in implementing this when it approaches rough consensus.

		- Chris


From nobody Tue Mar  3 17:46:17 2015
Return-Path: <chris.newman@oracle.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 34CC11A89B1 for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 17:46:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 A12wSV19wlce for <imapext@ietfa.amsl.com>; Tue,  3 Mar 2015 17:46:15 -0800 (PST)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4158C1A8A14 for <imapext@ietf.org>; Tue,  3 Mar 2015 17:46:15 -0800 (PST)
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t241kDIZ016128 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <imapext@ietf.org>; Wed, 4 Mar 2015 01:46:14 GMT
Received: from hermes-fe-3.easd.brm.oracle.com (hermes-fe-3.easd.brm.oracle.com [10.79.248.12]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t241kDwL020581 for <imapext@ietf.org>; Wed, 4 Mar 2015 01:46:13 GMT
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; CHARSET=US-ASCII
Received: from [10.145.183.59] (dhcp-arcadia01-4fl-east-10-145-183-59.usdhcp.oraclecorp.com [10.145.183.59]) by hermes-fe-3.easd.brm.oracle.com (Oracle Communications Messaging Server 7.0.5.34.0 64bit (built Oct 14 2014)) with ESMTPSA id <0NKN0004SZKZG100@hermes-fe-3.easd.brm.oracle.com> for imapext@ietf.org; Tue, 03 Mar 2015 17:46:13 -0800 (PST)
Date: Tue, 03 Mar 2015 17:46:11 -0800
From: Chris Newman <chris.newman@oracle.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, imapext@ietf.org
Message-id: <8644B12F7B072E44EAA10259@96B2F16665FF96BAE59E9B90>
In-reply-to: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no>
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no>
X-Mailer: Mulberry/4.0.8 (Mac OS X)
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/46c4GaU51uurf3SSRr-mkDF-z8I>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 01:46:16 -0000

--On March 3, 2015 19:46:44 +0100 Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
wrote:
> do any servers implement that? If so, which?

We intend to provide this extension in a future release of our server (Oracle
Communications Messaging Server).

		- Chris


From nobody Wed Mar  4 00:53:09 2015
Return-Path: <paul@pscs.co.uk>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61DE81A1A59 for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 00:53:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.611
X-Spam-Level: 
X-Spam-Status: No, score=-2.611 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 vd033k_scNHG for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 00:53:06 -0800 (PST)
Received: from mail.pscs.co.uk (mail.pscs.co.uk [188.65.177.237]) (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 414781A1A32 for <imapext@ietf.org>; Wed,  4 Mar 2015 00:53:04 -0800 (PST)
Authentication-Results: mail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from lmail.pscs.co.uk ([82.68.5.206]) by mail.pscs.co.uk ([188.65.177.237] running VPOP3) with ESMTP for <imapext@ietf.org>; Wed, 4 Mar 2015 08:59:15 -0000
Authentication-Results: lmail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from [192.168.66.101] ([192.168.66.101]) by lmail.pscs.co.uk ([192.168.66.70] running VPOP3) with ESMTP for <imapext@ietf.org>; Wed, 4 Mar 2015 08:52:20 -0000
Message-ID: <54F6C7C4.20307@pscs.co.uk>
Date: Wed, 04 Mar 2015 08:52:20 +0000
From: Paul Smith <paul@pscs.co.uk>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: imapext@ietf.org
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no>
In-Reply-To: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: paul
X-Server: VPOP3 Enterprise V6.11 - Registered
X-Organisation: Paul Smith Computer Services
X-Authenticated-Sender: paul
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/gQVcUIwRGWpYTUAvWmWvl3_91L0>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 08:53:08 -0000

On 03/03/2015 18:46, Arnt Gulbrandsen wrote:
> Hi,
>
> do any servers implement that? If so, which?
Assuming you mean RFC 6154, then our VPOP3 Enterprise mail server 
supports that since v6.3 (June 2013)

We just support the \Archive, \Drafts, \Junk, \Sent and \Trash attributes.

If there were other 'normal' attributes (eg \Templates) defined in later 
updates we could add those trivially. The 'meta' attributes (\Flagged 
and \All) would be a bit more tricky to support without being very slow, 
so we haven't bothered with those for now since there isn't user demand 
for them.



 


From nobody Wed Mar  4 01:42:24 2015
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42A2D1A1A59 for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 01:42:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham
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 6BItZ6Q65c4w for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 01:42:21 -0800 (PST)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0349D1A0354 for <imapext@ietf.org>; Wed,  4 Mar 2015 01:42:20 -0800 (PST)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id F3551FA015F; Wed,  4 Mar 2015 09:42:17 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1425462138; bh=lFKnuJqoQI7pIAhXHQ5UPe1xP08lz0Lk9yLuikikDnE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qJ+WFE9NIZeNZji4AyhV6Cw/ukb+fQ75NYfDHDxKhC8Xomq/LuzkiPRDscRi3MAt9 +/H9s2VM0wCefkHkqHUCg4EnTX1aajhCh+ekstUq+a5LfIejiXZ+8rSKlIquiTGaps dWiXowSSvPYPhrT8JcvU2mZ7HAS+G+cBJFHTeDa4=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1425462080-5763-5762/12/15; Wed, 4 Mar 2015 09:41:20 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: imapext@ietf.org
Date: Wed, 4 Mar 2015 10:41:19 +0100
User-Agent: Trojita/v0.4.1-243-g4a74770; Qt/4.8.6; X11; Linux; Ubuntu 14.04.2 LTS
Mime-Version: 1.0
Message-Id: <d5ee9f20-62f6-414c-bae4-4e54c30a4540@gulbrandsen.priv.no>
In-Reply-To: <54F6C7C4.20307@pscs.co.uk>
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no> <54F6C7C4.20307@pscs.co.uk>
Content-Type: text/plain; charset=utf-8; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/AAHkTgvi5Rj7cpBQ5xzPuFYLkDE>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 09:42:22 -0000

Paul Smith wrote:
> Assuming you mean RFC 6154, then our VPOP3 Enterprise mail 
> server supports that since v6.3 (June 2013)

6154 defines two capabilities, special-use and create-special-use. These 
are its example for the latter:

     C: t2 CREATE MySpecial (USE (\Drafts \Sent))
     S: t2 OK MySpecial created

     C: t3 CREATE Everything (USE (\All))
     S: t3 NO [USEATTR] \All not supported

Do you support that?

Arnt


From nobody Wed Mar  4 01:48:10 2015
Return-Path: <paul@pscs.co.uk>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 100601A1A91 for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 01:48:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.611
X-Spam-Level: 
X-Spam-Status: No, score=-2.611 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 CBoYORiJMhqI for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 01:48:08 -0800 (PST)
Received: from mail.pscs.co.uk (mail.pscs.co.uk [188.65.177.237]) (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 8A80F1A1A4A for <imapext@ietf.org>; Wed,  4 Mar 2015 01:48:07 -0800 (PST)
Authentication-Results: mail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from lmail.pscs.co.uk ([82.68.5.206]) by mail.pscs.co.uk ([188.65.177.237] running VPOP3) with ESMTP for <imapext@ietf.org>; Wed, 4 Mar 2015 09:54:18 -0000
Authentication-Results: lmail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from [192.168.66.101] ([192.168.66.101]) by lmail.pscs.co.uk ([192.168.66.70] running VPOP3) with ESMTP for <imapext@ietf.org>; Wed, 4 Mar 2015 09:47:13 -0000
Message-ID: <54F6D4A0.5040009@pscs.co.uk>
Date: Wed, 04 Mar 2015 09:47:12 +0000
From: Paul Smith <paul@pscs.co.uk>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: imapext@ietf.org
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no> <54F6C7C4.20307@pscs.co.uk> <d5ee9f20-62f6-414c-bae4-4e54c30a4540@gulbrandsen.priv.no>
In-Reply-To: <d5ee9f20-62f6-414c-bae4-4e54c30a4540@gulbrandsen.priv.no>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Authenticated-Sender: paul
X-Server: VPOP3 Enterprise V6.11 - Registered
X-Organisation: Paul Smith Computer Services
X-Authenticated-Sender: paul
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/UkiR45F7J2YlMsRFWUc2Z9OXS3U>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 09:48:09 -0000

On 04/03/2015 09:41, Arnt Gulbrandsen wrote:
> Paul Smith wrote:
>> Assuming you mean RFC 6154, then our VPOP3 Enterprise mail server 
>> supports that since v6.3 (June 2013)
>
> 6154 defines two capabilities, special-use and create-special-use. 
> These are its example for the latter:
>
>     C: t2 CREATE MySpecial (USE (\Drafts \Sent))
>     S: t2 OK MySpecial created
>
>     C: t3 CREATE Everything (USE (\All))
>     S: t3 NO [USEATTR] \All not supported
>
> Do you support that?
Yes (the text isn't identical - eg the error would be 'NO [USEATTR] 
Unsupported special use flag attempted', but the idea is the same)
 


From nobody Wed Mar  4 02:53:50 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6A161A1AB6 for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 02:53:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 rAyt9da_H9hc for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 02:53:47 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id BE1B41A00FA for <imapext@ietf.org>; Wed,  4 Mar 2015 02:53:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1425466427; d=isode.com; s=selector; i=@isode.com; bh=Zgl7CIj9PP51d5HAX/82EQd4+8w70dKK3rzWWLC7Frc=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=XbYpPgxi/ywJGmOUD7e4ZOC9MPVIwqHspfMlvQUUXzKzZInydi8szCHhB80OrRZD2mCxAu jnvrbfHRYjchGnmlXaZG3qp1uAmYdqzIohHmRZamk/2VnHIaUhRFIwAxbCU1WJyxcof3Ld r7Azy6yxCHgYgHBA3jniFx7gK435tJk=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VPbkOQBB7bsx@waldorf.isode.com>; Wed, 4 Mar 2015 10:53:46 +0000
Message-ID: <54F6E42F.30806@isode.com>
Date: Wed, 04 Mar 2015 10:53:35 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
To: Chris Newman <chris.newman@oracle.com>, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>, imapext@ietf.org
References: <1ee52396-01cb-4faa-be0e-a8783744e04a@gulbrandsen.priv.no> <8644B12F7B072E44EAA10259@96B2F16665FF96BAE59E9B90>
In-Reply-To: <8644B12F7B072E44EAA10259@96B2F16665FF96BAE59E9B90>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/QelR2-H9tQKG-5qL_kGmBf759BE>
Subject: Re: [imapext] create-special-use
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 10:53:49 -0000

On 04/03/2015 01:46, Chris Newman wrote:
> --On March 3, 2015 19:46:44 +0100 Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
> wrote:
>> do any servers implement that? If so, which?
> We intend to provide this extension in a future release of our server (Oracle
> Communications Messaging Server).
At the moment in Isode M-Box SPECIAL-USE attributes are based on server 
configuration, so the need for this is not strong for us. But Isode can 
add support for this if there is enough interest from client developers.




From nobody Wed Mar  4 09:50:10 2015
Return-Path: <prvs=1505e66ce7=j.sb@sta.samsung.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC0481A9163 for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 09:50:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level: 
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=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 iPJ5bZIqoaKH for <imapext@ietfa.amsl.com>; Wed,  4 Mar 2015 09:50:02 -0800 (PST)
Received: from smg2.telecom.sna.samsung.com (unknown [63.166.115.32]) by ietfa.amsl.com (Postfix) with ESMTP id A11D31A9162 for <imapext@ietf.org>; Wed,  4 Mar 2015 09:50:02 -0800 (PST)
X-AuditID: 41a9fa20-f79a06d000000b72-85-54f73ca7fe3b
Received: from exHub2.telecom.sna.samsung.com (Unknown_Domain [105.52.12.243]) by smg2.telecom.sna.samsung.com (SMGOUT STA) with SMTP id 67.76.02930.7AC37F45; Wed,  4 Mar 2015 11:11:03 -0600 (CST)
Received: from EXMB5.telecom.sna.samsung.com ([169.254.1.28]) by exHub2.telecom.sna.samsung.com ([2002:6934:cf3::6934:cf3]) with mapi id 14.03.0210.002; Wed, 4 Mar 2015 11:11:12 -0600
From: Jayantheesh S B <j.sb@sta.samsung.com>
To: Chris Newman <chris.newman@oracle.com>, "imapext@ietf.org" <imapext@ietf.org>
Thread-Topic: [imapext] The IMAP APPENDLIMIT Extension - version 04
Thread-Index: AdBSzw2ZKCvPDQ5xTcmtwxOjXtSHBwDflbCAABKudQA=
Date: Wed, 4 Mar 2015 17:11:12 +0000
Message-ID: <02454F842DD7B449B96715A2AD90C036510C0173@exMB5.telecom.sna.samsung.com>
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90>
In-Reply-To: <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [105.52.12.197]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsWSacLzWXe/6/cQg1Nn+S2ON79isng8i8uB yWPJkp9MHh+f3mIJYIritklKLCkLzkzP07dL4M6YtXQNe8FFnYofEx4yNzDuUO5i5OSQEDCR aDm2jRnCFpO4cG89G4gtJHCMUWLWBA0IezejxNFXVV2M7BxsAjoST4JBoiICwRIbZp1nB7GF BZwkNr7tYoOIO0usWHaOFcK2kri95xdYnEVARWLxzbksIDavQIjEpftPgOJcQNO7GCUOzfwK NohTwEHi2eTdYEWMQOd8P7WGCcRmFhCXuPVkPhPEmQISS/achzpZVOLl43+sELaixNxfN5kh 6nUkFuz+xAZha0ssW/iaGWKxoMTJmU9YJjCKzkIydhaSlllIWmYhaVnAyLKKUaY4N91IryQ1 JzU5P1evOC9Rrzgxt7g0L10PyN/ECIwYx5W/FHYwNuyyP8TIxMF5iFGCg0tKpDg1LyW1KLG0 JCMeFCPxxcAokWpgZOFocheeeL6x63ihw9YtF7dP5zn3jTvx0HN5qftKqw4bn3+eNS+vKdX7 Ukfli+vpX55P2DI9Nfar6s8be9M3s3YHiUvNUInx5fFjODd9q90D1S626fd/LL/VMkt3scbn fSmrXrIYfZphzhf66hzPopONsrXW3zv+NMzZr5Q+8aGkaZLPpZoNt5RYijMSDbWYi4oTAWr7 jEVjAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/g4ew8cX03dABHHtJsDndGIrqzGY>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Mar 2015 17:50:05 -0000

Chris,

Thanks for your time in reviewing the document.=20

Please find my response inline.=20

Regards,
Jay

-----Original Message-----
From: Chris Newman [mailto:chris.newman@oracle.com]=20
Sent: Tuesday, March 03, 2015 8:33 PM
To: Jayantheesh S B; imapext@ietf.org
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04

--On February 27, 2015 20:57:05 +0000 Jayantheesh S B <j.sb@sta.samsung.com=
>
wrote:
> Please find the next version (04) of the draft attached with review=20
> comments addressed.
>=20
> Changes in this version:
>=20
> 1.       Append-limit-value changed from 32 bits to 64 bits unsigned numb=
er

Please use a 63-bit number to align with the new condstore RFC 7162. For th=
ose who write IMAP software in C/C++, there is a technical argument to pref=
er use of signed integers:
 http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Integer_Ty=
pes
 (see "On Unsigned Integers")
So a 63-bit protocol limit allows the implementer freedom to choose the typ=
e.

The document should state that an append limit in excess of UINT32_MAX mean=
s the server accepts larger-than 32-bit-unsigned integer lengths in append =
command data literals (this change means this document updates the IMAP bas=
e spec).

[Jay] Really I am wondering if anyone have the APPENDLIMIT value for indivi=
dual mail greater than 2^32. Because, I see most of the providers like Gmai=
l, restricts supporting the attachment handling with Max of ~25 MB.
I see in real time use case, supporting more than 512 MB of APPENDLIMIT per=
 mail is practically not the going to happen. Appending mail with attachmen=
t more than 512MB of data is not realistic. Moreover, this value is not dir=
ectly
 related to physical mailbox limit. So, am thinking to restrict the APPENDL=
IMIT value to 32 bits. Please share if you have any comments.=20

Q for list: If the server has a message larger than UINT32_MAX in the store=
 and a client tries to fetch it, should the server just go ahead and violat=
e the base-spec's UINT32_MAX limit or should the data be NIL unless the cli=
ent uses ENABLE to tell the server it accepts larger-than-uint32-max litera=
ls on messages? If this extension fixes that base spec limitation in additi=
on to enabling better client diagnostics for overlarge messages, I think th=
at's cool.

Having two different ways to access a per-folder limit is a violation of go=
od protocol design practices. Specifically 3.1 and 3.2 provide two ways to =
access the same appendlimit. I believe the document would be improved by th=
e removal of section 3.1. Some problems with the current two-mechanism prop=
osal:


[Jay] Agree with you. But APPEND command can be sent in both Authenticated =
as well as Selected state, that's why added APPENDLIMIT response in both LI=
ST as well as SELECT.  Moreover in Capabilities, if APPENDLIMIT  string wit=
hout any value is received indicates, server has per mailbox limit. In this=
 case, client has to rely on the LIST or SELECT response to get the per mai=
lbox specific limit. In case, if APPENDLIMIT is not published as part of ca=
pabilities indicates, this extension is not supported in the IMAP server, s=
o client can assume it won't receive the APPENDLIMIT as part of LIST and SE=
LECT. Even if server sends in this case, client can ignore.=20
Regarding the per mailbox specific limit,  based on the earlier discussion =
review comments section 3 has been added. But if everybody feels, its unnec=
essary to have the mailbox specific limit for this use case. We can re-cons=
ider it.

* Which limit will the client use if the two limits are different?
* Should a client SELECT a mailbox before doing an APPEND? This is not requ=
ired by the base spec and is less efficient. The presence of section 3.1 im=
plies a client should do this. I do not think a client should do this. Remo=
ving section
3.1 removes this issue as a problem.
* The addition of APPENDLIMIT as a response to SELECT even for clients that=
 don't understand it penalizes all clients with unnecessary network traffic=
.
While it's not a big response by itself, we're starting to get a death-of-1=
000-cuts problem with SELECT responses, so unless it's really important (an=
d in most cases I think the capability is good enough) I'd rather not add t=
hat extra traffic (and potential battery life cost on mobile devices).
* The document does not state if the APPENDLIMIT response is a MUST/SHOULD/=
MAY.
If it's a MAY, my server implementation won't send it, in which case why is=
 it in the spec? If it's a SHOULD, I'll include a product option so admins =
can disable it. If it's a MUST, I object to advancing the proposal.


[Jay] I will update your comments in the next version of the draft.

I'm also curious, does anyone intend to implement different per-mailbox app=
end limits? If nobody speaks up, then perhaps we should just remove all of =
section 3.

One suggestion for the list to discuss; should we allow the limit to be exp=
ressed in terms of Megabytes or Gigabytes via a suffix? Thus we'd have:

append-limit-value =3D 1*DIGIT ["G" / "M"]
                     ; M =3D Megabyte (* 1,000,000)
                     ; G =3D Gigabyte (* 1,000,000,000)
                     ; Unsigned 63-bit integer after multiplier
                     ; (1 <=3D n <=3D 9,223,372,036,854,775,807).

Not much additional code and makes the protocol both more concise and human=
 readable. Just a suggestion (we have some product config options like this=
).

FYI, I am interested in implementing this when it approaches rough consensu=
s.

		- Chris


From nobody Thu Mar  5 03:10:02 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 451141A1DBE for <imapext@ietfa.amsl.com>; Thu,  5 Mar 2015 03:10:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.61
X-Spam-Level: 
X-Spam-Status: No, score=-0.61 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 pfCZUSRnfJEd for <imapext@ietfa.amsl.com>; Thu,  5 Mar 2015 03:10:00 -0800 (PST)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id C46DD1A1A6C for <imapext@ietf.org>; Thu,  5 Mar 2015 03:09:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1425553798; d=isode.com; s=selector; i=@isode.com; bh=LT2rrC69Fxgh54GF6NqRic1PsmgnVayA09lObRYQvZs=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=etXaLbUC0EQjKD1EKAdU31KlsHC0ZnQ2Lgw3FygjMSMWOz6edioFMDTq+Hic/FNXzmzckT aR0ufKRdwjKpPcvY9LFF8BqPNEZ8IB8UAECrVI8SqLhqgOWIRaIxzuap9aq8vrCovGF5ss 8eynH6H4CnwZCviW1ZsHssV/pNDrdfI=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VPg5hQBB7SIo@waldorf.isode.com>; Thu, 5 Mar 2015 11:09:58 +0000
Message-ID: <54F83976.5000906@isode.com>
Date: Thu, 05 Mar 2015 11:09:42 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
To: Dave Cridland <dave@cridland.net>
References: <20141217182929.25391.39686.idtracker@ietfa.amsl.com> <5491CD00.6010606@isode.com> <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com>
In-Reply-To: <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------020605090302030006040208"
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/2WkVDxskfVq5bM9fo0QncKOZ5ew>
Cc: "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-01.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2015 11:10:01 -0000

--------------020605090302030006040208
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


On 19/12/2014 09:26, Dave Cridland wrote:
>
> On 17 December 2014 at 18:35, Alexey Melnikov 
> <alexey.melnikov@isode.com <mailto:alexey.melnikov@isode.com>> wrote:
>
>     I revived and updated LITERAL+ extension. I also added LITERAL-
>     extension (same as LITERAL+, but disallowed in APPEND).
>
>
> Given the current discussions, wouldn't LITERAL- be better expressed 
> as a LITERAL+ with a limited size?
I can go along with that. What is a reasonable limit?
Also, this has interactions with APPENDLIMIT.

Any other opinions on what people prefer?

> I accept that the normal case for a large literal is APPEND,  but the 
> issue is a general one with the size of the literal rather than the 
> specific case of APPEND, isn't it?
>
> This could even be an advertised token-sequence limit, but that's 
> probably too hard to express.
Sounds like overkill. Either way, can you suggest how this is going to 
look like?

> Possible, though, to limit the amount of non-synchronized literal data 
> with an entire command, which'd handle the MULTIAPPEND case as well.
>
> To give an specific case, a client can always side-step a simple 
> APPEND LITERAL+ limit by just using CATENATE in a fairly abusive manner.

A client that can append can do all sort of damage. Selecting INBOX and 
doing "COPY 1:* INBOX" in a loop is my favourite.

Best Regards,
Alexey



--------------020605090302030006040208
Content-Type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type"=
>
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <br>
    <div class=3D"moz-cite-prefix">On 19/12/2014 09:26, Dave Cridland
      wrote:<br>
    </div>
    <blockquote
cite=3D"mid:CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=3D4aao1bg@mail.gmail=
.com"
      type=3D"cite">
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra">On 17 December 2014 at 18:35, Alexey
          Melnikov <span dir=3D"ltr">&lt;<a moz-do-not-send=3D"true"
              href=3D"mailto:alexey.melnikov@isode.com" target=3D"_blank">al=
exey.melnikov@isode.com</a>&gt;</span>
          wrote:
          <div class=3D"gmail_quote">
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text=3D"#000000" bgcolor=3D"#FFFFFF"> I revived and
                updated LITERAL+ extension. I also added LITERAL-
                extension (same as LITERAL+, but disallowed in APPEND).<br>
                <div><br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Given the current discussions, wouldn't LITERAL- be
              better expressed as a LITERAL+ with a limited size?</div>
          </div>
        </div>
      </div>
    </blockquote>
    I can go along with that. What is a reasonable limit?<br>
    Also, this has interactions with APPENDLIMIT.<br>
    <br>
    Any other opinions on what people prefer?<br>
    <br>
    <blockquote
cite=3D"mid:CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=3D4aao1bg@mail.gmail=
.com"
      type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>I accept that the normal case for a large literal is
              APPEND, =C2=A0but the issue is a general one with the size of
              the literal rather than the specific case of APPEND, isn't
              it?</div>
            <div><br>
            </div>
            <div>This could even be an advertised token-sequence limit,
              but that's probably too hard to express.</div>
          </div>
        </div>
      </div>
    </blockquote>
    Sounds like overkill. Either way, can you suggest how this is going
    to look like?<br>
    <br>
    <blockquote
cite=3D"mid:CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=3D4aao1bg@mail.gmail=
.com"
      type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>Possible, though, to limit the amount of
              non-synchronized literal data with an entire command,
              which'd handle the MULTIAPPEND case as well.</div>
            <div><br>
            </div>
            <div>To give an specific case, a client can always side-step
              a simple APPEND LITERAL+ limit by just using CATENATE in a
              fairly abusive manner.</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    A client that can append can do all sort of damage. Selecting INBOX
    and doing "COPY 1:* INBOX" in a loop is my favourite.<br>
    <br>
    Best Regards,<br>
    Alexey<br>
    <br>
    <br>
  </body>
</html>

--------------020605090302030006040208--


From nobody Thu Mar  5 03:55:20 2015
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FC011B2C38 for <imapext@ietfa.amsl.com>; Thu,  5 Mar 2015 03:55:14 -0800 (PST)
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, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 GUiRx6XEYZhw for <imapext@ietfa.amsl.com>; Thu,  5 Mar 2015 03:55:12 -0800 (PST)
Received: from strange.aox.org (strange.aox.org [80.244.248.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08EBC1B2C36 for <imapext@ietf.org>; Thu,  5 Mar 2015 03:55:09 -0800 (PST)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id 50EB2FA0160; Thu,  5 Mar 2015 11:55:06 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1425556506; bh=us0FGk6RAAFyWoyB+5B0hFMC3No/GLAaBHUPCxftQ1g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UUaF/Q8DsPwarBLCpfUnsf9Xvtvf16M+dHtc0mm5X1VDODmTdFojAIAlDk0eGWWgK 4S6wl5iSif0DPMkbsS5I74Xem+5DEmbgJB1EVPV4TRE8ESwuO3VvHMAtHEE13Q2Qvr XECB2PTkEQDvcljaZv4LAxJl0hfLQrkJV5M1L2bQ=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1425556491-5763-5762/11/3; Thu, 5 Mar 2015 11:54:51 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: imapext@ietf.org
Date: Thu, 5 Mar 2015 12:54:50 +0100
User-Agent: Trojita/v0.4.1-243-g4a74770; Qt/4.8.6; X11; Linux; Ubuntu 14.04.2 LTS
Mime-Version: 1.0
Message-Id: <89a054e7-2e9d-47c8-ba8a-45c9c2cff138@gulbrandsen.priv.no>
In-Reply-To: <54F83976.5000906@isode.com>
References: <20141217182929.25391.39686.idtracker@ietfa.amsl.com> <5491CD00.6010606@isode.com> <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com> <54F83976.5000906@isode.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/OMGTmPOgp6gCEVLj2a2j3XGcj2M>
Subject: Re: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-01.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2015 11:55:14 -0000

Alexey Melnikov wrote:
> A client that can append can do all sort of damage. Selecting 
> INBOX and doing "COPY 1:* INBOX" in a loop is my favourite.

That was my favourite way of building a large mailbox for testing ;) A few 
appends, then a dozen or two copy commands.

More relevantly, trying to prevent one thing by blocking another is just 
whackamole. Tiresome and ultimately fruitless. Multiappend, copy, catenate 
and SMTP all offer ways to get around the size limit, if that's the game.

I sort of like 2088bis, but I think it should state what it tries to 
achieve and forget the rest. This could be good: "This is intended to limit 
the resource waste by errant clients, not to enforce any kind of quota 
(RAM, disk space, I/O or anything else) or to stop malevolent clients. 
Malevolent clients are considered a task for the system administrator."

Arnt


From nobody Thu Mar  5 08:15:06 2015
Return-Path: <dave@cridland.net>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58C7A1A1AAA for <imapext@ietfa.amsl.com>; Thu,  5 Mar 2015 08:15:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.078
X-Spam-Level: 
X-Spam-Status: No, score=-2.078 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 0udB0SKv42J5 for <imapext@ietfa.amsl.com>; Thu,  5 Mar 2015 08:15:02 -0800 (PST)
Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) (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 E719E1A1B84 for <imapext@ietf.org>; Thu,  5 Mar 2015 08:09:06 -0800 (PST)
Received: by oiav63 with SMTP id v63so12482204oia.8 for <imapext@ietf.org>; Thu, 05 Mar 2015 08:08:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cridland.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CgK+QG1yfXoHGJGYbOt7bqqB5nHpwOxD0A6WfCUtnO4=; b=iZB+FHQ/grconoVIv5WelbEC0YX5WO+Vtk+jTd0nVey9gu4BkognSS2xGFNmaTHVo4 EzUBn0ZIl/Nt7X2b3bfhjv924uHJC/YeHEiRK4ORS9TjgUk3CmWM7j6XGoTJaRleAeOh 8TLppCHoOStr9oVRE9tOm3ED8VyHUggDx1tyY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CgK+QG1yfXoHGJGYbOt7bqqB5nHpwOxD0A6WfCUtnO4=; b=BTcspxSn9aJN/Nt+fvB5ZhNLjjR3SZPkGfBHqVPUyemPCCasU2KlM4x7RAiXMR6E6d aA7zPCu9fjero3dnq1DIQh0IRyGvRT0ZEzsspQIBgCx8PuxGuUV7qJV5PlvbhSENzsmj KTEpkLTyVDiJiVgwlqtOv0tDUGxPPXTEvYqeC8XPIjhzp5r7vJr27rtkGg6mj9w5Ej7T c6H9J1DBsoeLtPTiIHYNq4zebCcDEsQ/4WOoBrG/30LrjEX8JkLvN/ChGrIyDJzySaLv nbnyrvzOcECVZYmIvrT4HDL74ZWVwWpj/CecNPvchhfJQMyl6xS+cg0A0+ODL0650U5z usYA==
X-Gm-Message-State: ALoCoQkWhISepl46NayXK8KMVxAWaOVacOTqQae8rKy3pB/+52zFa9ipkMTQfpg37MN5kCdbRiOS
MIME-Version: 1.0
X-Received: by 10.202.54.67 with SMTP id d64mr7003597oia.55.1425571701409; Thu, 05 Mar 2015 08:08:21 -0800 (PST)
Received: by 10.60.62.172 with HTTP; Thu, 5 Mar 2015 08:08:21 -0800 (PST)
In-Reply-To: <54F83976.5000906@isode.com>
References: <20141217182929.25391.39686.idtracker@ietfa.amsl.com> <5491CD00.6010606@isode.com> <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com> <54F83976.5000906@isode.com>
Date: Thu, 5 Mar 2015 16:08:21 +0000
Message-ID: <CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com>
From: Dave Cridland <dave@cridland.net>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: multipart/alternative; boundary=001a113ce006dd60e805108cc632
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/ohK_IReH47oiokDfNVwGiy2mbO0>
Cc: "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-01.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2015 16:15:04 -0000

--001a113ce006dd60e805108cc632
Content-Type: text/plain; charset=UTF-8

On 5 March 2015 at 11:09, Alexey Melnikov <alexey.melnikov@isode.com> wrote:

>
> On 19/12/2014 09:26, Dave Cridland wrote:
>
>
> On 17 December 2014 at 18:35, Alexey Melnikov <alexey.melnikov@isode.com>
> wrote:
>
>>  I revived and updated LITERAL+ extension. I also added LITERAL-
>> extension (same as LITERAL+, but disallowed in APPEND).
>>
>>
>  Given the current discussions, wouldn't LITERAL- be better expressed as
> a LITERAL+ with a limited size?
>
> I can go along with that. What is a reasonable limit?
>

Configurable and advertised, but I'd go for around 2048 octets for a single
token.


> Also, this has interactions with APPENDLIMIT.
>
> Any other opinions on what people prefer?
>
>   I accept that the normal case for a large literal is APPEND,  but the
> issue is a general one with the size of the literal rather than the
> specific case of APPEND, isn't it?
>
>  This could even be an advertised token-sequence limit, but that's
> probably too hard to express.
>
> Sounds like overkill. Either way, can you suggest how this is going to
> look like?
>
>
Not in any way that'd be useful as a formal description.

It's a matter of saying something along the lines of a command line length,
including any non-synchronizing literals, must not exceed X octets.

>   Possible, though, to limit the amount of non-synchronized literal data
> with an entire command, which'd handle the MULTIAPPEND case as well.
>
>  To give an specific case, a client can always side-step a simple APPEND
> LITERAL+ limit by just using CATENATE in a fairly abusive manner.
>
>
> A client that can append can do all sort of damage. Selecting INBOX and
> doing "COPY 1:* INBOX" in a loop is my favourite.
>


I meant to side-step the limits in an annoying manner by abusing CATENATE,
stringing together hundreds of TEXT sections.

Overall I think a per-literal limit works best, though, since anything else
is clearly abuse. But abandoning literals within an APPEND command entirely
is silly - if a message fits within 2048 (unlikely, though possible for
small notes) or a TEXT item in CATENATE (quite likely), then a non-synch
literal seems the best solution.

Conversely, a non-synch literal size limit also would help with any
(present or future) case where large literals might be used with commands
other than APPEND.

Dave.

--001a113ce006dd60e805108cc632
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On 5 March 2015 at 11:09, Alexey Melnikov <span dir=3D"ltr">&lt;<a href=
=3D"mailto:alexey.melnikov@isode.com" target=3D"_blank">alexey.melnikov@iso=
de.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000"><span class=3D"">
    <br>
    <div>On 19/12/2014 09:26, Dave Cridland
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra">On 17 December 2014 at 18:35, Alexey
          Melnikov <span dir=3D"ltr">&lt;<a href=3D"mailto:alexey.melnikov@=
isode.com" target=3D"_blank">alexey.melnikov@isode.com</a>&gt;</span>
          wrote:
          <div class=3D"gmail_quote">
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              <div text=3D"#000000" bgcolor=3D"#FFFFFF"> I revived and
                updated LITERAL+ extension. I also added LITERAL-
                extension (same as LITERAL+, but disallowed in APPEND).<br>
                <div><br>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Given the current discussions, wouldn&#39;t LITERAL- be
              better expressed as a LITERAL+ with a limited size?</div>
          </div>
        </div>
      </div>
    </blockquote></span>
    I can go along with that. What is a reasonable limit?<br></div></blockq=
uote><div><br></div><div>Configurable and advertised, but I&#39;d go for ar=
ound 2048 octets for a single token.</div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex"><div bgcolor=3D"#FFFFFF" text=3D"#000000">
    Also, this has interactions with APPENDLIMIT.<br>
    <br>
    Any other opinions on what people prefer?<span class=3D""><br>
    <br>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>I accept that the normal case for a large literal is
              APPEND, =C2=A0but the issue is a general one with the size of
              the literal rather than the specific case of APPEND, isn&#39;=
t
              it?</div>
            <div><br>
            </div>
            <div>This could even be an advertised token-sequence limit,
              but that&#39;s probably too hard to express.</div>
          </div>
        </div>
      </div>
    </blockquote></span>
    Sounds like overkill. Either way, can you suggest how this is going
    to look like?<span class=3D""><br>
    <br></span></div></blockquote><div><br></div><div>Not in any way that&#=
39;d be useful as a formal description.</div><div><br></div><div>It&#39;s a=
 matter of saying something along the lines of a command line length, inclu=
ding any non-synchronizing literals, must not exceed X octets.<br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><div bgcolor=3D"#FFFFFF" text=3D"#000000"><span=
 class=3D"">
    <blockquote type=3D"cite">
      <div dir=3D"ltr">
        <div class=3D"gmail_extra">
          <div class=3D"gmail_quote">
            <div>Possible, though, to limit the amount of
              non-synchronized literal data with an entire command,
              which&#39;d handle the MULTIAPPEND case as well.</div>
            <div><br>
            </div>
            <div>To give an specific case, a client can always side-step
              a simple APPEND LITERAL+ limit by just using CATENATE in a
              fairly abusive manner.</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br></span>
    A client that can append can do all sort of damage. Selecting INBOX
    and doing &quot;COPY 1:* INBOX&quot; in a loop is my favourite.<br></di=
v></blockquote><div><br></div><div><br></div><div>I meant to side-step the =
limits in an annoying manner by abusing CATENATE, stringing together hundre=
ds of TEXT sections.</div><div><br></div><div>Overall I think a per-literal=
 limit works best, though, since anything else is clearly abuse. But abando=
ning literals within an APPEND command entirely is silly - if a message fit=
s within 2048 (unlikely, though possible for small notes) or a TEXT item in=
 CATENATE (quite likely), then a non-synch literal seems the best solution.=
</div><div><br></div><div>Conversely, a non-synch literal size limit also w=
ould help with any (present or future) case where large literals might be u=
sed with commands other than APPEND.</div><div><br></div><div>Dave.</div></=
div></div></div>

--001a113ce006dd60e805108cc632--


From nobody Fri Mar  6 13:27:09 2015
Return-Path: <slusarz@horde.org>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 692301A870A for <imapext@ietfa.amsl.com>; Fri,  6 Mar 2015 13:27:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1] autolearn=ham
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 bei8YkWsVsEz for <imapext@ietfa.amsl.com>; Fri,  6 Mar 2015 13:27:04 -0800 (PST)
Received: from resqmta-po-02v.sys.comcast.net (resqmta-po-02v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:161]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 51A1B1A86F0 for <imapext@ietf.org>; Fri,  6 Mar 2015 13:27:03 -0800 (PST)
Received: from resomta-po-16v.sys.comcast.net ([96.114.154.240]) by resqmta-po-02v.sys.comcast.net with comcast id 0MSW1q0065BUCh401MT3Ah; Fri, 06 Mar 2015 21:27:03 +0000
Received: from bigworm.curecanti.org ([67.176.83.228]) by resomta-po-16v.sys.comcast.net with comcast id 0MT21q00N4vagWz01MT2BD; Fri, 06 Mar 2015 21:27:03 +0000
Received: from localhost (localhost.localdomain [IPv6:::1]) (Authenticated sender: slusarz) by bigworm.curecanti.org (Postfix) with ESMTPSA id 7E7E068068 for <imapext@ietf.org>; Fri,  6 Mar 2015 14:27:02 -0700 (MST)
Received: from dangerzone.curecanti.org (dangerzone.curecanti.org [172.18.5.4]) by bigworm.curecanti.org (Horde Framework) with HTTP; Fri, 06 Mar 2015 14:27:02 -0700
Date: Fri, 06 Mar 2015 14:27:02 -0700
Message-ID: <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org>
From: Michael M Slusarz <slusarz@horde.org>
To: imapext@ietf.org
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90>
In-Reply-To: <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90>
User-Agent: Horde Application Framework 5
Accept-Language: en
X-Originating-IP: 172.18.5.4
X-Remote-Browser: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1425677223; bh=UBkqqPzpKOF7JmATv0WGEHI77QbTMYdElkahhYqUUZM=; h=Received:Received:Received:Received:Date:Message-ID:From:To: Subject:Content-Type:MIME-Version; b=D1m/LB8Bg0Wi+sRaFSyy+fpWRdIGMNGvzXLDSLynKg5c6HalILBH2AsoIKc6OfdaB 0APro+0kERHC4WNnwcRQYVButpTxCMoUQtXC4ke3Qgl2SLx51qONI3w5xubBaYrula 1uHBGjLVFRY01vBYSUzQM4gvDe2RgbWiEh8RMV0CUCFWmw2XMOZ7YYYoA9rUBjJVW2 5aMqg1wPNG2SdImcqf9k4zLoZJB0zqgtdMpqvtWGbzTEVfXFix9MuwcBA7lMNcw2dt ia8PJSUu+4Zf4NO15eC5+UTr7DdfUaPZwbhqqL0hHMJVPgQyooCJAxfUPQIjXkh6bM eR9+dLexQ+elQ==
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/RerOtgoerGJxAcAyGkyudSl1t1w>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Mar 2015 21:27:07 -0000

Quoting Chris Newman <chris.newman@oracle.com>:

> Q for list: If the server has a message larger than UINT32_MAX in  
> the store and
> a client tries to fetch it, should the server just go ahead and violate the
> base-spec's UINT32_MAX limit or should the data be NIL unless the client uses
> ENABLE to tell the server it accepts larger-than-uint32-max literals on
> messages? If this extension fixes that base spec limitation in addition to
> enabling better client diagnostics for overlarge messages, I think  
> that's cool.

I agree that the max limit should be extended.  However, it doesn't  
seem like the APPENDLIMIT document is the (best) place to do that  
since burying a change in a document devoted to APPEND behavior that  
affects a general IMAP limit, e.g. changing FETCH behavior, doesn't  
seem to be the model of clarity.

> Having two different ways to access a per-folder limit is a violation of good
> protocol design practices. Specifically 3.1 and 3.2 provide two ways  
> to access
> the same appendlimit. I believe the document would be improved by the removal
> of section 3.1. Some problems with the current two-mechanism proposal:

+1.  This is what I had written about previously.

> * Which limit will the client use if the two limits are different?
> * Should a client SELECT a mailbox before doing an APPEND? This is  
> not required
> by the base spec and is less efficient. The presence of section 3.1 implies a
> client should do this. I do not think a client should do this.  
> Removing section
> 3.1 removes this issue as a problem.

More important... this may be a non-trivial value to calculate for the server.

> * The addition of APPENDLIMIT as a response to SELECT even for clients that
> don't understand it penalizes all clients with unnecessary network traffic.
> While it's not a big response by itself, we're starting to get a
> death-of-1000-cuts problem with SELECT responses, so unless it's really
> important (and in most cases I think the capability is good enough)  
> I'd rather
> not add that extra traffic (and potential battery life cost on  
> mobile devices).

To me the most common use case for APPEND is sent-mail saving.   
Generally this will occur in one of two situations:

1.) Replying/Forwarding to an existing message. In these cases, it is  
likely that at the time of sending that the client will still be in  
the same mailbox - most people tend to write a message in one sitting  
so they won't change their mailbox - and this mailbox will NOT be the  
sent-mail mailbox.
2.) Composing a New Message. The client IMAP connection may be in  
either a selected or non-selected state depending on their previous  
actions in the client UI, but odds are high that they are unlikely to  
be in the Sent mailbox.

In either of these cases it is going to be a MUCH less expensive  
operation to grab the APPENDLIMIT with a STATUS(-like) call followed  
by an APPEND rather than SELECTing the mailbox and then APPENDing.   
Not only will the client code have to do the normal state  
initalization of opening a mailbox, which probably isn't necessary  
from a UI perspective since the user doesn't care about the  
contents/status of the sent-mail mailbox, but this initialization  
could involve other delays if the server is doing things like  
on-demand new message tasks within that mailbox (e.g. header caching,  
search indexing).

TLDR: APPENDs to a sent mail mailbox are the most common real-world  
APPEND action, and these APPENDs rarely occur when in selected state  
within the sent mail mailbox.

> * The document does not state if the APPENDLIMIT response is a  
> MUST/SHOULD/MAY.
> If it's a MAY, my server implementation won't send it, in which case  
> why is it
> in the spec? If it's a SHOULD, I'll include a product option so admins can
> disable it. If it's a MUST, I object to advancing the proposal.

Agree.  It can be argued that this would actually make things slightly  
slower for the vast majority of clients, with no (or microscopic) gain  
to APPENDLIMIT aware clients.

> I'm also curious, does anyone intend to implement different  
> per-mailbox append
> limits? If nobody speaks up, then perhaps we should just remove all  
> of section
> 3.

To me it seems like a fairly common use case that public and/or shared  
namespaces might have a different append "quota" than a private  
namespace.  At least enough of a possibility that it makes sense to  
allow different per mailbox limits.

Earlier it has been mentioned that QUOTA might also change the value.   
There's been discussion of whether this should change/factor into the  
APPENDLIMIT value returned.  If it doesn't, and thus APPENDLIMIT does  
not necessarily reflect the actual value of the current append limit  
on the server, I continue to question how useful APPENDLIMIT would be  
as compared with the current solution of doing a non-LITERAL+ APPEND.

Speaking of this latter option ... discussion of it is completely  
absent from the APPENDLIMIT draft.  At a minimum, the APPENDLIMIT  
draft needs to make clear that the extension only really effects  
behavior when using the combination of APPEND + LITERAL+.  There has  
never been an issue with sending unnecessary data if just using  
APPEND.  I think a discussion, or at least a prominent reference to  
RFC 4549 [4.2.2.3], is necessary to make this distinction clear.

Part of me is wondering whether APPENDLIMIT is even worth it and if  
the better solution is instead that use of APPEND w/LITERAL+ should be  
explicitly discouraged in the LITERAL+ update that Alexey has been  
working on.

> One suggestion for the list to discuss; should we allow the limit to be
> expressed in terms of Megabytes or Gigabytes via a suffix? Thus we'd have:
>
> append-limit-value = 1*DIGIT ["G" / "M"]
>                      ; M = Megabyte (* 1,000,000)
>                      ; G = Gigabyte (* 1,000,000,000)
>                      ; Unsigned 63-bit integer after multiplier
>                      ; (1 <= n <= 9,223,372,036,854,775,807).
>
> Not much additional code and makes the protocol both more concise and human
> readable. Just a suggestion (we have some product config options like this).

The append limit value is being machine parsed, and this doesn't save  
that much in terms of transfer bandwidth, so I don't see much benefit  
in this.

michael

___________________________________
Michael Slusarz [slusarz@horde.org]


From nobody Mon Mar  9 04:34:07 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 30BE51A87E4 for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:34:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 jNtlo3x50_5m for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:34:02 -0700 (PDT)
Received: from statler.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id B5E1E1A0169 for <imapext@ietf.org>; Mon,  9 Mar 2015 04:34:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1425900841; d=isode.com; s=selector; i=@isode.com; bh=1UoNTMoR6oadzzjif0yUQ5VHV0EUBhIpi3QPoz2X6Kg=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=WQy9ZMJxT9QK7YY2oz0/EtZz6pVo0jTgJKfEgEGfyBHauOCfy0O9hezegdaGwimSmd3wD5 j2sTkr1l0Y5uDIyNdggxku8u1QCppE9ulKkdckZduNZavcmKjUgjQKDsMNr84gSFFn0em9 7tdz9Ai7Z9+KJW9eS327T7sv02kEryI=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <VP2FKAA3kEaa@statler.isode.com>; Mon, 9 Mar 2015 11:34:01 +0000
Message-ID: <54FD8528.5010703@isode.com>
Date: Mon, 09 Mar 2015 11:34:00 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
To: Dave Cridland <dave@cridland.net>
References: <20141217182929.25391.39686.idtracker@ietfa.amsl.com> <5491CD00.6010606@isode.com> <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com> <54F83976.5000906@isode.com> <CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com>
In-Reply-To: <CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------040300070705090003060308"
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/NTwIhSkCyHitMREkCJvNXOucSTA>
Cc: "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-01.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 11:34:04 -0000

This is a multi-part message in MIME format.
--------------040300070705090003060308
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


On 05/03/2015 16:08, Dave Cridland wrote:
>
> On 5 March 2015 at 11:09, Alexey Melnikov <alexey.melnikov@isode.com 
> <mailto:alexey.melnikov@isode.com>> wrote:
>
>
>     On 19/12/2014 09:26, Dave Cridland wrote:
>>
>>     On 17 December 2014 at 18:35, Alexey Melnikov
>>     <alexey.melnikov@isode.com <mailto:alexey.melnikov@isode.com>>
>>     wrote:
>>
>>         I revived and updated LITERAL+ extension. I also added
>>         LITERAL- extension (same as LITERAL+, but disallowed in APPEND).
>>
>>
>>     Given the current discussions, wouldn't LITERAL- be better
>>     expressed as a LITERAL+ with a limited size?
>     I can go along with that. What is a reasonable limit?
>
>
> Configurable and advertised, but I'd go for around 2048 octets for a 
> single token.
I've seen lots of small messages around 3-4Kb, so how about 4096 
instead? It is still going to be a single TCP packet in most cases.

>     Also, this has interactions with APPENDLIMIT.
>
>     Any other opinions on what people prefer?
>


--------------040300070705090003060308
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 05/03/2015 16:08, Dave Cridland
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra">On 5 March 2015 at 11:09, Alexey
          Melnikov <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:alexey.melnikov@isode.com" target="_blank">alexey.melnikov@isode.com</a>&gt;</span>
          wrote:<br>
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"><span class=""> <br>
                  <div>On 19/12/2014 09:26, Dave Cridland wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr"><br>
                      <div class="gmail_extra">On 17 December 2014 at
                        18:35, Alexey Melnikov <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:alexey.melnikov@isode.com"
                            target="_blank">alexey.melnikov@isode.com</a>&gt;</span>
                        wrote:
                        <div class="gmail_quote">
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <div text="#000000" bgcolor="#FFFFFF"> I
                              revived and updated LITERAL+ extension. I
                              also added LITERAL- extension (same as
                              LITERAL+, but disallowed in APPEND).<br>
                              <div><br>
                              </div>
                            </div>
                          </blockquote>
                          <div><br>
                          </div>
                          <div>Given the current discussions, wouldn't
                            LITERAL- be better expressed as a LITERAL+
                            with a limited size?</div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span> I can go along with that. What is a reasonable
                limit?<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Configurable and advertised, but I'd go for around 2048
              octets for a single token.</div>
          </div>
        </div>
      </div>
    </blockquote>
    I've seen lots of small messages around 3-4Kb, so how about 4096
    instead? It is still going to be a single TCP packet in most cases.<br>
    <br>
    <blockquote
cite="mid:CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> Also, this has
                interactions with APPENDLIMIT.<br>
                <br>
                Any other opinions on what people prefer?<span class=""></span><br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------040300070705090003060308--


From nobody Mon Mar  9 04:42:55 2015
Return-Path: <dave@cridland.net>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2C771A877A for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:42:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 wvYMrTLZsKQ7 for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:42:52 -0700 (PDT)
Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (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 98E891A87C8 for <imapext@ietf.org>; Mon,  9 Mar 2015 04:42:29 -0700 (PDT)
Received: by obbnt9 with SMTP id nt9so8193596obb.12 for <imapext@ietf.org>; Mon, 09 Mar 2015 04:42:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cridland.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8nL8SM1Xz8zqJ4Y5nnGMOsX9UiDhFQbUUJCBZNsWVaI=; b=AN/AZo94eLejqlKD7GbUyXvecp+owvlY7DXvcsfMB/m8orO7QuARelJ67zkvITdPZ7 PVdzaT28vdQnkMC+NLfgCCLQc2r7W9TWVwZVglRFE6VOCr/i+XM/CsuJfG0I/QVhhN5D W+ntOQZ41jWGcFS3NT8qcWqDKIg5grm9/hMOY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8nL8SM1Xz8zqJ4Y5nnGMOsX9UiDhFQbUUJCBZNsWVaI=; b=KkQOeuOvRJfxwzQm/v8iuWWgfEHq0O87w5LItEKGeW+GG+ToiPPPvc6fkgLXbw0YQT JerjVWiZEIEuyph6JGCDq7tcaxLfZNrml36DED6LeqvekBIWG4i06qr+jQEoo/A1bMIC lV4NWUa90knbsM3RQ3kPAdPt6WdG3XqrMXXYCaGIfFUHzl9gJ3LAaiRX4aDmNDTQAAPr sC79GBu2GF/30TOank0wo5+tSQNpkYa2OYixRnDK5wkbaOLy3zWkDx0J50z7AoOjOFGe uvixKHBM7EwvfZgQq8n3byfmjxLhX2X5/RL8fP+XHRMcos0GmbnaDZtLxESTSJQxOEUG aMBA==
X-Gm-Message-State: ALoCoQn+qFDZfHHw00wJEc5VLFyoa5VX7cWtTPuTRhK7EJyizC2KWMMFsU8W1/GN9PXUi208PFsz
MIME-Version: 1.0
X-Received: by 10.182.121.162 with SMTP id ll2mr20800467obb.71.1425901349071;  Mon, 09 Mar 2015 04:42:29 -0700 (PDT)
Received: by 10.60.62.172 with HTTP; Mon, 9 Mar 2015 04:42:28 -0700 (PDT)
In-Reply-To: <54FD8528.5010703@isode.com>
References: <20141217182929.25391.39686.idtracker@ietfa.amsl.com> <5491CD00.6010606@isode.com> <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com> <54F83976.5000906@isode.com> <CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com> <54FD8528.5010703@isode.com>
Date: Mon, 9 Mar 2015 11:42:28 +0000
Message-ID: <CAKHUCzxQkMDf95u5nvAEz3yyFSMKsDXkh9nu3ypF7gqA0fvCAg@mail.gmail.com>
From: Dave Cridland <dave@cridland.net>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: multipart/alternative; boundary=089e013c5da865835e0510d987e8
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/7CFzJSKXQ3SQOX4rW_8o9ets4Us>
Cc: "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-01.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 11:42:54 -0000

--089e013c5da865835e0510d987e8
Content-Type: text/plain; charset=UTF-8

On 9 March 2015 at 11:34, Alexey Melnikov <alexey.melnikov@isode.com> wrote:

>
> On 05/03/2015 16:08, Dave Cridland wrote:
>
>
> On 5 March 2015 at 11:09, Alexey Melnikov <alexey.melnikov@isode.com>
> wrote:
>
>>
>> On 19/12/2014 09:26, Dave Cridland wrote:
>>
>>
>> On 17 December 2014 at 18:35, Alexey Melnikov <alexey.melnikov@isode.com>
>> wrote:
>>
>>>  I revived and updated LITERAL+ extension. I also added LITERAL-
>>> extension (same as LITERAL+, but disallowed in APPEND).
>>>
>>>
>>  Given the current discussions, wouldn't LITERAL- be better expressed as
>> a LITERAL+ with a limited size?
>>
>>  I can go along with that. What is a reasonable limit?
>>
>
>  Configurable and advertised, but I'd go for around 2048 octets for a
> single token.
>
> I've seen lots of small messages around 3-4Kb, so how about 4096 instead?
> It is still going to be a single TCP packet in most cases.
>

Since my figure was plucked from thin air, I'm happy to go along with
anyone else's, but I'm curious as to whether there's any hard data on
message sizes and TCP packet sizes on various networks.

Dave.

--089e013c5da865835e0510d987e8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 9=
 March 2015 at 11:34, Alexey Melnikov <span dir=3D"ltr">&lt;<a href=3D"mail=
to:alexey.melnikov@isode.com" target=3D"_blank">alexey.melnikov@isode.com</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000"><span class=3D"">
    <br>
    <div>On 05/03/2015 16:08, Dave Cridland
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr"><br>
        <div class=3D"gmail_extra">On 5 March 2015 at 11:09, Alexey
          Melnikov <span dir=3D"ltr">&lt;<a href=3D"mailto:alexey.melnikov@=
isode.com" target=3D"_blank">alexey.melnikov@isode.com</a>&gt;</span>
          wrote:<br>
          <div class=3D"gmail_quote">
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor=3D"#FFFFFF" text=3D"#000000"><span> <br>
                  <div>On 19/12/2014 09:26, Dave Cridland wrote:<br>
                  </div>
                  <blockquote type=3D"cite">
                    <div dir=3D"ltr"><br>
                      <div class=3D"gmail_extra">On 17 December 2014 at
                        18:35, Alexey Melnikov <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:alexey.melnikov@isode.com" target=3D"_blank">alexey.melnikov@is=
ode.com</a>&gt;</span>
                        wrote:
                        <div class=3D"gmail_quote">
                          <blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            <div text=3D"#000000" bgcolor=3D"#FFFFFF"> I
                              revived and updated LITERAL+ extension. I
                              also added LITERAL- extension (same as
                              LITERAL+, but disallowed in APPEND).<br>
                              <div><br>
                              </div>
                            </div>
                          </blockquote>
                          <div><br>
                          </div>
                          <div>Given the current discussions, wouldn&#39;t
                            LITERAL- be better expressed as a LITERAL+
                            with a limited size?</div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </span> I can go along with that. What is a reasonable
                limit?<br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>Configurable and advertised, but I&#39;d go for around 204=
8
              octets for a single token.</div>
          </div>
        </div>
      </div>
    </blockquote></span>
    I&#39;ve seen lots of small messages around 3-4Kb, so how about 4096
    instead? It is still going to be a single TCP packet in most cases.</di=
v></blockquote><div><br></div><div>Since my figure was plucked from thin ai=
r, I&#39;m happy to go along with anyone else&#39;s, but I&#39;m curious as=
 to whether there&#39;s any hard data on message sizes and TCP packet sizes=
 on various networks.</div><div><br></div><div>Dave.=C2=A0</div></div></div=
></div>

--089e013c5da865835e0510d987e8--


From nobody Mon Mar  9 04:49:46 2015
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2528C1A86EC for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:49:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.6
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham
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 XJPBF1uUFXAG for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:49:43 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8E5331A0169 for <imapext@ietf.org>; Mon,  9 Mar 2015 04:49:43 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id DC4BAFA0166; Mon,  9 Mar 2015 11:49:40 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1425901780; bh=C8pyalA3ehXNc2tSZXLa1gb8M+50TzXCA4Z4aFtcce4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OHQNmNjlQJCNmrpKxUyw58TSn7SwJWCbMlIBuJvavPQV693kF8ufK6GgAprnUvc8Y ru3L0fNlz6T4oYNeyE+7h/oUxDfLHeG52XF2juBLq32pO2oSn9YHFT9ED3bJXEGbKm hdE/EL8NuRQlbxvIJ7eYVm666EdO4ei8B9x1T/XI=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1425901725-5763-5762/11/14; Mon, 9 Mar 2015 11:48:45 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: imapext@ietf.org
Date: Mon, 9 Mar 2015 12:48:44 +0100
User-Agent: Trojita/v0.5-9-g8961725; Qt/4.8.6; X11; Linux; Ubuntu 14.04.2 LTS
Mime-Version: 1.0
Message-Id: <0490a4e2-3237-4681-8858-e48d14adf33a@gulbrandsen.priv.no>
In-Reply-To: <54FD8528.5010703@isode.com>
References: <20141217182929.25391.39686.idtracker@ietfa.amsl.com> <5491CD00.6010606@isode.com> <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com> <54F83976.5000906@isode.com> <CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com> <54FD8528.5010703@isode.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/3HeEm7UUty4mMcRmoUvE62K5enk>
Subject: Re: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-01.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 11:49:45 -0000

Alexey Melnikov writes:
> I've seen lots of small messages around 3-4Kb, so how about 
> 4096 instead? It is still going to be a single TCP packet in 
> most cases.

No, not one packet. What you mean is the typical TCP window, ie. the number 
of bytes a TCP sender can send without waiting for Ack from the peer. Which 
is often 4500 until the peers negotiate different values.

I quite agree that 2048 is too low. Any value between 4096 and 32768 is 
okay, I think, and practically equivalent. Most messages are either <4096 
(when leaving the sending MUA) or >32768.

Arnt


From nobody Mon Mar  9 04:56:20 2015
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E92ED1A87C8 for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:56:19 -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, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 rEHmQS1hdfDS for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 04:56:15 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [80.244.248.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4A74B1A8794 for <imapext@ietf.org>; Mon,  9 Mar 2015 04:56:15 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id 69893FA00EE; Mon,  9 Mar 2015 11:56:13 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1425902173; bh=XPhdTIwv5pWzDw1wH8gVj2WobovZmEEkQnZFiGC7b7c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AkHVnUfimxV3+CEcStMKfxgjAlleV7YgrD6b6j2dl1EjsA22scoUqeas+ffqFu5S3 Zrxc8zBVtRLc4weE7B4g3AOWvtZOuaide3L37EeFVrABggyRXXAVGni9R0aUfDggfS 8T5UpvQYWvV68nbi2mN/BCHY1+bl6OarBJ4Rojpo=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1425902172-5763-5762/11/15; Mon, 9 Mar 2015 11:56:12 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: Dave Cridland <dave@cridland.net>
Date: Mon, 9 Mar 2015 12:56:11 +0100
User-Agent: Trojita/v0.5-9-g8961725; Qt/4.8.6; X11; Linux; Ubuntu 14.04.2 LTS
Mime-Version: 1.0
Message-Id: <6af1014c-963f-446b-ae90-60edc3f554fa@gulbrandsen.priv.no>
In-Reply-To: <CAKHUCzxQkMDf95u5nvAEz3yyFSMKsDXkh9nu3ypF7gqA0fvCAg@mail.gmail.com>
References: <20141217182929.25391.39686.idtracker@ietfa.amsl.com> <5491CD00.6010606@isode.com> <CAKHUCzwU+RJ1xPn_S4_yBhveb+55JYp51TXras877w=4aao1bg@mail.gmail.com> <54F83976.5000906@isode.com> <CAKHUCzxmktrKVkmBt26wUoWnxOKsDT0P6mVWYpk9BNZub2b8sQ@mail.gmail.com> <54FD8528.5010703@isode.com> <CAKHUCzxQkMDf95u5nvAEz3yyFSMKsDXkh9nu3ypF7gqA0fvCAg@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/-9S_7RQ2DRoVIowpxRPv8e5mNPE>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, imapext@ietf.org
Subject: Re: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-01.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 11:56:20 -0000

Dave Cridland writes:
> Since my figure was plucked from thin air, I'm happy to go 
> along with anyone else's, but I'm curious as to whether there's 
> any hard data on message sizes and TCP packet sizes on various 
> networks.

Vast amounts of network data are available if you ask people who work on 
TCP implementations. I don't, but I keep an eye on it since I have written 
that a long time ago.

The tl;dr: The packet size is 1500 everywhere except on VPNs. 1280 may be 
considered a lower bound these days. Less than that, and you get in trouble 
with IPv6, which was okay in 2005 but generates too many customer 
complaints if you do it in 2015. Sending three packets without asking for 
ack is considered polite and not harmful (Google did a lot of research on 
that in order to speed up their search result page), so 3*1500 minus a bit 
is a safe amount to send.

Arnt


From nobody Mon Mar  9 05:00:15 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9BDAB1A878A for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 05:00:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 PmCRisx7SovM for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 05:00:12 -0700 (PDT)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id AF69C1A8773 for <imapext@ietf.org>; Mon,  9 Mar 2015 05:00:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1425902410; d=isode.com; s=selector; i=@isode.com; bh=yzOdZ0SUfhhY58kRQO4Bfwxv7qnaqXUHR2VA/zZgl4M=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=ja2IyM3kVlBmjEG8D5cDUKm5+nQI4Tdxdo+0nR0od31n/AVADKfpLD0UNhrkoElUq6EICj 7DbUOMeH/myADOZ6eKy/YSkB8zV5i3UOHsDRohhQC3v+s5RnvouzlibYt9Bt6JcdyPDf/y 0P+EsLIIvo3TLA9PN7uMDgZUaH352GY=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VP2LSQBB7WuE@waldorf.isode.com>; Mon, 9 Mar 2015 12:00:10 +0000
Message-ID: <54FD8B49.9040401@isode.com>
Date: Mon, 09 Mar 2015 12:00:09 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
To: Michael M Slusarz <slusarz@horde.org>, imapext@ietf.org
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90> <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org>
In-Reply-To: <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/wweoDQTmD32spNS8zrsGV8wI06w>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 12:00:13 -0000

Hi,
After thinking more about this topic (I might have changed my position 
on a few minor issues):

On 06/03/2015 21:27, Michael M Slusarz wrote:
> Quoting Chris Newman <chris.newman@oracle.com>:
>
>> Q for list: If the server has a message larger than UINT32_MAX in the 
>> store and
>> a client tries to fetch it, should the server just go ahead and 
>> violate the
>> base-spec's UINT32_MAX limit or should the data be NIL unless the 
>> client uses
>> ENABLE to tell the server it accepts larger-than-uint32-max literals on
>> messages? If this extension fixes that base spec limitation in 
>> addition to
>> enabling better client diagnostics for overlarge messages, I think 
>> that's cool.
>
> I agree that the max limit should be extended.  However, it doesn't 
> seem like the APPENDLIMIT document is the (best) place to do that 
> since burying a change in a document devoted to APPEND behavior that 
> affects a general IMAP limit, e.g. changing FETCH behavior, doesn't 
> seem to be the model of clarity.
I agree.
>
>> Having two different ways to access a per-folder limit is a violation 
>> of good
>> protocol design practices. Specifically 3.1 and 3.2 provide two ways 
>> to access
>> the same appendlimit. I believe the document would be improved by the 
>> removal
>> of section 3.1. Some problems with the current two-mechanism proposal:
>
> +1.  This is what I had written about previously.
Not really a violation, because the data is the same whether returned by 
STATUS or SELECT
>> * Which limit will the client use if the two limits are different?
>> * Should a client SELECT a mailbox before doing an APPEND? This is 
>> not required
>> by the base spec and is less efficient. The presence of section 3.1 
>> implies a
>> client should do this. I do not think a client should do this. 
>> Removing section
>> 3.1 removes this issue as a problem.
>
> More important... this may be a non-trivial value to calculate for the 
> server.
(Depending on how accurate a server might want to make this information. 
This is a quality of implementation issue.)
>
>> * The addition of APPENDLIMIT as a response to SELECT even for 
>> clients that
>> don't understand it penalizes all clients with unnecessary network 
>> traffic.
>> While it's not a big response by itself, we're starting to get a
>> death-of-1000-cuts problem with SELECT responses, so unless it's really
>> important (and in most cases I think the capability is good enough) 
>> I'd rather
>> not add that extra traffic (and potential battery life cost on mobile 
>> devices).
>
> To me the most common use case for APPEND is sent-mail saving. 
> Generally this will occur in one of two situations:
>
> 1.) Replying/Forwarding to an existing message. In these cases, it is 
> likely that at the time of sending that the client will still be in 
> the same mailbox - most people tend to write a message in one sitting 
> so they won't change their mailbox - and this mailbox will NOT be the 
> sent-mail mailbox.
> 2.) Composing a New Message. The client IMAP connection may be in 
> either a selected or non-selected state depending on their previous 
> actions in the client UI, but odds are high that they are unlikely to 
> be in the Sent mailbox.
>
> In either of these cases it is going to be a MUCH less expensive 
> operation to grab the APPENDLIMIT with a STATUS(-like) call followed 
> by an APPEND rather than SELECTing the mailbox and then APPENDing.  
> Not only will the client code have to do the normal state 
> initalization of opening a mailbox, which probably isn't necessary 
> from a UI perspective since the user doesn't care about the 
> contents/status of the sent-mail mailbox, but this initialization 
> could involve other delays if the server is doing things like 
> on-demand new message tasks within that mailbox (e.g. header caching, 
> search indexing).
>
> TLDR: APPENDs to a sent mail mailbox are the most common real-world 
> APPEND action, and these APPENDs rarely occur when in selected state 
> within the sent mail mailbox.
Ok, I don't have a strong preference one way or another, but I find your 
argument convincing and I can live without APPENDLIMIT be returned on 
SELECT.
>> * The document does not state if the APPENDLIMIT response is a 
>> MUST/SHOULD/MAY.
>> If it's a MAY, my server implementation won't send it, in which case 
>> why is it
>> in the spec? If it's a SHOULD, I'll include a product option so 
>> admins can
>> disable it. If it's a MUST, I object to advancing the proposal.
>
> Agree.  It can be argued that this would actually make things slightly 
> slower for the vast majority of clients, with no (or microscopic) gain 
> to APPENDLIMIT aware clients.
Right.

  [snip]


From nobody Mon Mar  9 05:22:03 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B8631A887A for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 05:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 eM6Tx7fXxyiP for <imapext@ietfa.amsl.com>; Mon,  9 Mar 2015 05:22:00 -0700 (PDT)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id DE76D1A8863 for <imapext@ietf.org>; Mon,  9 Mar 2015 05:21:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1425903718; d=isode.com; s=selector; i=@isode.com; bh=ijvb2l9xhfhGtYKrz3M6wVYXoE29JKirR31/D8jE2qE=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=WXGteeoEyMlsw22lPRQstUcSzgJHhJjEwcDyZpvbLht3KK1oQAMV8ks0eLWlDRcEvQxtdC K9MDzGCCfkwfxJKl5Qj6J5xqSNmwIwgNy3ZotonOTY4QXcV8Yq3W2tSUnKVVZtVip1NYK5 EjZOydMvkC3tNP32s96xkudNssI7ev4=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VP2QYwBB7ZgK@waldorf.isode.com>; Mon, 9 Mar 2015 12:21:57 +0000
Message-ID: <54FD9063.40700@isode.com>
Date: Mon, 09 Mar 2015 12:21:55 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
To: "'imapext@ietf.org'" <imapext@ietf.org>
References: <20150309121833.13100.15011.idtracker@ietfa.amsl.com>
In-Reply-To: <20150309121833.13100.15011.idtracker@ietfa.amsl.com>
X-Forwarded-Message-Id: <20150309121833.13100.15011.idtracker@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------060009090904030307020804"
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/OAoSKYnEfJ8xL-JFqSS12ZZeiZQ>
Subject: [imapext] Fwd: I-D Action: draft-melnikov-rfc2088bis-04.txt
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 12:22:02 -0000

This is a multi-part message in MIME format.
--------------060009090904030307020804
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I've just posted -03 and 04 (fixed a few things in 03 which I haven't 
noticed before posting). The main change to LITERAL- is to allow non 
synchronizing literals <= 4096 bytes in APPEND (instead of just 
prohibiting them).
Comments are very welcome.

-------- Forwarded Message --------
Subject: 	I-D Action: draft-melnikov-rfc2088bis-04.txt
Date: 	Mon, 09 Mar 2015 05:18:33 -0700
From: 	internet-drafts@ietf.org
Reply-To: 	internet-drafts@ietf.org
To: 	i-d-announce@ietf.org



A New Internet-Draft is available from the on-line Internet-Drafts directories.


         Title           : IMAP4 non-synchronizing literals
         Authors         : John G. Myers
                           Alexey Melnikov
	Filename        : draft-melnikov-rfc2088bis-04.txt
	Pages           : 7
	Date            : 2015-03-09

Abstract:
    The Internet Message Access Protocol (RFC 3501) contains the
    "literal" syntactic construct for communicating strings.  When
    sending a literal from client to server, IMAP requires the client to
    wait for the server to send a command continuation request between
    sending the octet count and the string data.  This document specifies
    an alternate form of literal which does not require this network
    round trip.

    This document specifies 2 IMAP extensions: LITERAL+ and LITERAL-.
    The former allows the alternate form of literals in all IMAP command.
    The latter is the same as LITERAL+, but disallow the alternate form
    in IMAP APPEND, unless they are 4096 bytes or less.


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

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-melnikov-rfc2088bis-04

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=draft-melnikov-rfc2088bis-04


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/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt




--------------060009090904030307020804
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I've just posted -03 and 04 (fixed a few things in 03 which I
    haven't noticed before posting). The main change to LITERAL- is to
    allow non synchronizing literals &lt;= 4096 bytes in APPEND (instead
    of just prohibiting them).<br>
    Comments are very welcome.<br>
    <div class="moz-forward-container"><br>
      -------- Forwarded Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
            </th>
            <td>I-D Action: draft-melnikov-rfc2088bis-04.txt</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
            <td>Mon, 09 Mar 2015 05:18:33 -0700</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
            </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>A New Internet-Draft is available from the on-line Internet-Drafts directories.


        Title           : IMAP4 non-synchronizing literals
        Authors         : John G. Myers
                          Alexey Melnikov
	Filename        : draft-melnikov-rfc2088bis-04.txt
	Pages           : 7
	Date            : 2015-03-09

Abstract:
   The Internet Message Access Protocol (RFC 3501) contains the
   "literal" syntactic construct for communicating strings.  When
   sending a literal from client to server, IMAP requires the client to
   wait for the server to send a command continuation request between
   sending the octet count and the string data.  This document specifies
   an alternate form of literal which does not require this network
   round trip.

   This document specifies 2 IMAP extensions: LITERAL+ and LITERAL-.
   The former allows the alternate form of literals in all IMAP command.
   The latter is the same as LITERAL+, but disallow the alternate form
   in IMAP APPEND, unless they are 4096 bytes or less.


The IETF datatracker status page for this draft is:
<a class="moz-txt-link-freetext" href="https://datatracker.ietf.org/doc/draft-melnikov-rfc2088bis/">https://datatracker.ietf.org/doc/draft-melnikov-rfc2088bis/</a>

There's also a htmlized version available at:
<a class="moz-txt-link-freetext" href="http://tools.ietf.org/html/draft-melnikov-rfc2088bis-04">http://tools.ietf.org/html/draft-melnikov-rfc2088bis-04</a>

A diff from the previous version is available at:
<a class="moz-txt-link-freetext" href="http://www.ietf.org/rfcdiff?url2=draft-melnikov-rfc2088bis-04">http://www.ietf.org/rfcdiff?url2=draft-melnikov-rfc2088bis-04</a>


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:
<a class="moz-txt-link-freetext" href="ftp://ftp.ietf.org/internet-drafts/">ftp://ftp.ietf.org/internet-drafts/</a>

_______________________________________________
I-D-Announce mailing list
<a class="moz-txt-link-abbreviated" href="mailto:I-D-Announce@ietf.org">I-D-Announce@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/i-d-announce">https://www.ietf.org/mailman/listinfo/i-d-announce</a>
Internet-Draft directories: <a class="moz-txt-link-freetext" href="http://www.ietf.org/shadow.html">http://www.ietf.org/shadow.html</a>
or <a class="moz-txt-link-freetext" href="ftp://ftp.ietf.org/ietf/1shadow-sites.txt">ftp://ftp.ietf.org/ietf/1shadow-sites.txt</a>
</pre>
      <br>
    </div>
    <br>
  </body>
</html>

--------------060009090904030307020804--


From nobody Tue Mar 10 14:08:25 2015
Return-Path: <prvs=5511357d16=j.sb@sta.samsung.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E658C1A014B for <imapext@ietfa.amsl.com>; Tue, 10 Mar 2015 14:08:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.597
X-Spam-Level: ***
X-Spam-Status: No, score=3.597 tagged_above=-999 required=5 tests=[BAYES_50=0.8, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=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 3xOdb7vfXrdf for <imapext@ietfa.amsl.com>; Tue, 10 Mar 2015 14:08:21 -0700 (PDT)
Received: from smg1.telecom.sna.samsung.com (unknown [63.166.115.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 160E41A8A01 for <imapext@ietf.org>; Tue, 10 Mar 2015 14:08:21 -0700 (PDT)
X-AuditID: 41a9fa1f-f798c6d000000f48-e1-54ff5d3b04d4
Received: from exHub2.telecom.sna.samsung.com (Unknown_Domain [105.52.12.243]) by smg1.telecom.sna.samsung.com (SMGOUT STA) with SMTP id 90.38.03912.B3D5FF45; Tue, 10 Mar 2015 16:08:11 -0500 (CDT)
Received: from EXMB5.telecom.sna.samsung.com ([169.254.1.28]) by exHub2.telecom.sna.samsung.com ([2002:6934:cf3::6934:cf3]) with mapi id 14.03.0210.002; Tue, 10 Mar 2015 16:08:19 -0500
From: Jayantheesh S B <j.sb@sta.samsung.com>
To: "imapext@ietf.org" <imapext@ietf.org>
Thread-Topic: IMAP COMPRESS=DEFLATE Support
Thread-Index: AdBbdHra4Ca6oaweSa6fFQX9txCeAA==
Date: Tue, 10 Mar 2015 21:08:19 +0000
Message-ID: <02454F842DD7B449B96715A2AD90C036510CC8E4@exMB5.telecom.sna.samsung.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [105.52.12.197]
Content-Type: multipart/alternative; boundary="_000_02454F842DD7B449B96715A2AD90C036510CC8E4exMB5telecomsna_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrELMWRmVeSWpSXmKPExsWSacLzWdc69n+IwYlXChaPZ3E5MHosWfKT KYAxitsmKbGkLDgzPU/fLoE7Y/vJVraCPU4Vn8/cYG5g/GDVxcjJISFgInF62Qs2CFtM4sK9 9UA2F4eQwDFGiXONX1kgnD2MEq8m7GfvYmTnYBPQkXgSDFIvIqApcW3zHSYQm1lAS+LdhK3s ILawgJrEqnfTmSFqtCWmLd0LZetJ7Oo9y9rFyMHBIqAq8XGSEkiYVyBEYsKxiawgNiPQCd9P rYEaKS5x68l8JojTBCSW7DnPDGGLSrx8/I8VwlaUmPvrJjNEfb7EhI2H2CBmCkqcnPmEZQKj 8Cwko2YhKZuFpGwBI/MqRpni3HRDvZLUnNTk/Fy94rxEveLE3OLSvHQ9IH8TIzCoHVf+kt/B uG67/SFGJg7OQ4wSHFxSIsWpeSmpRYmlJRnxoNCOLwYGt1QD41zHS8eWSE8++iKpPMW4+nH2 x7dXmn9sNW/9ct4l4N7b0uREnTnnLPRcPwRscDry5uq2HdoOX+akHXonJ1mdFZfzM2xla8nc i57C/+03Tb9i+iaNtc/ifcY0M+t51ltDg1Zf7GBesueBulXx9TynTwevKiz33iPvsrTv1Ubn 5dFC783WaBmrbVZiKc5INNRiLipOBADe6tAUNQIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/txISj-gSCxDvwfWpFT1SCpixoOg>
Cc: Jayantheesh S B <j.sb@sta.samsung.com>
Subject: [imapext] IMAP COMPRESS=DEFLATE Support
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Mar 2015 21:08:24 -0000

--_000_02454F842DD7B449B96715A2AD90C036510CC8E4exMB5telecomsna_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

All,

I am facing an issue with IMAP COMPRESS=3DDEFLATE feature. After COMPRESS D=
EFLATE command,
deflate stream is opened and sent the NAMESPACE request to server.  Request=
 is sent successfully, but response was not received.

After Socket read timeout, it's coming out from the Read block. Currently I=
 am using java.util.zip.* package for creating the deflate stream.
Please share if you face any similar issues, during the implementation.  Ki=
ndly throw some light on this issue.

Log Snippet:
03-10 17:42:31.482 18173 18182 D MailTransport: *** IMAP open demo.isode.co=
m:143

03-10 17:42:32.072 18173 18182 D MailTransport: >>> 1 CAPABILITY
03-10 17:42:32.392 18173 18182 D Email   : <<< #null# ["CAPABILITY", "IMAP4=
rev1", "UIDPLUS", "LITERAL+", "UNSELECT", "NAMESPACE", "SORT", "BINARY", "M=
ULTIAPPEND", "THREAD=3DORDEREDSUBJECT", "THREAD=3DREFERENCES", "ESEARCH", "=
LIST-EXTENDED", "IDLE", "URLAUTH", "CATENATE", "CONDSTORE", "QRESYNC", "ENA=
BLE", "STARTTLS", "ACL", "RIGHTS=3Dkxet", "QUOTA", "COMPRESS=3DDEFLATE", "S=
ASL-IR", "WITHIN", "CONTEXT=3DSEARCH", "SEARCHRES", "SPECIAL-USE", "MOVE", =
"AUTH=3DSCRAM-SHA-1", "AUTH=3DDIGEST-MD5", "AUTH=3DCRAM-MD5", "AUTH=3DPLAIN=
"]
03-10 17:42:32.472 18173 18182 D Email   : <<< #1# ["OK", "CAPABILITY Compl=
eted"]

03-10 17:42:32.492 18173 18182 D MailTransport: >>> 2 AUTHENTICATE DIGEST-M=
D5
............................

03-10 17:42:33.222 18173 18182 D MailTransport: >>> 3 COMPRESS DEFLATE
03-10 17:42:33.352 18173 18182 D Email   : <<< #3# ["OK", "Compression acti=
ve"]

03-10 17:42:33.392 18173 18182 D MailTransport: >>> 4 NAMESPACE
03-10 17:42:33.412 18173 18182 D IMAPSocketOutputStream: RawBytes >>78 9C
03-10 17:42:33.422 18173 18182 D IMAPSocketOutputStream: RawBytes >>120
03-10 17:42:33.462 18173 18182 D IMAPSocketOutputStream: RawBytes >>-100

03-10 17:42:33.532 18173 18182 D ImapResponseParser: parseResponse
03-10 17:42:33.552 18173 18182 D IMAPSocketInputStream: read


Regards,
Jay

--_000_02454F842DD7B449B96715A2AD90C036510CC8E4exMB5telecomsna_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Malgun Gothic";
	panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@Malgun Gothic";
	panose-1:2 11 5 3 2 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">All,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I am facing an issue with IMAP COMPRESS=3DDEFLATE fe=
ature. After COMPRESS DEFLATE command,<o:p></o:p></p>
<p class=3D"MsoNormal">deflate stream is opened and sent the NAMESPACE requ=
est to server. &nbsp;Request is sent successfully, but response was not rec=
eived.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">After Socket read timeout, it&#8217;s coming out fro=
m the Read block. Currently I am using java.util.zip.* package for creating=
 the deflate stream.<o:p></o:p></p>
<p class=3D"MsoNormal">Please share if you face any similar issues, during =
the implementation. &nbsp;Kindly throw some light on this issue.<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b><span style=3D"background:yellow;mso-highlight:ye=
llow">Log Snippet:</span><o:p></o:p></b></p>
<table class=3D"MsoTableGrid" border=3D"1" cellspacing=3D"0" cellpadding=3D=
"0" style=3D"border-collapse:collapse;border:none">
<tbody>
<tr>
<td width=3D"638" valign=3D"top" style=3D"width:6.65in;border:solid windowt=
ext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class=3D"MsoNormal">03-10 17:42:31.482 18173 18182 D MailTransport: *** =
IMAP open demo.isode.com:143<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">03-10 17:42:32.072 18173 18182 D MailTransport: &gt;=
&gt;&gt; 1 CAPABILITY<o:p></o:p></p>
<p class=3D"MsoNormal">03-10 17:42:32.392 18173 18182 D Email&nbsp;&nbsp; :=
 &lt;&lt;&lt; #null# [&quot;CAPABILITY&quot;, &quot;IMAP4rev1&quot;, &quot;=
UIDPLUS&quot;, &quot;LITERAL&#43;&quot;, &quot;UNSELECT&quot;, &quot;NAMESP=
ACE&quot;, &quot;SORT&quot;, &quot;BINARY&quot;, &quot;MULTIAPPEND&quot;, &=
quot;THREAD=3DORDEREDSUBJECT&quot;, &quot;THREAD=3DREFERENCES&quot;, &quot;=
ESEARCH&quot;, &quot;LIST-EXTENDED&quot;,
 &quot;IDLE&quot;, &quot;URLAUTH&quot;, &quot;CATENATE&quot;, &quot;CONDSTO=
RE&quot;, &quot;QRESYNC&quot;, &quot;ENABLE&quot;, &quot;STARTTLS&quot;, &q=
uot;ACL&quot;, &quot;RIGHTS=3Dkxet&quot;, &quot;QUOTA&quot;, &quot;COMPRESS=
=3DDEFLATE&quot;, &quot;SASL-IR&quot;, &quot;WITHIN&quot;, &quot;CONTEXT=3D=
SEARCH&quot;, &quot;SEARCHRES&quot;, &quot;SPECIAL-USE&quot;, &quot;MOVE&qu=
ot;, &quot;AUTH=3DSCRAM-SHA-1&quot;, &quot;AUTH=3DDIGEST-MD5&quot;, &quot;A=
UTH=3DCRAM-MD5&quot;,
 &quot;AUTH=3DPLAIN&quot;]<o:p></o:p></p>
<p class=3D"MsoNormal">03-10 17:42:32.472 18173 18182 D Email&nbsp;&nbsp; :=
 &lt;&lt;&lt; #1# [&quot;OK&quot;, &quot;CAPABILITY Completed&quot;]<o:p></=
o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">03-10 17:42:32.492 18173 18182 D MailTransport: &gt;=
&gt;&gt; 2 AUTHENTICATE DIGEST-MD5<o:p></o:p></p>
<p class=3D"MsoNormal">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8=
230;&#8230;.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.222 18173 18182 D MailTransport: &gt;=
&gt;&gt; 3 <b><span style=3D"background:yellow;mso-highlight:yellow">COMPRE=
SS DEFLATE</span></b><o:p></o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.352 18173 18182 D Email&nbsp;&nbsp; :=
 &lt;&lt;&lt; #3# [&quot;<span style=3D"background:yellow;mso-highlight:yel=
low">OK&quot;, &quot;Compression active</span>&quot;]<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.392 18173 18182 D MailTransport: &gt;=
&gt;&gt; 4 NAMESPACE<o:p></o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.412 18173 18182 D IMAPSocketOutputStr=
eam: RawBytes &gt;&gt;78 9C
<o:p></o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.422 18173 18182 D IMAPSocketOutputStr=
eam: RawBytes &gt;&gt;120<o:p></o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.462 18173 18182 D IMAPSocketOutputStr=
eam: RawBytes &gt;&gt;-100<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.532 18173 18182 D ImapResponseParser:=
 parseResponse<o:p></o:p></p>
<p class=3D"MsoNormal">03-10 17:42:33.552 18173 18182 D IMAPSocketInputStre=
am: read
<o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Regards,<o:p></o:p></p>
<p class=3D"MsoNormal">Jay<o:p></o:p></p>
</div>
</body>
</html>

--_000_02454F842DD7B449B96715A2AD90C036510CC8E4exMB5telecomsna_--


From nobody Tue Mar 10 14:16:57 2015
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F4741A8A29 for <imapext@ietfa.amsl.com>; Tue, 10 Mar 2015 14:16:56 -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, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 NYZTnDF-BKXK for <imapext@ietfa.amsl.com>; Tue, 10 Mar 2015 14:16:55 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [80.244.248.170]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71A311A8A28 for <imapext@ietf.org>; Tue, 10 Mar 2015 14:16:53 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id 6E7C7FA0160; Tue, 10 Mar 2015 21:16:51 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1426022211; bh=0cHiceJnYn3p9LFr4X3/xY/ReuORCNQJl4Eg7rOUh1M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=c0zWNkufCN0aVPezJmtAdTEWNQsPFjUPrLToecB365FU75vid/4TDJit8DWxq/QHy s4Q/0pArneMoGoMS+vt3WhUzSyoBG0VeZOWAj6Z9I/M7/S/6gLgJp5YgHZtMrOiv1q nozJGXHZaGDrVGlAQGoH4GQkYLwrBaVuNbwpPHB8=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1426022175-25741-25740/12/5; Tue, 10 Mar 2015 21:16:15 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: imapext@ietf.org
Date: Tue, 10 Mar 2015 22:16:14 +0100
User-Agent: Trojita/v0.5-9-g8961725; Qt/4.8.6; X11; Linux; Ubuntu 14.04.2 LTS
Mime-Version: 1.0
Message-Id: <7fe87386-b269-46aa-8023-e46bc1d0d26d@gulbrandsen.priv.no>
In-Reply-To: <02454F842DD7B449B96715A2AD90C036510CC8E4@exMB5.telecom.sna.samsung.com>
References: <02454F842DD7B449B96715A2AD90C036510CC8E4@exMB5.telecom.sna.samsung.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/psLx55yDj-PHPrrRMVodMKnGatU>
Subject: Re: [imapext] IMAP COMPRESS=DEFLATE Support
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Mar 2015 21:16:56 -0000

Check that you send z_sync_flush at the end of your command. If you don't, 
the server won't read your CRLF.

Arnt


From nobody Thu Mar 12 00:07:04 2015
Return-Path: <valerio.valerio@jollamobile.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D54361A19E3 for <imapext@ietfa.amsl.com>; Thu, 12 Mar 2015 00:07:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
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 KqPtiI8FZ9bH for <imapext@ietfa.amsl.com>; Thu, 12 Mar 2015 00:07:01 -0700 (PDT)
Received: from smtp75.ord1c.emailsrvr.com (smtp75.ord1c.emailsrvr.com [108.166.43.75]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B27031A0461 for <imapext@ietf.org>; Thu, 12 Mar 2015 00:07:01 -0700 (PDT)
Received: from smtp2.relay.ord1c.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp2.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 234AA18016C for <imapext@ietf.org>; Thu, 12 Mar 2015 03:07:01 -0400 (EDT)
Received: by smtp2.relay.ord1c.emailsrvr.com (Authenticated sender: valerio.valerio-AT-jollamobile.com) with ESMTPSA id CEBEC180150 for <imapext@ietf.org>; Thu, 12 Mar 2015 03:07:00 -0400 (EDT)
X-Sender-Id: valerio.valerio@jollamobile.com
Received: from [10.0.1.236] ([UNAVAILABLE]. [192.194.199.34]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.4.2); Thu, 12 Mar 2015 07:07:01 GMT
Message-ID: <55013B12.8050004@jollamobile.com>
Date: Thu, 12 Mar 2015 09:06:58 +0200
From: Valerio Valerio <valerio.valerio@jollamobile.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: "'imapext@ietf.org'" <imapext@ietf.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/aKOhDPXuoPnEHEOPgWmkPYHEqqU>
Subject: [imapext] NIL boundary in multipart emails
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Mar 2015 07:07:03 -0000

Hi All,

while chasing a bug in our IMAP implementation noticed that one server 
replies to a BODYSTRUCTURE fetch command with a structure containing NIL 
boundary for multipart emails, e.g:

SEND UID FETCH 36 (FLAGS UID INTERNALDATE RFC822.SIZE BODYSTRUCTURE 
RFC822.HEADER)
RECV: * 7 FETCH (FLAGS (\Unseen) UID 36 INTERNALDATE "12-Mar-2015 
09:25:30 +0300" RFC822.SIZE 18142 BODYSTRUCTURE (("text" "plain" 
("charset" "utf-8") NIL NIL "quoted-printable" 34433 0 NIL NIL NIL 
NIL)("text" "html" ("charset" "utf-8") NIL NIL "quoted-printable" 108403 
0 NIL NIL NIL NIL) "alternative" ("boundary" NIL)) RFC822.HEADER {2558}

I can gracefully handle this situation, but by my understanding of RFC 
2046[1], this is invalid, first the boundary does exist and is not empty 
and in case it was empty server should send something like "". Since 
this server always reply like that and is a big provider in 
Russia(mail.ru) I was wondering if I'm missing something here ?

Thanks in advance.

Best regards,

Valério


From nobody Wed Mar 18 12:47:31 2015
Return-Path: <prvs=95199b29ed=j.sb@sta.samsung.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DFB91A1DE1 for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 12:47:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.896
X-Spam-Level: 
X-Spam-Status: No, score=0.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=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 lDkZXpBmzc70 for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 12:47:28 -0700 (PDT)
Received: from smg2.telecom.sna.samsung.com (unknown [63.166.115.32]) by ietfa.amsl.com (Postfix) with ESMTP id 4B7301A0047 for <imapext@ietf.org>; Wed, 18 Mar 2015 12:47:28 -0700 (PDT)
X-AuditID: 41a9fa20-f79586d000000b5b-0a-5509d6410281
Received: from exHub1.telecom.sna.samsung.com (Unknown_Domain [105.52.12.248]) by smg2.telecom.sna.samsung.com (SMGOUT STA) with SMTP id CE.A8.02907.146D9055; Wed, 18 Mar 2015 14:47:14 -0500 (CDT)
Received: from EXMB5.telecom.sna.samsung.com ([169.254.1.80]) by exHub1.telecom.sna.samsung.com ([2002:6934:cf8::6934:cf8]) with mapi id 14.03.0210.002; Wed, 18 Mar 2015 14:47:15 -0500
From: Jayantheesh S B <j.sb@sta.samsung.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>, Michael M Slusarz <slusarz@horde.org>, "imapext@ietf.org" <imapext@ietf.org>
Thread-Topic: [imapext] The IMAP APPENDLIMIT Extension - version 04
Thread-Index: AdBSzw2ZKCvPDQ5xTcmtwxOjXtSHB50ipf4w
Date: Wed, 18 Mar 2015 19:47:13 +0000
Message-ID: <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna.samsung.com>
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90> <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org> <54FD8B49.9040401@isode.com>
In-Reply-To: <54FD8B49.9040401@isode.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [105.52.12.197]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsWSacLzQ9fpGmeowectbBYzVhdZPJ7FZTFp UxOLA7PH5Pv/WDyWLPnJ5HGq2TCAOYrbJimxpCw4Mz1P3y6BO+P4CYeCy1oVm6f/YWlg3KTU xcjJISFgInF/wWk2CFtM4sK99UA2F4eQwDFGiYerHjBCOHsYJS5cXsLcxcjOwSagI/EkGKRe RKBe4sHeecwgtrCAk8TGt11sEHFniRXLzrFC2EYSz9YcABrDwcEioCrx+ZYESJhXIESi79wR qOkfGCU+3HzMBJLgFNCUeHPrP1gvI9A930+tAYszC4hL3HoynwniTgGJJXvOM0PYohIvH/9j hbAVJeb+uskMUa8jsWD3JzYIW1ti2cLXzBCLBSVOznzCMoFRdBaSsbOQtMxC0jILScsCRpZV jDLFuelGeiWpOanJ+bl6xXmJesWJucWleel6QP4mRmAEOa78pbCDsWGX/SFGJg7OQ4wSHFxS IsWpeSmpRYmlJRnxoBiJLwZGiVQDY+wafg5vzXWz9v6Pa1sVLpmgxezLsNtjW91jVq6ZWlU6 q+tCK5XSdv1q8fmWV300QCiBJzr4amHrRKZDmhY8hnli/N1pL0JZ9T3+/NoZsEvVWnT+lxJt riXiPLdZ6p8fPvu2bUamoZn3++6jHswbj03jWqSwbkfl9dOy+1ZZ6z555HBo7hdNJZbijERD Leai4kQAoUz6EmsCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/-jD4C2w_XIKa8Pl1q3owIV35gLM>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Mar 2015 19:47:30 -0000

All,

Can you please share your views regarding the below item to come to a conse=
nsus?

1.  APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?

2.  APPENDLIMIT value in SELECT/STATUS response: Whether APPENDLIMIT is nee=
ded in both SELECT and STATUS response?=20

Please share your thoughts.

Regards,
Jay

-----Original Message-----
From: Alexey Melnikov [mailto:alexey.melnikov@isode.com]=20
Sent: Monday, March 09, 2015 8:00 AM
To: Michael M Slusarz; imapext@ietf.org
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04

Hi,
After thinking more about this topic (I might have changed my position on a=
 few minor issues):

On 06/03/2015 21:27, Michael M Slusarz wrote:
> Quoting Chris Newman <chris.newman@oracle.com>:
>
>> Q for list: If the server has a message larger than UINT32_MAX in the=20
>> store and a client tries to fetch it, should the server just go ahead=20
>> and violate the base-spec's UINT32_MAX limit or should the data be=20
>> NIL unless the client uses ENABLE to tell the server it accepts=20
>> larger-than-uint32-max literals on messages? If this extension fixes=20
>> that base spec limitation in addition to enabling better client=20
>> diagnostics for overlarge messages, I think that's cool.
>
> I agree that the max limit should be extended.  However, it doesn't=20
> seem like the APPENDLIMIT document is the (best) place to do that=20
> since burying a change in a document devoted to APPEND behavior that=20
> affects a general IMAP limit, e.g. changing FETCH behavior, doesn't=20
> seem to be the model of clarity.
I agree.
>
>> Having two different ways to access a per-folder limit is a violation=20
>> of good protocol design practices. Specifically 3.1 and 3.2 provide=20
>> two ways to access the same appendlimit. I believe the document would=20
>> be improved by the removal of section 3.1. Some problems with the=20
>> current two-mechanism proposal:
>
> +1.  This is what I had written about previously.
Not really a violation, because the data is the same whether returned by ST=
ATUS or SELECT
>> * Which limit will the client use if the two limits are different?
>> * Should a client SELECT a mailbox before doing an APPEND? This is=20
>> not required by the base spec and is less efficient. The presence of=20
>> section 3.1 implies a client should do this. I do not think a client=20
>> should do this.
>> Removing section
>> 3.1 removes this issue as a problem.
>
> More important... this may be a non-trivial value to calculate for the=20
> server.
(Depending on how accurate a server might want to make this information.=20
This is a quality of implementation issue.)
>
>> * The addition of APPENDLIMIT as a response to SELECT even for=20
>> clients that don't understand it penalizes all clients with=20
>> unnecessary network traffic.
>> While it's not a big response by itself, we're starting to get a=20
>> death-of-1000-cuts problem with SELECT responses, so unless it's=20
>> really important (and in most cases I think the capability is good=20
>> enough) I'd rather not add that extra traffic (and potential battery=20
>> life cost on mobile devices).
>
> To me the most common use case for APPEND is sent-mail saving.=20
> Generally this will occur in one of two situations:
>
> 1.) Replying/Forwarding to an existing message. In these cases, it is=20
> likely that at the time of sending that the client will still be in=20
> the same mailbox - most people tend to write a message in one sitting=20
> so they won't change their mailbox - and this mailbox will NOT be the=20
> sent-mail mailbox.
> 2.) Composing a New Message. The client IMAP connection may be in=20
> either a selected or non-selected state depending on their previous=20
> actions in the client UI, but odds are high that they are unlikely to=20
> be in the Sent mailbox.
>
> In either of these cases it is going to be a MUCH less expensive=20
> operation to grab the APPENDLIMIT with a STATUS(-like) call followed=20
> by an APPEND rather than SELECTing the mailbox and then APPENDing.
> Not only will the client code have to do the normal state=20
> initalization of opening a mailbox, which probably isn't necessary=20
> from a UI perspective since the user doesn't care about the=20
> contents/status of the sent-mail mailbox, but this initialization=20
> could involve other delays if the server is doing things like=20
> on-demand new message tasks within that mailbox (e.g. header caching,=20
> search indexing).
>
> TLDR: APPENDs to a sent mail mailbox are the most common real-world=20
> APPEND action, and these APPENDs rarely occur when in selected state=20
> within the sent mail mailbox.
Ok, I don't have a strong preference one way or another, but I find your ar=
gument convincing and I can live without APPENDLIMIT be returned on SELECT.
>> * The document does not state if the APPENDLIMIT response is a=20
>> MUST/SHOULD/MAY.
>> If it's a MAY, my server implementation won't send it, in which case=20
>> why is it in the spec? If it's a SHOULD, I'll include a product=20
>> option so admins can disable it. If it's a MUST, I object to=20
>> advancing the proposal.
>
> Agree.  It can be argued that this would actually make things slightly=20
> slower for the vast majority of clients, with no (or microscopic) gain=20
> to APPENDLIMIT aware clients.
Right.

  [snip]



From nobody Wed Mar 18 13:18:25 2015
Return-Path: <blong@google.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B0931A00FA for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 13:18:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level: 
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=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 azVCguatjSGI for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 13:18:24 -0700 (PDT)
Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (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 5D5A01A00EC for <imapext@ietf.org>; Wed, 18 Mar 2015 13:18:24 -0700 (PDT)
Received: by igcau2 with SMTP id au2so73901202igc.0 for <imapext@ietf.org>; Wed, 18 Mar 2015 13:18:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yT+RRGbdxRVl5UKA1vK740JbhiZDiqtb/QWHIW+7x24=; b=nZLhoPTkaKj0oc9oALGBKyc+RB9hGP4Li+tCu7V5KsZvwWEBSYvsdVfAR40trqJMTg zWjp2RvVK9m2oXxK/fiw5eywE8WVIvIxBGq2RH96HwHrn9temqrtFXGx1JluDXW5gGOd 4WxNdlxVPXo/TflNWwX9SZKjeHu7IbOzxQdRiOt0uwZM/IxPQ/W0hHstLFLgLShDcNu3 XISvIwpBJ0RzweNF78ZUgo7r6/+87IsCDI+zeR7aUhXnOe31p2Wmc5geEqjGGalj6h+Z Oq0xz/QRCG0P8mtz+3Atip5TgFqhUq9eK1GMuGTygA2HzShZ+docsZU+mVaz6vEBP+kr gbXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yT+RRGbdxRVl5UKA1vK740JbhiZDiqtb/QWHIW+7x24=; b=bcVL62BnjhbCS+ML5v5dcJ/GF/tRRBFfdjSPgI40GQJWoMIQizYVZ6ZC8SzJDhbWdu jzJf3jnL9leDhSSqhTi6Mh/JdIld9qLGZJ67d6qZhinCYt5En3ovZ+rBLD2LE9SDNAym LM5bF6oeSFZdOpztCDmIrKLcSm7KNF4qBPw7qhjhUIF+N851fU0e4rRTvRdczXi9xOQ8 mIZn3TYyKdfzGOubzAUJLNK+1bXhwpo3QL+lkt7FjXeG01BykmmfSt133WVYQ2+1xHIR F6WaDou4D+Snnhj83Cu0ZuhmHF+IpOt0pB8oJu5wWpo46IJ3Yyb0B0jhuMlzsmUgaXYj oqHw==
X-Gm-Message-State: ALoCoQkRYodAn6T94Eqjwld0FSzBFtPcCkRrwtbYdRwDuJTJ4SMIh/E/bKHjzGuC0q9DxRm8H7CE
MIME-Version: 1.0
X-Received: by 10.50.118.97 with SMTP id kl1mr10326477igb.23.1426709903845; Wed, 18 Mar 2015 13:18:23 -0700 (PDT)
Received: by 10.64.86.7 with HTTP; Wed, 18 Mar 2015 13:18:23 -0700 (PDT)
In-Reply-To: <7fe87386-b269-46aa-8023-e46bc1d0d26d@gulbrandsen.priv.no>
References: <02454F842DD7B449B96715A2AD90C036510CC8E4@exMB5.telecom.sna.samsung.com> <7fe87386-b269-46aa-8023-e46bc1d0d26d@gulbrandsen.priv.no>
Date: Wed, 18 Mar 2015 13:18:23 -0700
Message-ID: <CABa8R6uvYjjyq-0adbMJO3bUx0bi38jFkF8AxurQNQ8qvZcYVA@mail.gmail.com>
From: Brandon Long <blong@google.com>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Content-Type: multipart/alternative; boundary=089e013a111804630c051195c972
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/NDqhiyx3mYZCGLsJ2FU6aLP3H_A>
Cc: "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [imapext] IMAP COMPRESS=DEFLATE Support
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Mar 2015 20:18:25 -0000

--089e013a111804630c051195c972
Content-Type: text/plain; charset=UTF-8

Note that until Java 7, java.util.zip didn't have Z_FLUSH as an option, the
usual work-around was to use the java impl of zlib, jzlib.

Brandon

On Tue, Mar 10, 2015 at 2:16 PM, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
wrote:

> Check that you send z_sync_flush at the end of your command. If you don't,
> the server won't read your CRLF.
>
> Arnt
>
> _______________________________________________
> imapext mailing list
> imapext@ietf.org
> https://www.ietf.org/mailman/listinfo/imapext
>

--089e013a111804630c051195c972
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Note that until Java 7, java.util.zip didn&#39;t have Z_FL=
USH as an option, the usual work-around was to use the java impl of zlib, j=
zlib.<div><br></div><div>Brandon</div></div><div class=3D"gmail_extra"><br>=
<div class=3D"gmail_quote">On Tue, Mar 10, 2015 at 2:16 PM, Arnt Gulbrandse=
n <span dir=3D"ltr">&lt;<a href=3D"mailto:arnt@gulbrandsen.priv.no" target=
=3D"_blank">arnt@gulbrandsen.priv.no</a>&gt;</span> wrote:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">Check that you send z_sync_flush at the end of your comma=
nd. If you don&#39;t, the server won&#39;t read your CRLF.<br>
<br>
Arnt<br>
<br>
______________________________<u></u>_________________<br>
imapext mailing list<br>
<a href=3D"mailto:imapext@ietf.org" target=3D"_blank">imapext@ietf.org</a><=
br>
<a href=3D"https://www.ietf.org/mailman/listinfo/imapext" target=3D"_blank"=
>https://www.ietf.org/mailman/<u></u>listinfo/imapext</a><br>
</blockquote></div><br></div>

--089e013a111804630c051195c972--


From nobody Wed Mar 18 15:02:42 2015
Return-Path: <groups@maclean.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B7D5E1A88F0 for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 15:02:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham
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 pWKL0C-g4ugd for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 15:02:39 -0700 (PDT)
Received: from relay.mailchannels.net (si-002-i158.relay.mailchannels.net [108.178.49.170]) by ietfa.amsl.com (Postfix) with ESMTP id D4C0E1A88DC for <imapext@ietf.org>; Wed, 18 Mar 2015 15:02:36 -0700 (PDT)
X-Sender-Id: wwwh|x-authuser|pete+maclean.com@cs8-dallas.accountservergroup.com
Received: from cs8-dallas.accountservergroup.com (ip-10-33-12-218.us-west-2.compute.internal [10.33.12.218]) by relay.mailchannels.net (Postfix) with ESMTPA id A8012100328; Wed, 18 Mar 2015 22:02:32 +0000 (UTC)
X-Sender-Id: wwwh|x-authuser|pete+maclean.com@cs8-dallas.accountservergroup.com
Received: from cs8-dallas.accountservergroup.com (cs8-dallas.accountservergroup.com [10.83.15.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.4.8); Wed, 18 Mar 2015 22:02:34 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: wwwh|x-authuser|pete+maclean.com@cs8-dallas.accountservergroup.com
X-MailChannels-Auth-Id: wwwh
X-MC-Loop-Signature: 1426716153993:452156350
X-MC-Ingress-Time: 1426716153992
Received: from static-108-57-124-120.lyncva.fios.verizon.net ([108.57.124.120]:59103 helo=Samsung-RF711.maclean.com) by cs8-dallas.accountservergroup.com with esmtpa (Exim 4.82) (envelope-from <groups@maclean.com>) id 1YYM2p-000FsI-Ck; Wed, 18 Mar 2015 17:02:31 -0500
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Wed, 18 Mar 2015 18:02:04 -0400
To: Jayantheesh S B <j.sb@sta.samsung.com>, "imapext@ietf.org" <imapext@ietf.org>
From: Pete Maclean <groups@maclean.com>
In-Reply-To: <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna .samsung.com>
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90> <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org> <54FD8B49.9040401@isode.com> <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna.samsung.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-AuthUser: pete+maclean.com@cs8-dallas.accountservergroup.com
Message-Id: <20150318220236.D4C0E1A88DC@ietfa.amsl.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/S2lgXKDKmIJG01Ff8wX7LYzFv_w>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Mar 2015 22:02:41 -0000

>1.  APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?

UINT64_MAX

>2.  APPENDLIMIT value in SELECT/STATUS response: Whether APPENDLIMIT 
>is needed in both SELECT

I don't feel strongly about this but, considering the recent 
arguments on the matter, I lean toward having it only in STATUS.

Pete Maclean

>and STATUS response?
At 03:47 PM 3/18/2015, Jayantheesh S B wrote:
>All,
>
>Can you please share your views regarding the below item to come to 
>a consensus?
>
>1.  APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?
>
>2.  APPENDLIMIT value in SELECT/STATUS response: Whether APPENDLIMIT 
>is needed in both SELECT and STATUS response?
>
>Please share your thoughts.
>
>Regards,
>Jay
>
>-----Original Message-----
>From: Alexey Melnikov [mailto:alexey.melnikov@isode.com]
>Sent: Monday, March 09, 2015 8:00 AM
>To: Michael M Slusarz; imapext@ietf.org
>Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
>
>Hi,
>After thinking more about this topic (I might have changed my 
>position on a few minor issues):
>
>On 06/03/2015 21:27, Michael M Slusarz wrote:
> > Quoting Chris Newman <chris.newman@oracle.com>:
> >
> >> Q for list: If the server has a message larger than UINT32_MAX in the
> >> store and a client tries to fetch it, should the server just go ahead
> >> and violate the base-spec's UINT32_MAX limit or should the data be
> >> NIL unless the client uses ENABLE to tell the server it accepts
> >> larger-than-uint32-max literals on messages? If this extension fixes
> >> that base spec limitation in addition to enabling better client
> >> diagnostics for overlarge messages, I think that's cool.
> >
> > I agree that the max limit should be extended.  However, it doesn't
> > seem like the APPENDLIMIT document is the (best) place to do that
> > since burying a change in a document devoted to APPEND behavior that
> > affects a general IMAP limit, e.g. changing FETCH behavior, doesn't
> > seem to be the model of clarity.
>I agree.
> >
> >> Having two different ways to access a per-folder limit is a violation
> >> of good protocol design practices. Specifically 3.1 and 3.2 provide
> >> two ways to access the same appendlimit. I believe the document would
> >> be improved by the removal of section 3.1. Some problems with the
> >> current two-mechanism proposal:
> >
> > +1.  This is what I had written about previously.
>Not really a violation, because the data is the same whether 
>returned by STATUS or SELECT
> >> * Which limit will the client use if the two limits are different?
> >> * Should a client SELECT a mailbox before doing an APPEND? This is
> >> not required by the base spec and is less efficient. The presence of
> >> section 3.1 implies a client should do this. I do not think a client
> >> should do this.
> >> Removing section
> >> 3.1 removes this issue as a problem.
> >
> > More important... this may be a non-trivial value to calculate for the
> > server.
>(Depending on how accurate a server might want to make this information.
>This is a quality of implementation issue.)
> >
> >> * The addition of APPENDLIMIT as a response to SELECT even for
> >> clients that don't understand it penalizes all clients with
> >> unnecessary network traffic.
> >> While it's not a big response by itself, we're starting to get a
> >> death-of-1000-cuts problem with SELECT responses, so unless it's
> >> really important (and in most cases I think the capability is good
> >> enough) I'd rather not add that extra traffic (and potential battery
> >> life cost on mobile devices).
> >
> > To me the most common use case for APPEND is sent-mail saving.
> > Generally this will occur in one of two situations:
> >
> > 1.) Replying/Forwarding to an existing message. In these cases, it is
> > likely that at the time of sending that the client will still be in
> > the same mailbox - most people tend to write a message in one sitting
> > so they won't change their mailbox - and this mailbox will NOT be the
> > sent-mail mailbox.
> > 2.) Composing a New Message. The client IMAP connection may be in
> > either a selected or non-selected state depending on their previous
> > actions in the client UI, but odds are high that they are unlikely to
> > be in the Sent mailbox.
> >
> > In either of these cases it is going to be a MUCH less expensive
> > operation to grab the APPENDLIMIT with a STATUS(-like) call followed
> > by an APPEND rather than SELECTing the mailbox and then APPENDing.
> > Not only will the client code have to do the normal state
> > initalization of opening a mailbox, which probably isn't necessary
> > from a UI perspective since the user doesn't care about the
> > contents/status of the sent-mail mailbox, but this initialization
> > could involve other delays if the server is doing things like
> > on-demand new message tasks within that mailbox (e.g. header caching,
> > search indexing).
> >
> > TLDR: APPENDs to a sent mail mailbox are the most common real-world
> > APPEND action, and these APPENDs rarely occur when in selected state
> > within the sent mail mailbox.
>Ok, I don't have a strong preference one way or another, but I find 
>your argument convincing and I can live without APPENDLIMIT be 
>returned on SELECT.
> >> * The document does not state if the APPENDLIMIT response is a
> >> MUST/SHOULD/MAY.
> >> If it's a MAY, my server implementation won't send it, in which case
> >> why is it in the spec? If it's a SHOULD, I'll include a product
> >> option so admins can disable it. If it's a MUST, I object to
> >> advancing the proposal.
> >
> > Agree.  It can be argued that this would actually make things slightly
> > slower for the vast majority of clients, with no (or microscopic) gain
> > to APPENDLIMIT aware clients.
>Right.
>
>   [snip]
>
>
>_______________________________________________
>imapext mailing list
>imapext@ietf.org
>https://www.ietf.org/mailman/listinfo/imapext


From nobody Wed Mar 18 23:18:56 2015
Return-Path: <brong@fastmail.fm>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E94E1A893F for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 23:18:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 f9AE7HIal1UU for <imapext@ietfa.amsl.com>; Wed, 18 Mar 2015 23:18:53 -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 68DFE1A893B for <imapext@ietf.org>; Wed, 18 Mar 2015 23:18:53 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8D20E20645 for <imapext@ietf.org>; Thu, 19 Mar 2015 02:18:49 -0400 (EDT)
Received: from web2 ([10.202.2.212]) by compute3.internal (MEProxy); Thu, 19 Mar 2015 02:18:51 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=tx77X3sMy31GkcQCCIrpjqs24BQ=; b=AINY /BalkKU4tliiwRZOdtp2fe6BUdjNJEEYfJ2XtCU5lJ7BrBgX0C3lO7RW5xgo7rNz 9sHfIg1Ae07fsAEGBawnoveIxSATrwXYESrdbNfYRU4y5uz/qeuGZEy85D5ylJFs d6ibNoE70FDQmY6351kZI8cQ+3nHXJ0rndXqDdk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=tx77X3sMy31GkcQCCIrpjqs2 4BQ=; b=kOBWwGrZR3KZIKuMpMbEUCX36EFFN61MtqECQgRQqnHtKWXo+rdpaiy5 EeQByTSYSmVK7hypjl+CX9onXDCCDk3nbtYRRvnjxZvyY8iKipa9WeSOiRmzmeLu tFI1ccNp7OCeiEJxEwSc4YpUxGBKug1J4bUxNVuOAclXSJFHOos=
Received: by web2.nyi.internal (Postfix, from userid 99) id 82685540909; Thu, 19 Mar 2015 02:18:51 -0400 (EDT)
Message-Id: <1426745931.1257757.242376917.754628A7@webmail.messagingengine.com>
X-Sasl-Enc: J+/sE+VbFISnU/PoTkH7trzfcmkQUtAFUjmJ5W5Ol5pU 1426745931
From: Bron Gondwana <brong@fastmail.fm>
To: imapext@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: MessagingEngine.com Webmail Interface - ajax-15db86eb
In-Reply-To: <20150318220236.D4C0E1A88DC@ietfa.amsl.com>
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90> <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org> <54FD8B49.9040401@isode.com> <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna.samsung.com> <20150318220236.D4C0E1A88DC@ietfa.amsl.com>
Date: Thu, 19 Mar 2015 17:18:51 +1100
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/8o2QLjZONsdGUZRjDmwdzfvf_Ds>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Mar 2015 06:18:55 -0000

On Thu, Mar 19, 2015, at 09:02 AM, Pete Maclean wrote:
>
> >1.  APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?
>
> UINT64_MAX

Most of the world is going with half that in new standards, for
compatibility with languages that offer a signed 64 bit numeric value
only (aka - java 7 and below).  It makes mapping the values through said
languages a lot easier, and 63 bits should be enough for anyone (or
something).

Alternatively, there's 53 bits, which is the maximum that javascript can
represent:

http://stackoverflow.com/questions/307179/what-is-javascripts-highest-integer-value-that-a-number-can-go-to-without-losin

It's not going to matter in practice, because that's still fricking huge.

Bron.

-- 
  Bron Gondwana
  brong@fastmail.fm


From nobody Thu Mar 19 12:11:48 2015
Return-Path: <prvs=25202fd4a6=j.sb@sta.samsung.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A18D1A0055 for <imapext@ietfa.amsl.com>; Thu, 19 Mar 2015 12:11:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.897
X-Spam-Level: 
X-Spam-Status: No, score=0.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, RDNS_NONE=0.793, SPF_PASS=-0.001] autolearn=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 44ujhk8nVQ5d for <imapext@ietfa.amsl.com>; Thu, 19 Mar 2015 12:11:45 -0700 (PDT)
Received: from smg1.telecom.sna.samsung.com (unknown [63.166.115.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E95EC1A87F1 for <imapext@ietf.org>; Thu, 19 Mar 2015 12:11:44 -0700 (PDT)
X-AuditID: 41a9fa1f-f79bb6d000004e27-a5-550b1f2e3cf0
Received: from exHub3.telecom.sna.samsung.com (Unknown_Domain [105.52.12.230]) by smg1.telecom.sna.samsung.com (SMGOUT STA) with SMTP id ED.B8.20007.E2F1B055; Thu, 19 Mar 2015 14:10:38 -0500 (CDT)
Received: from EXMB5.telecom.sna.samsung.com ([169.254.1.80]) by exHub3.telecom.sna.samsung.com ([2002:6934:ce6::6934:ce6]) with mapi id 14.03.0210.002; Thu, 19 Mar 2015 14:10:48 -0500
From: Jayantheesh S B <j.sb@sta.samsung.com>
To: Brandon Long <blong@google.com>, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
Thread-Topic: [imapext] IMAP COMPRESS=DEFLATE Support
Thread-Index: AdBbdHra4Ca6oaweSa6fFQX9txCeAJ0kK4sw
Date: Thu, 19 Mar 2015 19:10:47 +0000
Message-ID: <02454F842DD7B449B96715A2AD90C036510E62A0@exMB5.telecom.sna.samsung.com>
References: <02454F842DD7B449B96715A2AD90C036510CC8E4@exMB5.telecom.sna.samsung.com> <7fe87386-b269-46aa-8023-e46bc1d0d26d@gulbrandsen.priv.no> <CABa8R6uvYjjyq-0adbMJO3bUx0bi38jFkF8AxurQNQ8qvZcYVA@mail.gmail.com>
In-Reply-To: <CABa8R6uvYjjyq-0adbMJO3bUx0bi38jFkF8AxurQNQ8qvZcYVA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [105.52.12.197]
Content-Type: multipart/alternative; boundary="_000_02454F842DD7B449B96715A2AD90C036510E62A0exMB5telecomsna_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsWSacLzTDdVnjvUYPM0I4vuB4fYLBatXMVs 8XgWlwOzx4JNpR57/q1m9liy5CdTAHMUt01SYklZcGZ6nr5dAnfG+03PWAr+GFYs/NXA3sB4 xKCLkZNDQsBE4u3Ni6wQtpjEhXvr2boYuTiEBI4xSvQ/nMkO4exhlLhy9ChQFTsHm4COxJNg kHoRgSCJrYtuMYPYzAKaEsvvfmcBsYWBZn6fOIMJosZU4sXV+WwQtpHE5zsdYPUsAqoSz373 g+3lFQiR+Hj6FAvEqhuMEtfm3wQbxCkQKHH58U+wBkag476fWsMEsUxc4taT+UwQRwtILNlz nhnCFpV4+fgf1DOKEnN/3YQ6Ll/ix7TtzBDLBCVOznzCMoFRdBaSUbOQlM1CUraAkXkVo0xx brqhXklqTmpyfq5ecV6iXnFibnFpXroekL+JERgvjit/ye9gXLfd/hAjEwfnIUYJDi4pkeLU vJTUosTSkox4UDzEFwMjQqqBcbWxze6j3fPrtOp3vboQIfjLvKHcae6KQ8pf2QLU5+Y+Zzhl 5dcjf2aCiDNLxAufog5+CYaH3hacU4+662xd4+K17MsMBn397U/SXH6q/bo5i33F1Y7eBdcd njdp1i2asX3nqSMPRZIu/LN3WlD4OK9HaNMOJ+c3dc8ldja93fHA+N7kqtW9V5VYijMSDbWY i4oTAXeGT5xiAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/ZHm0npKtFqpAt4ypF9rwiiw-iCI>
Cc: "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [imapext] IMAP COMPRESS=DEFLATE Support
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Mar 2015 19:11:46 -0000

--_000_02454F842DD7B449B96715A2AD90C036510E62A0exMB5telecomsna_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VGhhbmtzIEJyYW5kb24gJiBBcm50Lg0KDQpGcm9tOiBCcmFuZG9uIExvbmcgW21haWx0bzpibG9u
Z0Bnb29nbGUuY29tXQ0KU2VudDogV2VkbmVzZGF5LCBNYXJjaCAxOCwgMjAxNSA0OjE4IFBNDQpU
bzogQXJudCBHdWxicmFuZHNlbg0KQ2M6IGltYXBleHRAaWV0Zi5vcmcNClN1YmplY3Q6IFJlOiBb
aW1hcGV4dF0gSU1BUCBDT01QUkVTUz1ERUZMQVRFIFN1cHBvcnQNCg0KTm90ZSB0aGF0IHVudGls
IEphdmEgNywgamF2YS51dGlsLnppcCBkaWRuJ3QgaGF2ZSBaX0ZMVVNIIGFzIGFuIG9wdGlvbiwg
dGhlIHVzdWFsIHdvcmstYXJvdW5kIHdhcyB0byB1c2UgdGhlIGphdmEgaW1wbCBvZiB6bGliLCBq
emxpYi4NCg0KQnJhbmRvbg0KDQpPbiBUdWUsIE1hciAxMCwgMjAxNSBhdCAyOjE2IFBNLCBBcm50
IEd1bGJyYW5kc2VuIDxhcm50QGd1bGJyYW5kc2VuLnByaXYubm88bWFpbHRvOmFybnRAZ3VsYnJh
bmRzZW4ucHJpdi5ubz4+IHdyb3RlOg0KQ2hlY2sgdGhhdCB5b3Ugc2VuZCB6X3N5bmNfZmx1c2gg
YXQgdGhlIGVuZCBvZiB5b3VyIGNvbW1hbmQuIElmIHlvdSBkb24ndCwgdGhlIHNlcnZlciB3b24n
dCByZWFkIHlvdXIgQ1JMRi4NCg0KQXJudA0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fXw0KaW1hcGV4dCBtYWlsaW5nIGxpc3QNCmltYXBleHRAaWV0Zi5v
cmc8bWFpbHRvOmltYXBleHRAaWV0Zi5vcmc+DQpodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFu
L2xpc3RpbmZvL2ltYXBleHQNCg0K

--_000_02454F842DD7B449B96715A2AD90C036510E62A0exMB5telecomsna_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTQgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
Ik1hbGd1biBHb3RoaWMiOw0KCXBhbm9zZS0xOjIgMTEgNSAzIDIgMCAwIDIgMCA0O30NCkBmb250
LWZhY2UNCgl7Zm9udC1mYW1pbHk6Q2FsaWJyaTsNCglwYW5vc2UtMToyIDE1IDUgMiAyIDIgNCAz
IDIgNDt9DQpAZm9udC1mYWNlDQoJe2ZvbnQtZmFtaWx5OlRhaG9tYTsNCglwYW5vc2UtMToyIDEx
IDYgNCAzIDUgNCA0IDIgNDt9DQpAZm9udC1mYWNlDQoJe2ZvbnQtZmFtaWx5OiJcQE1hbGd1biBH
b3RoaWMiOw0KCXBhbm9zZS0xOjIgMTEgNSAzIDIgMCAwIDIgMCA0O30NCi8qIFN0eWxlIERlZmlu
aXRpb25zICovDQpwLk1zb05vcm1hbCwgbGkuTXNvTm9ybWFsLCBkaXYuTXNvTm9ybWFsDQoJe21h
cmdpbjowaW47DQoJbWFyZ2luLWJvdHRvbTouMDAwMXB0Ow0KCWZvbnQtc2l6ZToxMi4wcHQ7DQoJ
Zm9udC1mYW1pbHk6IlRpbWVzIE5ldyBSb21hbiIsInNlcmlmIjt9DQphOmxpbmssIHNwYW4uTXNv
SHlwZXJsaW5rDQoJe21zby1zdHlsZS1wcmlvcml0eTo5OTsNCgljb2xvcjpibHVlOw0KCXRleHQt
ZGVjb3JhdGlvbjp1bmRlcmxpbmU7fQ0KYTp2aXNpdGVkLCBzcGFuLk1zb0h5cGVybGlua0ZvbGxv
d2VkDQoJe21zby1zdHlsZS1wcmlvcml0eTo5OTsNCgljb2xvcjpwdXJwbGU7DQoJdGV4dC1kZWNv
cmF0aW9uOnVuZGVybGluZTt9DQpzcGFuLkVtYWlsU3R5bGUxNw0KCXttc28tc3R5bGUtdHlwZTpw
ZXJzb25hbC1yZXBseTsNCglmb250LWZhbWlseToiQ2FsaWJyaSIsInNhbnMtc2VyaWYiOw0KCWNv
bG9yOiMxRjQ5N0Q7fQ0KLk1zb0NocERlZmF1bHQNCgl7bXNvLXN0eWxlLXR5cGU6ZXhwb3J0LW9u
bHk7DQoJZm9udC1mYW1pbHk6IkNhbGlicmkiLCJzYW5zLXNlcmlmIjt9DQpAcGFnZSBXb3JkU2Vj
dGlvbjENCgl7c2l6ZTo4LjVpbiAxMS4waW47DQoJbWFyZ2luOjEuMGluIDEuMGluIDEuMGluIDEu
MGluO30NCmRpdi5Xb3JkU2VjdGlvbjENCgl7cGFnZTpXb3JkU2VjdGlvbjE7fQ0KLS0+PC9zdHls
ZT48IS0tW2lmIGd0ZSBtc28gOV0+PHhtbD4NCjxvOnNoYXBlZGVmYXVsdHMgdjpleHQ9ImVkaXQi
IHNwaWRtYXg9IjEwMjYiIC8+DQo8L3htbD48IVtlbmRpZl0tLT48IS0tW2lmIGd0ZSBtc28gOV0+
PHhtbD4NCjxvOnNoYXBlbGF5b3V0IHY6ZXh0PSJlZGl0Ij4NCjxvOmlkbWFwIHY6ZXh0PSJlZGl0
IiBkYXRhPSIxIiAvPg0KPC9vOnNoYXBlbGF5b3V0PjwveG1sPjwhW2VuZGlmXS0tPg0KPC9oZWFk
Pg0KPGJvZHkgbGFuZz0iRU4tVVMiIGxpbms9ImJsdWUiIHZsaW5rPSJwdXJwbGUiPg0KPGRpdiBj
bGFzcz0iV29yZFNlY3Rpb24xIj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJm
b250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fu
cy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj5UaGFua3MgQnJhbmRvbiAmYW1wOyBBcm50Lg0K
PG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9
ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtz
YW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwv
cD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTAuMHB0
O2ZvbnQtZmFtaWx5OiZxdW90O1RhaG9tYSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7Ij5G
cm9tOjwvc3Bhbj48L2I+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1pbHk6
JnF1b3Q7VGFob21hJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDsiPiBCcmFuZG9uIExvbmcg
W21haWx0bzpibG9uZ0Bnb29nbGUuY29tXQ0KPGJyPg0KPGI+U2VudDo8L2I+IFdlZG5lc2RheSwg
TWFyY2ggMTgsIDIwMTUgNDoxOCBQTTxicj4NCjxiPlRvOjwvYj4gQXJudCBHdWxicmFuZHNlbjxi
cj4NCjxiPkNjOjwvYj4gaW1hcGV4dEBpZXRmLm9yZzxicj4NCjxiPlN1YmplY3Q6PC9iPiBSZTog
W2ltYXBleHRdIElNQVAgQ09NUFJFU1M9REVGTEFURSBTdXBwb3J0PG86cD48L286cD48L3NwYW4+
PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8ZGl2Pg0K
PHAgY2xhc3M9Ik1zb05vcm1hbCI+Tm90ZSB0aGF0IHVudGlsIEphdmEgNywgamF2YS51dGlsLnpp
cCBkaWRuJ3QgaGF2ZSBaX0ZMVVNIIGFzIGFuIG9wdGlvbiwgdGhlIHVzdWFsIHdvcmstYXJvdW5k
IHdhcyB0byB1c2UgdGhlIGphdmEgaW1wbCBvZiB6bGliLCBqemxpYi48bzpwPjwvbzpwPjwvcD4N
CjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2
Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPkJyYW5kb248bzpwPjwvbzpwPjwvcD4NCjwv
ZGl2Pg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286
cD48L3A+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+T24gVHVlLCBNYXIgMTAsIDIwMTUg
YXQgMjoxNiBQTSwgQXJudCBHdWxicmFuZHNlbiAmbHQ7PGEgaHJlZj0ibWFpbHRvOmFybnRAZ3Vs
YnJhbmRzZW4ucHJpdi5ubyIgdGFyZ2V0PSJfYmxhbmsiPmFybnRAZ3VsYnJhbmRzZW4ucHJpdi5u
bzwvYT4mZ3Q7IHdyb3RlOjxvOnA+PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Q2hl
Y2sgdGhhdCB5b3Ugc2VuZCB6X3N5bmNfZmx1c2ggYXQgdGhlIGVuZCBvZiB5b3VyIGNvbW1hbmQu
IElmIHlvdSBkb24ndCwgdGhlIHNlcnZlciB3b24ndCByZWFkIHlvdXIgQ1JMRi48YnI+DQo8YnI+
DQpBcm50PGJyPg0KPGJyPg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX188YnI+DQppbWFwZXh0IG1haWxpbmcgbGlzdDxicj4NCjxhIGhyZWY9Im1haWx0bzpp
bWFwZXh0QGlldGYub3JnIiB0YXJnZXQ9Il9ibGFuayI+aW1hcGV4dEBpZXRmLm9yZzwvYT48YnI+
DQo8YSBocmVmPSJodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2ltYXBleHQi
IHRhcmdldD0iX2JsYW5rIj5odHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2lt
YXBleHQ8L2E+PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxv
OnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_02454F842DD7B449B96715A2AD90C036510E62A0exMB5telecomsna_--


From nobody Fri Mar 20 09:12:12 2015
Return-Path: <groups@maclean.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 043AF1A09CF for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 09:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=ham
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 G7TZp-oaAATK for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 09:12:10 -0700 (PDT)
Received: from relay.mailchannels.net (ar-005-i192.relay.mailchannels.net [162.253.144.74]) by ietfa.amsl.com (Postfix) with ESMTP id 79A7D1A065C for <imapext@ietf.org>; Fri, 20 Mar 2015 09:12:08 -0700 (PDT)
X-Sender-Id: wwwh|x-authuser|pete+maclean.com@cs8-dallas.accountservergroup.com
Received: from cs8-dallas.accountservergroup.com (ip-10-220-9-73.us-west-2.compute.internal [10.220.9.73]) by relay.mailchannels.net (Postfix) with ESMTPA id 1BD9C1205E6; Fri, 20 Mar 2015 16:12:07 +0000 (UTC)
X-Sender-Id: wwwh|x-authuser|pete+maclean.com@cs8-dallas.accountservergroup.com
Received: from cs8-dallas.accountservergroup.com (cs8-dallas.accountservergroup.com [10.254.9.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.4.8); Fri, 20 Mar 2015 16:12:07 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: wwwh|x-authuser|pete+maclean.com@cs8-dallas.accountservergroup.com
X-MailChannels-Auth-Id: wwwh
X-MC-Loop-Signature: 1426867927435:3533492927
X-MC-Ingress-Time: 1426867927435
Received: from static-108-57-124-120.lyncva.fios.verizon.net ([108.57.124.120]:50366 helo=Samsung-RF711.maclean.com) by cs8-dallas.accountservergroup.com with esmtpa (Exim 4.82) (envelope-from <groups@maclean.com>) id 1YYzWn-0004SM-Mp; Fri, 20 Mar 2015 11:12:05 -0500
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Fri, 20 Mar 2015 12:10:55 -0400
To: Bron Gondwana <brong@fastmail.fm>,imapext@ietf.org
From: Pete Maclean <groups@maclean.com>
In-Reply-To: <1426745931.1257757.242376917.754628A7@webmail.messagingeng ine.com>
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90> <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org> <54FD8B49.9040401@isode.com> <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna.samsung.com> <20150318220236.D4C0E1A88DC@ietfa.amsl.com> <1426745931.1257757.242376917.754628A7@webmail.messagingengine.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-AuthUser: pete+maclean.com@cs8-dallas.accountservergroup.com
Message-Id: <20150320161207.1BD9C1205E6@relay.mailchannels.net>
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/jRuwtfpEOSqJh7b3pkjyOiDL-JE>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Mar 2015 16:12:12 -0000

Thanks, Bron.  I am aware of Java's lack of unsigned integers having 
had to work around it before.  (I find it a curious lack although I 
have no idea of the rationale behind it.)  So, yes, I come to agree 
that UINT64_MAX would be a poor choice, never mind an unnecessarily 
large one.  So how about a compromise of, say, UINT48_MAX?

Pete

At 02:18 AM 3/19/2015, Bron Gondwana wrote:
>On Thu, Mar 19, 2015, at 09:02 AM, Pete Maclean wrote:
> >
> > >1.  APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?
> >
> > UINT64_MAX
>
>Most of the world is going with half that in new standards, for
>compatibility with languages that offer a signed 64 bit numeric value
>only (aka - java 7 and below).  It makes mapping the values through said
>languages a lot easier, and 63 bits should be enough for anyone (or
>something).
>
>Alternatively, there's 53 bits, which is the maximum that javascript can
>represent:
>
>http://stackoverflow.com/questions/307179/what-is-javascripts-highest-integer-value-that-a-number-can-go-to-without-losin
>
>It's not going to matter in practice, because that's still fricking huge.
>
>Bron.
>
>--
>   Bron Gondwana
>   brong@fastmail.fm
>
>_______________________________________________
>imapext mailing list
>imapext@ietf.org
>https://www.ietf.org/mailman/listinfo/imapext


From nobody Fri Mar 20 09:20:26 2015
Return-Path: <slusarz@horde.org>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0A0B1A897B for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 09:20:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1] autolearn=ham
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 OZER5yc7ifvY for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 09:20:23 -0700 (PDT)
Received: from resqmta-po-08v.sys.comcast.net (resqmta-po-08v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:167]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9CB71ACD72 for <imapext@ietf.org>; Fri, 20 Mar 2015 09:20:22 -0700 (PDT)
Received: from resomta-po-05v.sys.comcast.net ([96.114.154.229]) by resqmta-po-08v.sys.comcast.net with comcast id 5sKR1q0034xDoy801sLNXa; Fri, 20 Mar 2015 16:20:22 +0000
Received: from bigworm.curecanti.org ([67.176.83.228]) by resomta-po-05v.sys.comcast.net with comcast id 5sLM1q00F4vagWz01sLMvs; Fri, 20 Mar 2015 16:20:22 +0000
Received: from localhost (localhost.localdomain [IPv6:::1]) (Authenticated sender: slusarz) by bigworm.curecanti.org (Postfix) with ESMTPSA id 686A068068 for <imapext@ietf.org>; Fri, 20 Mar 2015 10:20:21 -0600 (MDT)
Received: from dangerzone.curecanti.org (dangerzone.curecanti.org [172.18.5.4]) by bigworm.curecanti.org (Horde Framework) with HTTP; Fri, 20 Mar 2015 10:20:21 -0600
Date: Fri, 20 Mar 2015 10:20:21 -0600
Message-ID: <20150320102021.Horde.fwAFnWXIpWksMVRTts0t2uX@bigworm.curecanti.org>
From: Michael M Slusarz <slusarz@horde.org>
To: imapext@ietf.org
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90> <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org> <54FD8B49.9040401@isode.com> <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna.samsung.com> <20150318220236.D4C0E1A88DC@ietfa.amsl.com> <1426745931.1257757.242376917.754628A7@webmail.messagingengine.com> <20150320161207.1BD9C1205E6@relay.mailchannels.net>
In-Reply-To: <20150320161207.1BD9C1205E6@relay.mailchannels.net>
User-Agent: Internet Messaging Program (IMP) H6 (7.0.0-git)
Accept-Language: en
X-Originating-IP: 172.18.5.4
X-Remote-Browser: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1426868422; bh=n4m553fTz0oS6YYCF0pwu7tVKKFZwKFqLuQMXw4cN6M=; h=Received:Received:Received:Received:Date:Message-ID:From:To: Subject:Content-Type:MIME-Version; b=toCA+xUAE4sXWEAbx5k56ydQoBTwoxIFlHFoZ5zJqAGJxyWnY69JYP/v61c7Dri+7 iQO5ObD3YGY+4n1e95OmGow512+WvF0l0kksCGC32EmqVTaCKMg837PjEpW+gAGpKl adTjaMEaSD/164cDNjWXCWMKbsb34NE+pJnegdDd/HlAJzDqi1ZaaUMvHJlPtvaI/B 8OdqokPRKiZ3PNU9tVcZTqX18dPSyHZa9p+WJEeiYUV7/t9K2ifI1coV65pWWgpZUN pZ1Mnx71UQ+xehd/n85HK/s2lRyV6jmjWg+HFkoOqXDSsNCRr6aajMdf7eh4uvzFbY keQm/AHGPJ5tw==
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/jvilVrfMq-cbEpw5kTuOGOVORB0>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Mar 2015 16:20:24 -0000

Quoting Pete Maclean <groups@maclean.com>:

> Thanks, Bron.  I am aware of Java's lack of unsigned integers having  
> had to work around it before.  (I find it a curious lack although I  
> have no idea of the rationale behind it.)  So, yes, I come to agree  
> that UINT64_MAX would be a poor choice, never mind an unnecessarily  
> large one.  So how about a compromise of, say, UINT48_MAX?

I think we discussed this earlier in this (or a related) thread.

But it probably makes the most sense to use an unsigned positive  
63-bit value, as Bron recommended, to remain consistent with other  
IMAP extensions, e.g. CONDSTORE:

http://tools.ietf.org/html/rfc7162#section-3.1

michael

___________________________________
Michael Slusarz [slusarz@horde.org]


From nobody Fri Mar 20 09:28:16 2015
Return-Path: <dave@cridland.net>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93D641AC42C for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 09:28:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level: 
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=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 gy41qKcd5VW6 for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 09:28:13 -0700 (PDT)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 87F691AC414 for <imapext@ietf.org>; Fri, 20 Mar 2015 09:28:13 -0700 (PDT)
Received: by oiag65 with SMTP id g65so95417897oia.2 for <imapext@ietf.org>; Fri, 20 Mar 2015 09:28:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cridland.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0GDAKsr9fLwoeUxgIenQG2wxtJb/94usMPM5cTAk1z4=; b=ex4VyGtX3wpgHhp1NU/BsP1ifQl4tqmS7t2Ly20Xbj7Yy+B04wi7SVoxrM7tkJmqQ+ 3LA+zZbGBm2V/3hOUhuqopGH+HaN86gTA9jaTxDd2xRXuh12sJWNT/BWHYV4QLIuqR9W J7Pvz1COu78kMZ+8n6EQrMvSBK71TXwbAI2J8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=0GDAKsr9fLwoeUxgIenQG2wxtJb/94usMPM5cTAk1z4=; b=CDUUD8aY/sTVU7Us2P1CxXioTcAVY+rLLL9R903SdoxHoFIh6MDwgsweZ+G9rST5hK oIbSStCEeU1Rp1D+hfJksPjL+DVviOhBm6O8IEBX7RCvL30rXcev29VyCbJVJE5SG+Bd T4TnNBEABqvr3xouNDrFFzWo5LyvZ1KHF65NE7bbX4W/maMXVf8HK14VyW0j15juJauG vUdo6oN3KPglucRLgrPa/I7/+Jzj11ez1Uxd0E6yOQRccl+Rqv98IgRFW+WhyZMYZZd8 +/ngql40/Gb0QmpQ+1qN8jCrgz/v1RIm9twQ32yUo+DU8oJABQJwWOYGy8PpAkURAq+Y 3FoA==
X-Gm-Message-State: ALoCoQlVAgpSWUgvwpuFXyGr8l+dTWxKLATw+IjGhD3I79rWDoK5NjJjdzNQMuxLihGp7RKCDAx2
MIME-Version: 1.0
X-Received: by 10.60.62.197 with SMTP id a5mr38457683oes.79.1426868893023; Fri, 20 Mar 2015 09:28:13 -0700 (PDT)
Received: by 10.60.173.227 with HTTP; Fri, 20 Mar 2015 09:28:12 -0700 (PDT)
In-Reply-To: <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna.samsung.com>
References: <02454F842DD7B449B96715A2AD90C036510B8C55@exMB5.telecom.sna.samsung.com> <665A59F00F13516FA9C0E981@96B2F16665FF96BAE59E9B90> <20150306142702.Horde.kDp1rhIuhNbUKFOWMCn2kUk@bigworm.curecanti.org> <54FD8B49.9040401@isode.com> <02454F842DD7B449B96715A2AD90C036510E3FF6@exMB5.telecom.sna.samsung.com>
Date: Fri, 20 Mar 2015 16:28:12 +0000
Message-ID: <CAKHUCzxmvCRfZf71Y+8dmZtXMk3nEEySv3wDf3wnf+4=j8urOA@mail.gmail.com>
From: Dave Cridland <dave@cridland.net>
To: Jayantheesh S B <j.sb@sta.samsung.com>
Content-Type: multipart/alternative; boundary=001a11c249ae8293cc0511bacdf8
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/CtlE_L2W7cjEyZEOJHo54dHkmoc>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, "imapext@ietf.org" <imapext@ietf.org>, Michael M Slusarz <slusarz@horde.org>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Mar 2015 16:28:14 -0000

--001a11c249ae8293cc0511bacdf8
Content-Type: text/plain; charset=UTF-8

Ugh. Hit reply instead of reply to all.

On 18 March 2015 at 19:47, Jayantheesh S B <j.sb@sta.samsung.com> wrote:

> All,
>
> Can you please share your views regarding the below item to come to a
> consensus?
>
> 1.  APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?
>
>
UINT32_MAX.

That's not to say another document couldn't raise this, but I strongly
object to hiding this fundamental limit increase in an unrelated spec.


> 2.  APPENDLIMIT value in SELECT/STATUS response: Whether APPENDLIMIT is
> needed in both SELECT and STATUS response?
>
>
I think that APPENDLIMIT would probably benefit from not being
mailbox-specific, but if the consensus is that this is needed, then put it
in both. Also probably a response-code on a NO to APPEND.

The draft needs examples for APPENDs, too.

--001a11c249ae8293cc0511bacdf8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Ugh. Hit reply instead of reply to all.<br><div class=3D"g=
mail_extra"><br><div class=3D"gmail_quote">On 18 March 2015 at 19:47, Jayan=
theesh S B <span dir=3D"ltr">&lt;<a href=3D"mailto:j.sb@sta.samsung.com" ta=
rget=3D"_blank">j.sb@sta.samsung.com</a>&gt;</span> wrote:<br><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1p=
x;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1=
ex">All,<br>
<br>
Can you please share your views regarding the below item to come to a conse=
nsus?<br>
<br>
1.=C2=A0 APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?<br>
<br></blockquote><div><br></div><div><div style=3D"font-size:12.80000019073=
49px">UINT32_MAX.</div><div style=3D"font-size:12.8000001907349px"><br></di=
v><div style=3D"font-size:12.8000001907349px">That&#39;s not to say another=
 document couldn&#39;t raise this, but I strongly object to hiding this fun=
damental limit increase in an unrelated spec.</div></div><div>=C2=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pa=
dding-left:1ex">
2.=C2=A0 APPENDLIMIT value in SELECT/STATUS response: Whether APPENDLIMIT i=
s needed in both SELECT and STATUS response?<br>
<br></blockquote><div><br></div><div><div style=3D"font-size:12.80000019073=
49px">I think that APPENDLIMIT would probably benefit from not being mailbo=
x-specific, but if the consensus is that this is needed, then put it in bot=
h. Also probably a response-code on a NO to APPEND.</div><div style=3D"font=
-size:12.8000001907349px"><br></div><div style=3D"font-size:12.800000190734=
9px">The draft needs examples for APPENDs, too.</div></div></div></div></di=
v>

--001a11c249ae8293cc0511bacdf8--


From nobody Fri Mar 20 12:35:21 2015
Return-Path: <adrien@qbik.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C259D1B2FE7 for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 12:35:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 gQqPcAOfMthU for <imapext@ietfa.amsl.com>; Fri, 20 Mar 2015 12:35:17 -0700 (PDT)
Received: from smtp.qbik.com (smtp.qbik.com [122.56.26.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D0A71B2FE6 for <imapext@ietf.org>; Fri, 20 Mar 2015 12:35:16 -0700 (PDT)
Received: From [192.168.1.146] (unverified [192.168.1.146]) by SMTP Server [192.168.1.3] (WinGate SMTP Receiver v8.3.2 (Build 4770)) with SMTP id <0000101765@smtp.qbik.com>; Sat, 21 Mar 2015 08:34:16 +1300
From: "Adrien de Croy" <adrien@qbik.com>
To: "Dave Cridland" <dave@cridland.net>, "Jayantheesh S B" <j.sb@sta.samsung.com>
Date: Fri, 20 Mar 2015 19:34:16 +0000
Message-Id: <em9aa44600-602c-4810-9820-50fd7f2e7480@bodybag>
In-Reply-To: <CAKHUCzxmvCRfZf71Y+8dmZtXMk3nEEySv3wDf3wnf+4=j8urOA@mail.gmail.com>
User-Agent: eM_Client/6.0.21372.0
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="------=_MB9B9A25C4-8277-4CFD-B343-4760410D54FB"
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/PXyVbs_LWGVS32hT39J5ypC-NQc>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, "imapext@ietf.org" <imapext@ietf.org>, Michael M Slusarz <slusarz@horde.org>
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Adrien de Croy <adrien@qbik.com>
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Mar 2015 19:35:19 -0000

--------=_MB9B9A25C4-8277-4CFD-B343-4760410D54FB
Content-Type: text/plain; format=flowed; charset=utf-8
Content-Transfer-Encoding: quoted-printable


I understand Dave's rationale, given that currently the max message size=
=20
is 4GB

I think however this limit also needs to be looked at.  Last time I=20
raised it I didn't get anywhere.  However as time goes on, the chances=20
of 4GB being insufficient for a message increases.

We already support 64 bit sizes in our server, and probably so do=20
others.




------ Original Message ------
From: "Dave Cridland" <dave@cridland.net>
To: "Jayantheesh S B" <j.sb@sta.samsung.com>
Cc: "Alexey Melnikov" <alexey.melnikov@isode.com>; "imapext@ietf.org"=20
<imapext@ietf.org>; "Michael M Slusarz" <slusarz@horde.org>
Sent: 21/03/2015 5:28:12 a.m.
Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04

>Ugh. Hit reply instead of reply to all.
>
>On 18 March 2015 at 19:47, Jayantheesh S B <j.sb@sta.samsung.com>=20
>wrote:
>>All,
>>
>>Can you please share your views regarding the below item to come to a=20
>>consensus?
>>
>>1.  APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?
>>
>
>UINT32_MAX.
>
>That's not to say another document couldn't raise this, but I strongly=20
>object to hiding this fundamental limit increase in an unrelated spec.
>
>>2.  APPENDLIMIT value in SELECT/STATUS response: Whether APPENDLIMIT=20
>>is needed in both SELECT and STATUS response?
>>
>
>I think that APPENDLIMIT would probably benefit from not being=20
>mailbox-specific, but if the consensus is that this is needed, then put=
=20
>it in both. Also probably a response-code on a NO to APPEND.
>
>The draft needs examples for APPENDs, too.
--------=_MB9B9A25C4-8277-4CFD-B343-4760410D54FB
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc=
 }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px;=
 padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; paddin=
g-top: 0px; }
.plain pre, .plain tt { font-family: monospace; font-size: 100%; font-weigh=
t: normal; font-style: normal; }
a img { border: 0px; }body {font-family: Tahoma;font-size: 12pt;}
.plain pre, .plain tt {font-family: Tahoma;font-size: 12pt;}
</STYLE>

<STYLE></STYLE>
</HEAD>
<BODY scroll=3Dauto class>
<DIV>&nbsp;</DIV>
<DIV>I understand Dave's rationale, given that currently the max message=
 size is 4GB</DIV>
<DIV>&nbsp;</DIV>
<DIV>I think however this limit also needs to be looked at.&nbsp; Last time=
 I raised it I didn't get anywhere.&nbsp; However as time goes on, the chan=
ces of 4GB being insufficient for a message increases.</DIV>
<DIV>&nbsp;</DIV>
<DIV>We already support 64 bit sizes in our server, and probably so do othe=
rs.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>------ Original Message ------</DIV>
<DIV>From: "Dave Cridland" &lt;<A href=3D"mailto:dave@cridland.net">dave@cr=
idland.net</A>&gt;</DIV>
<DIV>To: "Jayantheesh S B" &lt;<A href=3D"mailto:j.sb@sta.samsung.com">j.sb=
@sta.samsung.com</A>&gt;</DIV>
<DIV>Cc: "Alexey Melnikov" &lt;<A href=3D"mailto:alexey.melnikov@isode.com"=
>alexey.melnikov@isode.com</A>&gt;; "imapext@ietf.org" &lt;<A href=3D"mailt=
o:imapext@ietf.org">imapext@ietf.org</A>&gt;; "Michael M Slusarz" &lt;<A=
 href=3D"mailto:slusarz@horde.org">slusarz@horde.org</A>&gt;</DIV>
<DIV>Sent: 21/03/2015 5:28:12 a.m.</DIV>
<DIV>Subject: Re: [imapext] The IMAP APPENDLIMIT Extension - version 04</DI=
V>
<DIV>&nbsp;</DIV>
<DIV id=3Dx8ea5590345074a1ebe6a96c7467937cd>
<BLOCKQUOTE class=3Dcite2 cite=3DCAKHUCzxmvCRfZf71Y+8dmZtXMk3nEEySv3wDf3wnf=
+4=3Dj8urOA@mail.gmail.com type=3D"cite">
<DIV dir=3Dltr>Ugh. Hit reply instead of reply to all.<BR>
<DIV class=3Dgmail_extra><BR>
<DIV class=3Dgmail_quote>On 18 March 2015 at 19:47, Jayantheesh S B <SPAN=
 dir=3Dltr>&lt;<A href=3D"mailto:j.sb@sta.samsung.com">j.sb@sta.samsung.com=
</A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE class=3Dgmail_quote style=3D"PADDING-LEFT: 1ex; MARGIN: 0px =
0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">All,<BR><BR>Can =
you please share your views regarding the below item to come to a consensus=
?<BR><BR>1.&nbsp; APPENDLIMIT value should be UINT32_MAX or UINT64_MAX ?<BR=
><BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>
<DIV style=3D"FONT-SIZE: 12px">UINT32_MAX.</DIV>
<DIV style=3D"FONT-SIZE: 12px"><BR></DIV>
<DIV style=3D"FONT-SIZE: 12px">That's not to say another document couldn't=
 raise this, but I strongly object to hiding this fundamental limit increas=
e in an unrelated spec.</DIV></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE class=3Dgmail_quote style=3D"PADDING-LEFT: 1ex; MARGIN: 0px =
0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">2.&nbsp; APPENDLIMI=
T value in SELECT/STATUS response: Whether APPENDLIMIT is needed in both=
 SELECT and STATUS response?<BR><BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>
<DIV style=3D"FONT-SIZE: 12px">I think that APPENDLIMIT would probably bene=
fit from not being mailbox-specific, but if the consensus is that this is=
 needed, then put it in both. Also probably a response-code on a NO to APPE=
ND.</DIV>
<DIV style=3D"FONT-SIZE: 12px"><BR></DIV>
<DIV style=3D"FONT-SIZE: 12px">The draft needs examples for APPENDs, too.</=
DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV></BODY></HTML>
--------=_MB9B9A25C4-8277-4CFD-B343-4760410D54FB--


From nobody Sun Mar 22 08:32:25 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 736561A89F9 for <imapext@ietfa.amsl.com>; Sun, 22 Mar 2015 08:32:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 qLY7t5VlMIIp for <imapext@ietfa.amsl.com>; Sun, 22 Mar 2015 08:32:22 -0700 (PDT)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id D35B01A8A03 for <imapext@ietf.org>; Sun, 22 Mar 2015 08:32:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1427038340; d=isode.com; s=selector; i=@isode.com; bh=0jt/eSL70JhmaZBElltQmle+YS6LwtpCMsxuVO1oy4c=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Oaj+MrM1dDBLzHfZVL7SDGjljZPXZGPdJaWafQQ61M6YGlnMGNHfQxFADYj+pDuBA3j3C5 d83dVUc+0tIXcOfdZS4hnsUIiHWYZG4wbAPLgcypS32ytdFBqqvp7jSDTKkBKowsDvfzbf fg2IYFbt8kUJihr2iLs9+DaoEeFYmtE=;
Received: from [10.248.37.28] (rrcs-64-183-197-98.sw.biz.rr.com [64.183.197.98])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VQ7gggBodZh8@waldorf.isode.com>; Sun, 22 Mar 2015 15:32:19 +0000
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <550EE081.2050507@isode.com>
Date: Sun, 22 Mar 2015 15:32:17 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
To: IMAPEXT <imapext@ietf.org>
References: <550EDF38.1000002@isode.com>
In-Reply-To: <550EDF38.1000002@isode.com>
X-Forwarded-Message-Id: <550EDF38.1000002@isode.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------010101020008080005060307"
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/k-fXye7MvdjfW1NKxwwTSOAOHJw>
Subject: [imapext] Fwd: TLS server identity verification procedure update
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Mar 2015 15:32:23 -0000

This is a multi-part message in MIME format.
--------------010101020008080005060307
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
Forwarding here, in case you are not on imap-protocol. But please send 
me your comments directly or post them to uta@ietf.org.

-------- Original Message --------
Subject: 	TLS server identity verification procedure update
Date: 	Sun, 22 Mar 2015 15:26:48 +0000
From: 	Alexey Melnikov <alexey.melnikov@isode.com>
To: 	ietf-smtp@ietf.org, imap-protocol@u.washington.edu



Hi,
I wrote a draft on "Updated TLS Server Identity Check Procedure for
Email Related Protocols"
  http://datatracker.ietf.org/doc/draft-ietf-uta-email-tls-certs/

This attempts to standardize consistent rules across all email protocols.

I would like to solicit some reviews and also feedback from implementors
(email client writers, CA operators, tools writers).

Thank you,
Alexey




--------------010101020008080005060307
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    Forwarding here, in case you are not on imap-protocol. But please
    send me your comments directly or post them to <a class="moz-txt-link-abbreviated" href="mailto:uta@ietf.org">uta@ietf.org</a>.<br>
    <div class="moz-forward-container"><br>
      -------- Original Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Subject:
            </th>
            <td>TLS server identity verification procedure update</td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">Date: </th>
            <td>Sun, 22 Mar 2015 15:26:48 +0000</td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">From: </th>
            <td>Alexey Melnikov <a class="moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com">&lt;alexey.melnikov@isode.com&gt;</a></td>
          </tr>
          <tr>
            <th valign="BASELINE" align="RIGHT" nowrap="nowrap">To: </th>
            <td><a class="moz-txt-link-abbreviated" href="mailto:ietf-smtp@ietf.org">ietf-smtp@ietf.org</a>, <a class="moz-txt-link-abbreviated" href="mailto:imap-protocol@u.washington.edu">imap-protocol@u.washington.edu</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Hi,
I wrote a draft on "Updated TLS Server Identity Check Procedure for 
Email Related Protocols"
 <a class="moz-txt-link-freetext" href="http://datatracker.ietf.org/doc/draft-ietf-uta-email-tls-certs/">http://datatracker.ietf.org/doc/draft-ietf-uta-email-tls-certs/</a>

This attempts to standardize consistent rules across all email protocols.

I would like to solicit some reviews and also feedback from implementors 
(email client writers, CA operators, tools writers).

Thank you,
Alexey

</pre>
      <br>
    </div>
    <br>
  </body>
</html>

--------------010101020008080005060307--


From nobody Mon Mar 30 19:08:27 2015
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: imapext@ietfa.amsl.com
Delivered-To: imapext@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C2F41A8963 for <imapext@ietfa.amsl.com>; Mon, 30 Mar 2015 19:08:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.689
X-Spam-Level: 
X-Spam-Status: No, score=0.689 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 b8llZZZUWLQp for <imapext@ietfa.amsl.com>; Mon, 30 Mar 2015 19:08:24 -0700 (PDT)
Received: from waldorf.isode.com (ext-bt.isode.com [217.34.220.158]) by ietfa.amsl.com (Postfix) with ESMTP id CF54F1A034F for <imapext@ietf.org>; Mon, 30 Mar 2015 19:08:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1427767702; d=isode.com; s=selector; i=@isode.com; bh=qLJdDA2/rD+hWJscd698rg/DDZrG9dV21+Y4vnhzWRE=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=WBIzvHrrV/6x3lpBCzKJkSR7pYAxC6PAUaKha1PTtKrKYjdsvGSpFiEQ5y8W50vpBX6/tE hPcipk2mlQBnx8uvDdS6M51Ms0HFkksij6FJUCR3w5swtsCTCgVoz6/Yvok808weL6L/FA KHm/hjMziEriedox9YigUZCxSCx3RgY=;
Received: from [10.1.10.15] ((unknown) [50.249.67.138])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <VRoBlQBiPJRK@waldorf.isode.com>; Tue, 31 Mar 2015 03:08:22 +0100
X-SMTP-Protocol-Errors: NORDNS PIPELINING
Message-ID: <551A0193.5030104@isode.com>
Date: Tue, 31 Mar 2015 03:08:19 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
To: IMAPEXT <imapext@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/imapext/ufY3zkcd9EKQ7ZOQuTXCYY91Chc>
Subject: [imapext] Charter Proposal for a new IMAP related Working Group
X-BeenThere: imapext@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of IMAP extensions <imapext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imapext>, <mailto:imapext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imapext/>
List-Post: <mailto:imapext@ietf.org>
List-Help: <mailto:imapext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imapext>, <mailto:imapext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Mar 2015 02:08:25 -0000

Hi,

I've asked Barry earlier what he would like to do about
draft-jayantheesh-imap-appendlimit-extension-03 and other drafts and he
asked for a charter for a new short term IMAP related WG. Here is a
proposal:


The Internet Message Access Protocol (IMAP), defined in RFC 3501,
specifies a protocol for transferring email messages between a server
that implements a message store, and a client. It also includes commands
for manipulating the message store -- creating, deleting, and renaming
mailboxes, adding a message to a mailbox, and copying messages from one
mailbox to another.

IMAP (RFC 3501) contains the "literal" syntactic construct for
transferring blocks of data. When sending a literal from a client to a server,
RFC 3501 requires the client to wait for the server to send a command
continuation request between sending the octet count and the string data.
This complicates client implementations and resulted in definition
of LITERAL+ IMAP extension (RFC 2088) which specifies an alternate form
of literal which does not require this network round trip. While this
extension is quite commonly supported by servers, some implementations
decided to disable it because it is frequently abused by naive clients
that try to upload big messages without checking whether servers can
accept big messages.

The IMAP APPEND extension (imapappend) working group has two related
deliverables which are targeted at improving the current situation. One
deliverable is based on draft-jayantheesh-imap-appendlimit-extension-03
and defines a way for servers to announce APPEND limit for a particular
server or a particular mailbox. The second deliverable is based on
draft-melnikov-rfc2088bis-01. It describes implementation choices for
server supporting LITERAL+ extension and also defines LITERAL- extension
which have similar properties, but is easier for servers to implement
while preventing denial of service attacks from malicious and naive IMAP
clients. Both deliverables will be Standards Track documents.

As part of the protocol development, implementation experience on both
the client and server side is highly desireable, so that the actual
operational value of this extension can be assessed. The working group
will document the results of this experience on the working group wiki.

No other IMAP extension work is in scope for this working group.

------
Comments:


1) I don't particularly care if LITERAL- is standardized or not, but I 
would like the problem to be solved. If we can't agree on LITERAL-, then 
draft-melnikov-rfc2088bis can just become a revision of LITERAL+.

2) I've also heard some interest in standardizing the SNAPSHOT facility. 
I am ambivalent on whether it should be added to the above. (If you 
think it should, please suggest a new paragraph to add). I would like to 
keep the charter to no more than 3 deliverables.

Any opinions on the proposal?

Best Regards,
Alexey

