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

Adrien de Croy <adrien@qbik.com> Sat, 18 February 2012 10:06 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 963A921F86C7 for <imap5@ietfa.amsl.com>; Sat, 18 Feb 2012 02:06:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.801
X-Spam-Level:
X-Spam-Status: No, score=-3.801 tagged_above=-999 required=5 tests=[AWL=-1.202, 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 w7kdVGNx+-LU for <imap5@ietfa.amsl.com>; Sat, 18 Feb 2012 02:06:53 -0800 (PST)
Received: from smtp.qbik.com (smtp.qbik.com [210.55.214.35]) by ietfa.amsl.com (Postfix) with ESMTP id 3BCC721F86C4 for <imap5@ietf.org>; Sat, 18 Feb 2012 02:06:52 -0800 (PST)
Received: From [192.168.1.10] (unverified [125.237.241.8]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.1.0 (Build 3381)) with SMTP id <0018869691@smtp.qbik.com>; Sat, 18 Feb 2012 23:06:49 +1300
Message-ID: <4F3F7833.9020003@qbik.com>
Date: Sat, 18 Feb 2012 23:06:43 +1300
From: Adrien de Croy <adrien@qbik.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120202 Thunderbird/11.0
MIME-Version: 1.0
To: Bron Gondwana <brong@fastmail.fm>
References: <B764BD8C8B6047E659EABBE2@caldav.corp.apple.com><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> <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> <4F3D6E57.8010301@qbik.com> <alpine.LSU.2.00.1202171127330.30682@hermes-2.csi.cam.ac.uk> <4F3F4F8F.3040601@qbik.com> <1329550573.30138.140661038121885@webmail.messagingengine.com>
In-Reply-To: <1329550573.30138.140661038121885@webmail.messagingengine.com>
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: Sat, 18 Feb 2012 10:06:54 -0000

On 18/02/2012 8:36 p.m., Bron Gondwana wrote:
> On Sat, Feb 18, 2012, at 08:13 PM, Adrien de Croy wrote:
>> AFAIR Bcc should never hit the wire.  That's how it can be "blind"
>> carbon copy.
>>
>> Otherwise you rely on a server to strip it.
> I entirely disagree.  I was thinking quite a bit about the "upload to
> the IMAP server and then send it via SMTP while telling it who to
> send to", and I actually don't like it.

with respect, others may like it and want to do it.

If you don't like it, you can design your server and client to behave 
the way you like without making it impossible for others to do it in the 
protocol.

others may prefer to submit the SMTP envelope information when they tell 
the server to send a message, and it could be stored as some meta-data 
on the message.

Sure, if there's a huge desire to do this then fall-back to SMTP may be 
possible... but we're doing submission in IMAP so that client authors no 
longer have to support that protocol right?

> Certainly in the XSENT I implemented, once it has sent, it sets an
> \XSent flag on the immutable message.  Not an \XSent-to-one-address.

server is free to do whatever else it likes, like moving it to sent, or 
making a copy or whatever.

>
> The message with an \XSent flag is a record that it was sent to the
> addresses listed in that header.
>
> And the copy that went "over the wire" up to the IMAP server is your
> record of what you did.  That _should_ include the BCC, so you can go
> back later and check who you sent it to.  Obviously, the BCC should
> be stripped as it gets handed over to the delivery agent.
I guess it's a grey area there - if you consider IMAP to be a remote 
mail client that you're driving from a distance, then it's ok to store a 
BCC header, just like you would if you were storing it in a local 
store.  But you're relying on the IMAP server to strip it when it 
submits the mail for delivery, which is a bit of work for the IMAP server.

If you don't have to parse and re-build messages all the time, you'll 
scale much better.

>
> Bron.

-- 
Adrien de Croy - WinGate Proxy Server - http://www.wingate.com