Re: [imap5] Feature set? - was Re: Designing a new replacement protocol for IMAP

Bron Gondwana <brong@fastmail.fm> Thu, 16 February 2012 07:53 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 E16DD21E802E for <imap5@ietfa.amsl.com>; Wed, 15 Feb 2012 23:53:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.066
X-Spam-Level:
X-Spam-Status: No, score=-3.066 tagged_above=-999 required=5 tests=[AWL=0.533, 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 L+spnzeaHLlr for <imap5@ietfa.amsl.com>; Wed, 15 Feb 2012 23:53:11 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by ietfa.amsl.com (Postfix) with ESMTP id 9B1B421E8034 for <imap5@ietf.org>; Wed, 15 Feb 2012 23:53:11 -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 6579520B2D for <imap5@ietf.org>; Thu, 16 Feb 2012 02:53:10 -0500 (EST)
Received: from web1.nyi.mail.srv.osa ([10.202.2.211]) by compute4.internal (MEProxy); Thu, 16 Feb 2012 02:53:10 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:cc:mime-version:content-transfer-encoding :content-type:references:subject:in-reply-to:date; s=mesmtp; bh= PPe3OO5n5w8gE6P1Rtv4GwQBQUs=; b=CKLF8qzm8RNo8pZM44f4423pcWRHNyPe cRgb5GpqyUNLLZZIqBpD/YMvQbds+iQ7GKMxNx0riP+xjKyjNr4Kpd+CGZm3uFzb pnHjBNOOZ6Kxq/IXkfAwIP1uHc+7g9uWcnW4PkoPJ4jl2FtY3RyurW7D2Oqo9lg/ 6J9QinADGHU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:cc:mime-version :content-transfer-encoding:content-type:references:subject :in-reply-to:date; s=smtpout; bh=PPe3OO5n5w8gE6P1Rtv4GwQBQUs=; b= VQHdmYvjpTS0SFQIeKJ4HOnIEcH7plS7YdetTT04DjY9rnMMNfVt+f5M0vUXsMI5 Ujys+60eOvkPpgRRII2Xhr+6XOQM79/RO3S116Uq3kYtN2pGBPWybtZahZUMvd40 e9zYmjE2qjHDvsR/3MNcSF2kejEU2946JPywXwEkPQ8=
Received: by web1.nyi.mail.srv.osa (Postfix, from userid 99) id 3AEE4A000D0; Thu, 16 Feb 2012 02:53:10 -0500 (EST)
Message-Id: <1329378790.1730.140661037246165@webmail.messagingengine.com>
X-Sasl-Enc: clBsbzmHSX421JPL1GzxI/9PiX6s4eSZnRARZDdaR8fc 1329378790
From: Bron Gondwana <brong@fastmail.fm>
To: Adrien de Croy <adrien@qbik.com>, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
X-Mailer: MessagingEngine.com Webmail Interface
References: <B764BD8C8B6047E659EABBE2@caldav.corp.apple.com><4F397212.1030107@qbik.com><20120213210805.GB13029@launde.brong.net><alpine.LSU.2.00.1202151405550.30682@hermes-2.csi.cam.ac.uk><1329315552.1444.140661036879893@webmail.messagingengine.com><4F3BBFA4.8010107@isode.com><1329316981.8310.140661036883625@webmail.messagingengine.com><4F3BC7DA.5070803@gulbrandsen.priv.no><20120215181047.GB13906@launde.brong.net><alpine.OSX.2.00.1202151020140.38441@hsinghsing.panda.com><20120215213122.GB16253@launde.brong.net><4F3C2C1B.6030408@qbik.com> <3077.1329344733.342803@puncture><4F3CA887.9050509@gulbrandsen.priv.no> <4F3CABDB.8080203@qbik.com>
In-Reply-To: <4F3CABDB.8080203@qbik.com>
Date: Thu, 16 Feb 2012 08:53:10 +0100
Cc: "Discussion on drastically slimming-down IMAP." <imap5@ietf.org>
Subject: Re: [imap5] Feature set? - was Re: 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: Thu, 16 Feb 2012 07:53:17 -0000

On Thu, Feb 16, 2012, at 08:10 PM, Adrien de Croy wrote:
> On 16/02/2012 7:56 p.m., Arnt Gulbrandsen wrote:
> > On 02/15/2012 11:25 PM, Dave Cridland wrote:
> >> This mailing list is "Discussion on drastically slimming-down IMAP", and
> >> you've listed the properties of ACAP, SIEVE, IMAP, CalDAV, CardDAV *and*
> >> Submission, and then thrown in a kitchen sink too.
> > As I see it, he's listed features which are in the Exchange protocol and
> > in the unnamed protocol spoken by gmail's javascript heap and its
> > mothership.
> >
> > That makes them worthy of discussion.
> >
> > I know IETF dogma is that protocols shouldn't overlap. But it's a weak
> > kind of dogma: IMAP overlaps with POP, POP overlaps with Submission,
> > various IMAP extensions with ACAP and what's that about IMSP? I could go on.
> 
> actually with a layered approach, this dogma could be maintained, as the 
> facilities would be able to be specified separately.
> 
> Would be interesting to see wire-line protocol on GMail - I bet they use 
> Json

Yes they do - with the "while(1);" hack at the top to stop it being scraped
by cross site tricks.  It's quite a clever workaround - any cross site request
that tries to embed the JSON URL just freezes - so the remote site can't
actually read the data.

We (mail.opera.com) also use JSON.  Ours is probably much less efficient over
the wire, because we chose readability over optimisation at this stage, so we
have named keys.  We will hopefully have two independent clients for it soon,
which will help us keep it stable.  I'm not sure that it's an ideal place to
start either though.  At least it was designed with a direct mapping to IMAP
in mind, so the data models are as similar as we could get (though we
"extended" IMAP to support the cross folder things we needed)

Bron.
-- 
  Bron Gondwana
  brong@fastmail.fm