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

Adrien de Croy <adrien@qbik.com> Fri, 24 February 2012 20:28 UTC

Return-Path: <adrien@qbik.com>
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 A84C521F881F for <imap5@ietfa.amsl.com>; Fri, 24 Feb 2012 12:28:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.496
X-Spam-Level:
X-Spam-Status: No, score=-3.496 tagged_above=-999 required=5 tests=[AWL=-0.897, BAYES_00=-2.599]
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 E1B4Zenuxvcm for <imap5@ietfa.amsl.com>; Fri, 24 Feb 2012 12:28:54 -0800 (PST)
Received: from smtp.qbik.com (smtp.qbik.com [210.55.214.35]) by ietfa.amsl.com (Postfix) with ESMTP id 4933C21F8815 for <imap5@ietf.org>; Fri, 24 Feb 2012 12:28:54 -0800 (PST)
Received: From [192.168.1.10] (unverified [125.237.241.8]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3386)) with SMTP id <0018882018@smtp.qbik.com>; Sat, 25 Feb 2012 09:28:50 +1300
Message-ID: <4F47F310.3040203@qbik.com>
Date: Sat, 25 Feb 2012 09:29:04 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120216 Thunderbird/11.0
MIME-Version: 1.0
To: Brandon Long <blong@google.com>
References: <3077.1329391344.173214@puncture> <4F3CEB35.9080200@qbik.com> <1329394296.953.140661037317197@webmail.messagingengine.com> <4F3CFD35.10501@qbik.com> <alpine.LSU.2.00.1202161626400.30682@hermes-2.csi.cam.ac.uk> <4F3D6E57.8010301@qbik.com> <alpine.LSU.2.00.1202171127330.30682@hermes-2.csi.cam.ac.uk> <4F3F4F8F.3040601@qbik.com> <1329550573.30138.140661038121885@webmail.messagingengine.com> <alpine.LSU.2.00.1202191832430.12769@hermes-2.csi.cam.ac.uk> <20120219192604.GA11323@launde.brong.net> <alpine.LSU.2.00.1202201048480.31357@hermes-2.csi.cam.ac.uk> <4F465269.1040901@flaska.net> <4F465EBC.7090206@att.com> <16456.1330038954.623322@puncture> <CABa8R6vqMQYRJp-3zpA-GwzKfGTToXTbiGFssHF+375qdRcmYw@mail.gmail.com> <4F4751C0.20709@gulbrandsen.priv.no> <CABa8R6tFA2DFW6JMzASDf1Nhchs+ZZGd0bC9Qtv1c3DtyeSHKQ@mail.gmail.com>
In-Reply-To: <CABa8R6tFA2DFW6JMzASDf1Nhchs+ZZGd0bC9Qtv1c3DtyeSHKQ@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: imap5@ietf.org, Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
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: Fri, 24 Feb 2012 20:28:55 -0000

The obvious application for server-side parsing is providing the ability 
to search the store without having to download the whole thing first. In 
many cases it's simply not possible otherwise.

I think it's a very compelling feature.  Which for me means server-side 
parsing should stay.

One could argue that to a certain level it could be simplified.  
Providing a complete nested body structure is only really relied on by 
some clients.  Many just download the whole, or parts and then parse 
client-side.

But I don't know to what level, and since we have an existing working 
mechanism.

As for always connected vs offline & connect-as-required.  I think these 
are 2 useful cases.  In-house corporate use can benefit from always 
connected, but it doesn't scale well for huge providers.  Being able to 
re-establish some state without having to go through the whole setup 
phase could be an interesting option to look into, e.g. some reusable 
token (good for a certain amount of time since last use) would allow the 
server to cache the "session" and the client to re-establish quickly.

Adrien


On 25/02/2012 8:48 a.m., Brandon Long wrote:
> On Fri, Feb 24, 2012 at 1:00 AM, Arnt Gulbrandsen
> <arnt@gulbrandsen.priv.no>  wrote:
>> On 02/24/2012 01:09 AM, Brandon Long wrote:
>>> Of course, if we aren't parsing the messages on the server, we have to
>>> ask why we're implementing IMAP5 and not POP4
>> Some time ago you wrote that IMAP is the de facto API for talking to
>> gmail. I understand that you offer POP too, but IMAP's what people use,
>> right?
> Yes.  For simple backups / migrations, they'll tend to use POP which
> is easier to deal with, but for anything that requires actually
> writing to the store or getting specific pieces of information,
> performing searches, obviously IMAP is the better choice.
>
> I was being mostly facetious about POP4.  There may be an argument for
> a simpler protocol which does 2-way syncing in a log-like fashion with
> a side-order of mail sending.  That's essentially what the Android
> Gmail client uses (our own http based two-way sync based on actual
> changes going across).  But, I tend to be a believer in the off-line
> syncing clients instead of the always connected ones.
>
> Brandon
> _______________________________________________
> imap5 mailing list
> imap5@ietf.org
> https://www.ietf.org/mailman/listinfo/imap5

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com