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

Adrien de Croy <adrien@qbik.com> Sun, 12 February 2012 21:57 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 E88F221F86AD for <imap5@ietfa.amsl.com>; Sun, 12 Feb 2012 13:57:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.08
X-Spam-Level:
X-Spam-Status: No, score=-6.08 tagged_above=-999 required=5 tests=[AWL=-3.481, 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 5hmelJBlCBPP for <imap5@ietfa.amsl.com>; Sun, 12 Feb 2012 13:57:14 -0800 (PST)
Received: from smtp.qbik.com (smtp.qbik.com [210.55.214.35]) by ietfa.amsl.com (Postfix) with ESMTP id 6E93B21F861D for <imap5@ietf.org>; Sun, 12 Feb 2012 13:57:14 -0800 (PST)
Received: From sago.qbik.com (unverified [192.168.0.3]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.1.0 (Build 3379)) with SMTP id <0018859797@smtp.qbik.com>; Mon, 13 Feb 2012 10:57:11 +1300
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.3] (WinGate SMTP Receiver v7.0.8 (Build 3364)) with SMTP id <0010058419@sago.qbik.com>; Mon, 13 Feb 2012 10:56:49 +1300
Message-ID: <4F3835A1.7060804@qbik.com>
Date: Mon, 13 Feb 2012 10:56:49 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120124 Thunderbird/10.0
MIME-Version: 1.0
To: Cyrus Daboo <cyrus@daboo.name>
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>
In-Reply-To: <833EE8EEE88E4ADE5CDDDADB@caldav.corp.apple.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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: Sun, 12 Feb 2012 21:57:16 -0000

On 11/02/2012 4:09 a.m., Cyrus Daboo wrote:
> Hi Thomas,
>
> --On February 10, 2012 3:44:50 PM +0100 Thomas Koch <thomas@koch.ro> 
> wrote:
>
>>> * updates.  Would need to poll or use long polling to get real-time
>>> updates (e.g. notification of incoming mail).
>> Could Websockets or http://en.wikipedia.org/wiki/Comet_(programming) be
>> of  help here?
>
> For CalDAV and CardDAV we (Apple, http://calendarserver.org) have used 
> XMPP pubsub and our own APNS to implement a push notification service. 
> Frankly I think the IETF should have developed a proper notification 
> protocol for use alongside other protocols a long time ago - simply 
> "blessing" XMPP pubsub as the solution for that would be fine from a 
> standards point, but perhaps something else (new) coukld be done too. 
> What then needs to be defined are the hooks in each underlying 
> protocol to allow clients to discover the appropriate pubsub service. 
> In CalDAV/CardDAV that is simply done using WebDAV properties to 
> advertise the essential client push configuration.
>
> So, in my opinion, whilst push notifications should be a requirement 
> for imap5, we should not define that protocol and instead push the 
> IETF to provide such a protocol for general use.
>

I don't think that's a workable approach.

Getting such a protocol together, which enables notifications from any 
other application protocol I think will take a very long time, if it can 
even succeed.  It's hard enough getting consensus within one protocol 
working group, let alone all of them working together.

Also every different protocol has different notification requirements.  
trying to cover all that in a single protocol I think would be difficult.

Finally, one of the things I am keen to see disappear with IMAP5 (for 
want of a better name) is the requirement for clients, admins etc to 
deploy multiple protocols - e.g. allow submission in IMAP.  This is 
because it's frankly a large (and should be unnecessary) admin burden 
trying to support 2 protocols for mail (e.g. SMTP + POP3/IMAP4).  Mail 
users don't understand the significance, they just submit support 
tickets because they can retrieve mail but not send.  Firewalls block 
ports, ISPs intercept / block port 25 (NZ largest ISP does this), 
multiple protocols = multiple realms for credentials, multiple 
implementations of authentication and authorization etc.

Having to have another protocol to implement to get notifications back 
probably over another channel etc makes this issue worse not better.

Adrien

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
WinGate 7 is released! - http://www.wingate.com/getlatest/