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

Bron Gondwana <brong@fastmail.fm> Sun, 12 February 2012 22:09 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 9815421F86BB for <imap5@ietfa.amsl.com>; Sun, 12 Feb 2012 14:09:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[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 pnEX-REfYhyC for <imap5@ietfa.amsl.com>; Sun, 12 Feb 2012 14:08:58 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by ietfa.amsl.com (Postfix) with ESMTP id A6BF121F8677 for <imap5@ietf.org>; Sun, 12 Feb 2012 14:08:58 -0800 (PST)
Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 5A69421049 for <imap5@ietf.org>; Sun, 12 Feb 2012 17:08:58 -0500 (EST)
Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute3.internal (MEProxy); Sun, 12 Feb 2012 17:08:58 -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=jhLQ8gcClf1Pnvw/rWYn5857 8dE=; b=confUj2/SUiVBEkDru1pH4dBH99b6PeIVd54qzYLZfupGfY4avjdz6Ih MKE6iLNYO6BVJXtMdk1Ske8hIRVACu9t+tsW8b0fDoLVe26tdCuY5jA80Z8NP98a gYuxXBq/Pt/NYLWbThEjU9+vDrfsBI+2qKgsJehypVy6ARWQlVc=
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=jhLQ8gcClf1Pnvw/rWYn58578dE=; b=kra4+C5qtwQFkvMoNxxGnaWkTFD3 2pt7dl3QysKxb8YzJKFnhzprXe2fGT2+JKUO6HE88HsUnkygSuwec21md7KOUWQt JT5q9g4JTARtzeOj/DUDxkaHdyQNszcqgwvlGGrhEoWIb7VYSYaayfNFyq46mQkW oDSzVfonhbG409g=
X-Sasl-enc: GtEDZU0PgRV0PJlcOqnqCl2vZnsFRXUphhlgNzrIBm0z 1329084538
Received: from localhost (99.249.9.46.customer.cdi.no [46.9.249.99]) by mail.messagingengine.com (Postfix) with ESMTPSA id 122958E0085; Sun, 12 Feb 2012 17:08:58 -0500 (EST)
Received: by localhost (Postfix, from userid 1000) id ADE41327E24; Sun, 12 Feb 2012 23:08:56 +0100 (CET)
Date: Sun, 12 Feb 2012 23:08:56 +0100
From: Bron Gondwana <brong@fastmail.fm>
To: Adrien de Croy <adrien@qbik.com>
Message-ID: <20120212220856.GA24013@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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4F3835A1.7060804@qbik.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: Sun, 12 Feb 2012 22:09:00 -0000

On Mon, Feb 13, 2012 at 10:56:49AM +1300, Adrien de Croy wrote:
> 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.

Absolutely agree.  There has to be a way to do basic "client
wants to upload a message to Sent (possibly upload it to
Drafts first and then move it to Sent, with a copy going
out to the destination too) within the one protocol.  If
you're doing something more fancy, there's still SMTP.

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

Similarly, there needs to be a way to do notifications in-protocol.
I still think that being compatible with an external protocol as
well is good.  Either way the notification should need to be nothing
more than a new HIGHESTMODSEQ value from which the client can update
whichever views it's interested in.

To reduce roundtrips, it would be nice to register a view on which
you want updates pushed rather than just getting a new modseq and
having to ask for the updates... but that's a minor optimisation
compared to having to run a "STATUS loop" over all your folders or
open hundreds of separate TCP connections to get information.

Bron.