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

Cyrus Daboo <cyrus@daboo.name> Thu, 16 February 2012 15:24 UTC

Return-Path: <cyrus@daboo.name>
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 1F42421F8690 for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 07:24:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.649
X-Spam-Level:
X-Spam-Status: No, score=-102.649 tagged_above=-999 required=5 tests=[AWL=-0.050, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 sLUMHUVEGXnr for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 07:24:06 -0800 (PST)
Received: from daboo.name (daboo.name [173.13.55.49]) by ietfa.amsl.com (Postfix) with ESMTP id D581321F87DD for <imap5@ietf.org>; Thu, 16 Feb 2012 07:24:04 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 806A621FFF24; Thu, 16 Feb 2012 10:23:59 -0500 (EST)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ckWgZVn0iLY4; Thu, 16 Feb 2012 10:23:54 -0500 (EST)
Received: from caldav.corp.apple.com (unknown [17.45.162.46]) by daboo.name (Postfix) with ESMTPSA id 3437521FFF14; Thu, 16 Feb 2012 10:23:52 -0500 (EST)
Date: Thu, 16 Feb 2012 10:23:49 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Giovanni Panozzo <giovanni@panozzo.it>, imap5@ietf.org
Message-ID: <58468AD004760C13E7117347@caldav.corp.apple.com>
In-Reply-To: <4F3CD1EB.20002@panozzo.it>
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> <3077.1329382177.374908@puncture> <4F3CCA6C.3020004@qbik.com> <8CA186A707E99CE0FB2B38E9@tyrion.rrz.uni-koeln.de> <4F3CD1EB.20002@panozzo.it>
X-Mailer: Mulberry/4.1.0a3 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1808"
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 15:24:07 -0000

Hi Giovanni,

--On February 16, 2012 10:52:43 AM +0100 Giovanni Panozzo 
<giovanni@panozzo.it> wrote:

> b) Autoconfiguration is checked only at client configuration. I would
> like to have the client reconfigured at every startup. This will let me
> do major changes at the server sides (ie: enable SSL ? Change server
> names ?), and client will be able to reconfigure themselves at next
> startup.

One of the things we are doing in CalDAV is supporting a server-driven 
client re-configuration mode. In large scale CalDAV deployments it is 
sometimes more efficient to "redirect" users to a specific host rather than 
rely on some internal-to-the-server reverse proxying. To deal with that we 
simply have servers change a WebDAV property from a path absolute value 
(e.g. '/calendars/users/cyrus') to one with an FQDN (e.g. 
'https://newserver.example.com/calendars/users/cyrus'). Clients are then 
expected to check that property on a regular basis and if they see it point 
to a new host, they "re-base" the user account accordingly.

And of course IMAP has a similar mechanism - RLOGIN.

Now I think I would prefer to stick to a mechanism like that - i.e. the 
service (imap, CalDAV etc) provides a "redirect" mechanism or at least a 
signal to the client, to indicate that a re-basing of the account is 
needed. But that could also be the trigger for the client to go re-do 
account provisioning. However, you need to be careful in terms of 
understanding client side "layering". i.e. there are different apps for 
each service, and possible a separate overall account configuration system. 
It may not be feasible for say the email app to tell the account config app 
to re-do all the services for that account. In any case, there are some 
interesting things to think about here.

-- 
Cyrus Daboo