Re: [Jmap] Submission

Alexey Melnikov <alexey.melnikov@isode.com> Wed, 19 April 2017 15:39 UTC

Return-Path: <alexey.melnikov@isode.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC164129B13 for <jmap@ietfa.amsl.com>; Wed, 19 Apr 2017 08:39:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AiDN30s3tmz5 for <jmap@ietfa.amsl.com>; Wed, 19 Apr 2017 08:39:19 -0700 (PDT)
Received: from statler.isode.com (Statler.isode.com [62.232.206.189]) by ietfa.amsl.com (Postfix) with ESMTP id 75E0C129B0F for <jmap@ietf.org>; Wed, 19 Apr 2017 08:39:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1492616358; d=isode.com; s=june2016; i=@isode.com; bh=jBmMEgwGIYujwyoFp1Jm8VxOWYBXA3ZIY/K8vGfjEH0=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=bKhUdhFdGI8crByz5Mis8kNnZs1Yec9zTSmtNYWutYqVvPbNkx1Pr2f4jupFkCj+mldHK2 sHeTmfHR+wunR9pd4gllMVaodMIfOCY9nNoEF3AJp7waxA8PzLumoNqbZgkFJ5ipHaGBkS 0KZWRSRvOBQPlJj8faGRAeS1cFYiw0g=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215]) by statler.isode.com (submission channel) via TCP with ESMTPSA id <WPeEpgB5YxkW@statler.isode.com>; Wed, 19 Apr 2017 16:39:18 +0100
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
References: <em27fa7b29-5584-44f3-aa88-086ce734ab59@bodybag> <1492585876.3100717.948941576.3168BAAE@webmail.messagingengine.com> <em325289ca-eee8-4c74-85de-cb55a2dc5085@bodybag> <0D1582C6-5843-44EC-BDD0-DB484306B066@isode.com> <20170419122846.GA9764@debian> <87wpag7bi5.fsf@fifthhorseman.net>
Cc: "jmap@ietf.org" <jmap@ietf.org>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <ff93f132-5776-f490-e06d-4713f3129992@isode.com>
Date: Wed, 19 Apr 2017 16:39:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
In-Reply-To: <87wpag7bi5.fsf@fifthhorseman.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/lRL1x93KRjwTK4xgBuOq5FSVELY>
Subject: Re: [Jmap] Submission
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Apr 2017 15:39:21 -0000

Hi,


On 19/04/2017 14:49, Daniel Kahn Gillmor wrote:
> On Wed 2017-04-19 08:28:46 -0400, Ricardo Signes wrote:
>> * Alexey Melnikov <alexey.melnikov@isode.com> [2017-04-19T05:11:42]
>>> I think having parameters for envelope would be a good idea (and it would be
>>> consistent with earlier discussions on Submit in IMAP.) But I am wondering if
>>> we can make common cases simple for clients by not requiring the parameters.
>> We discussed envelope parameters at IETF 98, and I hope that we do continue
>> forward by making them both possible and optional.
> I somehow missed that discussion at IETF 98, but i want to say that i
> think that envelope parameters during submission is an important
> feature.  MUAs that want their RFC5322 message to go out exactly as they
> composed it, but using an arbitrary SMTP envelope should be able to
> exercise that level of control via JMAP, without worrying that the
> server side is going to parse, interpret, rearrange, or mangle the
> standard in-message headers.
>
> Regarding one common mismatch between SMTP envelope and RFC5322 mail
> headers:
>
> I think that encouraging an MUA to include an explicit, in-band
> Bcc: header in a message that it hands off to a server for delivery is
> asking for trouble.
>
>
>
> Making the SMTP envelope parameters "optional" needs more specification.
> For who are they optional?  how?  optional for JMAP servers to
> implement?  optional for JMAP servers to accept?  optional for JMAP
> clients to include?  optional for JMAP clients to implement?
I meant the last two.
> My preference (for simplicity, omitting the explicit mechanism and just
> calling it "submission"):
>
>   * JMAP servers MUST accept SMTP envelope parameters via the submission
>     mechanism
>
>   * JMAP clients MAY decline to provide SMTP envelope parameters when
>     invoking the submission mechanism, in which case the JMAP server will
>     synthesize SMTP envelope parameters from the submitted message.
>
>   * synthesis of SMTP envelope headers at submission time by the JMAP
>     server should leave the message otherwise unchanged.
>
>   * delayed send should be implemented as an explicit envelope parameter,
>     not as a parsing of the in-band Date: header.  There are a range of
>     reasons why an MUA might want to submit a message with a in-band
>     Date: that the server finds objectionable (including server-side
>     clock failure).
+1.