Re: [imap5] Designing a new replacement protocol for IMAP

Bron Gondwana <brong@fastmail.fm> Mon, 13 February 2012 19:42 UTC

Return-Path: <brong@fastmail.fm>
X-Original-To: imap5@ietfa.amsl.com
Delivered-To: imap5@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6484D21F8495 for <imap5@ietfa.amsl.com>; Mon, 13 Feb 2012 11:42:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.591
X-Spam-Level:
X-Spam-Status: No, score=-3.591 tagged_above=-999 required=5 tests=[AWL=0.008, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aKBW3vGrk58i for <imap5@ietfa.amsl.com>; Mon, 13 Feb 2012 11:42:25 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by ietfa.amsl.com (Postfix) with ESMTP id 664A121F843E for <imap5@ietf.org>; Mon, 13 Feb 2012 11:42:25 -0800 (PST)
Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7DA0B20C15 for <imap5@ietf.org>; Mon, 13 Feb 2012 14:42:24 -0500 (EST)
Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 13 Feb 2012 14:42:24 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=axcoveLZPVIrT4bF3wj8AMip DpE=; b=oOafsFI0JByzL4oAD9vuUSfpFoBXCz6MkGVliDlygJ9f1nA5qwX0ZQXq hvyWJBzYQRvV1lA5UclVTk6Mk3Yoj4YHT9YXulqXvdzT6sfzEbi6UNkV9S8LLabC DxJCAzmZ51F30irt5vNNS7w75OiSTqS/KQpDf3dg8PT0TtXasjM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=axcoveLZPVIrT4bF3wj8AMipDpE=; b=hm/cJKWpUf5ImN72owf4iRRQMh3r Zp5efVE6csBDcvixEI44gjSbi3I3HH/Hn24YP1cQX60Vwb02Abr5+MO55wiOAQ6h XkpKZsMOyC21CHu5acPo/JICEXrAfDuZo28hjaiB1o/P+sWZuwTPuL8fMXBkFwbm c97JEYtuJwjFxis=
X-Sasl-enc: hWknWjw/Ymw4AHtPvdVLKB2uPGQhzZOOluCw/BEbiOoQ 1329162144
Received: from localhost (99.249.9.46.customer.cdi.no [46.9.249.99]) by mail.messagingengine.com (Postfix) with ESMTPSA id 32046482510; Mon, 13 Feb 2012 14:42:24 -0500 (EST)
Received: by localhost (Postfix, from userid 1000) id AF073F469B; Mon, 13 Feb 2012 20:42:22 +0100 (CET)
Date: Mon, 13 Feb 2012 20:42:22 +0100
From: Bron Gondwana <brong@fastmail.fm>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <20120213194222.GA11806@launde.brong.net>
References: <1328732126.32086.140661033971485@webmail.messagingengine.com> <201202090820.28260.thomas@koch.ro> <4F337E61.5040702@qbik.com> <201202101544.51364.thomas@koch.ro> <833EE8EEE88E4ADE5CDDDADB@caldav.corp.apple.com> <4F3835A1.7060804@qbik.com> <B764BD8C8B6047E659EABBE2@caldav.corp.apple.com> <20120213162333.GB28443@launde.brong.net> <4F395DE0.9050400@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4F395DE0.9050400@isode.com>
Organization: brong.net
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: imap5@ietf.org
Subject: Re: [imap5] Designing a new replacement protocol for IMAP
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/imap5>, <mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>, <mailto:imap5-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Feb 2012 19:42:26 -0000

On Mon, Feb 13, 2012 at 07:00:48PM +0000, Alexey Melnikov wrote:
> On 13/02/2012 16:23, Bron Gondwana wrote:
> >On Mon, Feb 13, 2012 at 10:20:45AM -0500, Cyrus Daboo wrote:
>  [...]
> >>Your point about actually getting this done is valid. But
> >>realistically, do you really think IMAP5 is going to deploy
> >>overnight? Frankly, anyone who has a reasonably solid IMAP4
> >>implementation today is going to question the need to work on
> >>something new, particularly if that something new brings nothing to
> >>the table (and simply fixing interop problems will probably not be
> >>seen as something "new"). If you can actually show that IMAP5 adds
> >>significant value by doing things like helping centralize push
> >>notifications, simplifying submission etc, then maybe, just maybe,
> >>those existing implementors might actually consider throwing out
> >>their current investment in IMAP4 for the new thing.
> I agree. But I think another important point is that Bron not
> suggesting to throw away everything and start from scratch. Maybe it
> is just me, but I am hoping that if this effort takes off, then lots
> of capabilities/commands of IMAP4+extensions will be preserved as
> is, so that upgrading an existing IMAP4 implementation would be
> relatively easy.

Absolutely preserved in semantics if not in syntax.  The semantics
are pretty good, mostly - and the ones that I don't like are mostly
the "magic" bits.

Being able to plug this in as another access method to an already
existing IMAP store is a very important property - at most it
would require a little extra indexing if you want to be efficient.

Even more ideally, you could implement a connector either way at
a loss of efficiency - an (at least basic) IMAP connector in front
of this protocol, or a proxy for this protocol (caching quite a lot
more information probably - particularly if the backend didn't have
a concept of MODSEQ) in front of an existing IMAP store.

Bron.