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

Adrien de Croy <adrien@qbik.com> Thu, 09 February 2012 08:05 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 DDF7621F8546 for <imap5@ietfa.amsl.com>; Thu, 9 Feb 2012 00:05:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.578
X-Spam-Level:
X-Spam-Status: No, score=-6.578 tagged_above=-999 required=5 tests=[AWL=-3.979, 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 s+7Zqdj980Xz for <imap5@ietfa.amsl.com>; Thu, 9 Feb 2012 00:05:58 -0800 (PST)
Received: from smtp.qbik.com (smtp.qbik.com [210.55.214.35]) by ietfa.amsl.com (Postfix) with ESMTP id EEE7B21F8543 for <imap5@ietf.org>; Thu, 9 Feb 2012 00:05:57 -0800 (PST)
Received: From [192.168.1.10] (unverified [219.89.217.118]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3379)) with SMTP id <0018854642@smtp.qbik.com>; Thu, 09 Feb 2012 21:05:53 +1300
Message-ID: <4F337E61.5040702@qbik.com>
Date: Thu, 09 Feb 2012 21:05:53 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120202 Thunderbird/11.0
MIME-Version: 1.0
To: thomas@koch.ro
References: <1328732126.32086.140661033971485@webmail.messagingengine.com> <201202090820.28260.thomas@koch.ro>
In-Reply-To: <201202090820.28260.thomas@koch.ro>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 13 Feb 2012 11:43:57 -0800
Cc: ietf-imapext@imc.org, imap5@ietf.org, IMAP Protocol Interest List <imap-protocol@u.washington.edu>
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: Thu, 09 Feb 2012 08:06:00 -0000

Whilst HTTP could certainly be used to put together an email system, I 
don't think it would perform well enough to replace existing protocols 
on desktops.

The main issues I see are:

* updates.  Would need to poll or use long polling to get real-time 
updates (e.g. notification of incoming mail).
* slow.  Gut feel based on 17 years writing http proxies is that it 
would be too slow
* complex.  In order to reduce round-trips, you'd have to do many things 
in a single transaction, which would create complexity issues in the 
server and client
* protocol bloat.  if you think IMAP is bloated, try HTTP.
* fundamentally an off-line style protocol for mail, which has strong 
incentives to be online (esp for in-office use).

I think it would also be very problematic in the wild, since any http 
intermediary would feel entitled to mess with traffic.  E.g. heuristic 
caching, intercepting proxies etc.

It's almost too ubiquitous.  Everyone and their dog thinks they know how 
http works.  It's not strictly-enough defined, and has a LOT of optional 
features which aren't relevant for mail (e.g. content negotiation).  
Interop in http is already problematic, but start getting people writing 
mail servers in php etc, and see what starts to happen.  I think it 
would be a nightmare.

Adrien


On 9/02/2012 8:20 p.m., Thomas Koch wrote:
> Bron Gondwana:
>> Snide comments from those who don't agree with the goals are welcome too...
>> I just won't listen to you.  These goals are very important to me.
> Hi Bron,
>
> I'm not an expert in IMAP, just got here out of curiosity about Kolab[1]'s use
> of IMAP folders as data stores.
> I found some older initiatives to replace IMAP with an HTTP based approach.[2]
> What do you think of HTTP for mail access? For my bachelor thesis[3] I
> currently argue that CardDAV/CalDAV could be perfectly replaced by AtomPub
> (RFC 5023).
> The main advantage would be that most software developers on this planet have
> some vague understanding of HTTP and that imense infrastructure and software
> already exists.
>
> [1] http://wiki.kolab.org/Why_IMAP_Is_Used_For_Storage
> [2] http://www.prescod.net/rest/restmail/
>      https://www.ietf.org/mailman/listinfo/httpmail
> [3] https://github.com/thkoch2001/bachelor-thesis
>
> Best regards,
>
> Thomas Koch, http://www.koch.ro
>

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