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

Bron Gondwana <brong@fastmail.fm> Thu, 16 February 2012 22:37 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 9E88A21E805E for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 14:37:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.566
X-Spam-Level:
X-Spam-Status: No, score=-3.566 tagged_above=-999 required=5 tests=[AWL=0.033, 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 SFbp5kgNbDYE for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 14:37:33 -0800 (PST)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by ietfa.amsl.com (Postfix) with ESMTP id C14E321E803D for <imap5@ietf.org>; Thu, 16 Feb 2012 14:37:26 -0800 (PST)
Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 36F3F20DC7 for <imap5@ietf.org>; Thu, 16 Feb 2012 17:37:26 -0500 (EST)
Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 16 Feb 2012 17:37:26 -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=/fYPrUa+lxtN76xA5iQcbJTT Pvg=; b=hM858dCdoFpnu5eYND4yOdygJhJQgYySMgQUzsIO3XSw9nuCQLzUHiOg GyVGYib+nrFbzykbtkUOfJPm12qttvJqtLmudwbgAmqc23SevhqswqcDDcdFGfoP OeaZcqjEIEvtBfsScM6gZIa2qVXwcIy2PasTpi7yadAK6lAsDNs=
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=/fYPrUa+lxtN76xA5iQcbJTTPvg=; b=JZx5RBCT4S1sVNXPpCtva0ItASbg 7MhD2/IjIjCxivI56jjx96iVwatuaQg+8qq6YWYEDMdO5Rw3/uVKS4m4D0wpD36s LwLVlA2CrVVjQwSPn984/jtY891UepIzDLpB46a1LU/s1zJUOnW+/j+HSQguOEB+ hePhTBVAtct0dT0=
X-Sasl-enc: 08A3gxIG9JF/TyzQcAcFM9m8ut6lo0VE72QxGAgwdCX3 1329431845
Received: from localhost (99.249.9.46.customer.cdi.no [46.9.249.99]) by mail.messagingengine.com (Postfix) with ESMTPSA id C2C694824CB; Thu, 16 Feb 2012 17:37:25 -0500 (EST)
Received: by localhost (Postfix, from userid 1000) id 826572260C3; Thu, 16 Feb 2012 23:37:24 +0100 (CET)
Date: Thu, 16 Feb 2012 23:37:24 +0100
From: Bron Gondwana <brong@fastmail.fm>
To: Adrien de Croy <adrien@qbik.com>
Message-ID: <20120216223724.GD24183@launde.brong.net>
References: <3077.1329386263.642278@puncture> <4F3CD728.3010203@qbik.com> <3077.1329388899.383165@puncture> <4F3CE16B.3060603@qbik.com> <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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4F3D6E57.8010301@qbik.com>
Organization: brong.net
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: "Discussion on drastically slimming-down IMAP." <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: Thu, 16 Feb 2012 22:37:38 -0000

On Fri, Feb 17, 2012 at 10:00:07AM +1300, Adrien de Croy wrote:
> 
> 
> On 17/02/2012 5:40 a.m., Tony Finch wrote:
> >Adrien de Croy<adrien@qbik.com>  wrote:
> >>>With XSEND, you upload the message to IMAP first, then you say:
> >>>
> >>>TAG XSEND UID
> >>how do you provide the SMTP forward path?  Is that scraped from the headers?
> >That's the right thing to do. You also need to do BCC: processing.
> >(sendmail -t does the right thing.)
> 
> I think the guys that developed SMTP would disagree with you.  The
> reason the envelope is even specified in SMTP rather than the
> receiver simply scraping them out of the message, is that sometimes
> you need to deliver a message somewhere other than the To: / bcc:
> headers.

Rarely.  I don't even know an IMAP client which supports doing that.
It's not like SMTP would disappear if you need something more complex.

> >The rationale for BURL is that there is more to the SMTP envelope than
> >just the sender and recipient addresses - in particular there are the DSN
> >attributes. There's a somewhat ugly and ill-defined split between
> >information for MTA processing (in the envelope) and information for MUA
> >processing (in the headers - see MDN for example). But in fact MTAs do
> >header processing too, so there no practical advantage to ESMTP envelope
> >extensions and a lot of complexity disadvantage.
> >
> >There are a few envelope extensions: DSN, future release, message
> >tracking, CONNEG and CONPERM facsimile media conversion, and 8BITMIME +
> >BINARYMIME. If you want to eliminate BURL you need to either define a
> >mapping from headers to the extension parameters that you want to support,
> >or embed ESMTP inside IMAP.
> 
> yep, I'd definitely go for embedding SMTP into IMAP... since

Simple, heh.

> a) SMTP is a trivially simple protocol for an IMAP server to use to
> submit a message on behalf, whereas an IMAP client is much more
> complicated,
> b) take a look at the security implications in the BURL RFC.

Definitely agree that

Client <-----> IMAP ------> SMTP

is much simpler dataflow than

        +--------------------+               +--------------+
        |                    | <------------ |              |
        |     MUA (M)        |               | IMAPv4Rev1   |
        |                    |               |  Server      |
        |                    | ------------> | (Server I)   |
        +--------------------+               +--------------+
               ^    |                              ^     |
               |    |                              |     |
               |    |                              |     |
               |    |                              |     |
               |    |                              |     |
               |    |                              |     |
               |    |                              |     v
               |    |                        +--------------+
               |    |----------------------> |   SMTP       |
               |                             |   Submit     |
               |-----------------------------|   Server     |
                                             |  (Server S)  |
                                             +--------------+


Half as many communication channels.

Bron.