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

Adrien de Croy <adrien@qbik.com> Thu, 16 February 2012 21:00 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 0590A21F8604 for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 13:00:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.057
X-Spam-Level:
X-Spam-Status: No, score=-4.057 tagged_above=-999 required=5 tests=[AWL=-1.458, 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 jDQYaOCTgT-Y for <imap5@ietfa.amsl.com>; Thu, 16 Feb 2012 13:00:17 -0800 (PST)
Received: from smtp.qbik.com (smtp.qbik.com [210.55.214.35]) by ietfa.amsl.com (Postfix) with ESMTP id 3439A21F8602 for <imap5@ietf.org>; Thu, 16 Feb 2012 13:00:17 -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 3381)) with SMTP id <0018867054@smtp.qbik.com>; Fri, 17 Feb 2012 10:00:15 +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 <0010060739@sago.qbik.com>; Fri, 17 Feb 2012 10:00:07 +1300
Message-ID: <4F3D6E57.8010301@qbik.com>
Date: Fri, 17 Feb 2012 10:00:07 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120202 Thunderbird/11.0
MIME-Version: 1.0
To: Tony Finch <dot@dotat.at>
References: <B764BD8C8B6047E659EABBE2@caldav.corp.apple.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><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>
In-Reply-To: <alpine.LSU.2.00.1202161626400.30682@hermes-2.csi.cam.ac.uk>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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 21:00:22 -0000

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.

> 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

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.

Adrien

>
> Tony.

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