Re: [Jmap] Submission

Ned Freed <ned.freed@mrochek.com> Fri, 21 April 2017 15:18 UTC

Return-Path: <ned.freed@mrochek.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 C7128129510 for <jmap@ietfa.amsl.com>; Fri, 21 Apr 2017 08:18:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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_HELO_PASS=-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=mrochek.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 phjIM_UepFmW for <jmap@ietfa.amsl.com>; Fri, 21 Apr 2017 08:18:18 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 832A0127868 for <jmap@ietf.org>; Fri, 21 Apr 2017 08:18:18 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01QDFJVC928G006BAP@mauve.mrochek.com> for jmap@ietf.org; Fri, 21 Apr 2017 08:13:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1492787593; bh=joX1n6KE7JTLNoSR9tDT/Agy5nOZDgeXFFAvm4r7zOQ=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=X/AF//7J9/gE+7Y5i0GWYTopnG3RqPl2jqASFPtQJNUZQrNlKQCnJ8dUUogkMpxVL Z0m0XdKBb0G656+/tf3VSJQdDF82L9c9GvuK11+XgHc2fihAiMP0YWotynAaBRZqHP MW5T2et0tCkr8avg3YtfMGIZC/I5DfAzpnimLx6M=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01QDELNEAKJK00005O@mauve.mrochek.com>; Fri, 21 Apr 2017 08:13:09 -0700 (PDT)
Cc: Ned Freed <ned.freed@mrochek.com>, John R Levine <johnl@taugh.com>, jmap@ietf.org, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Message-id: <01QDFJV9BBBS00005O@mauve.mrochek.com>
Date: Fri, 21 Apr 2017 08:02:32 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 21 Apr 2017 09:43:56 -0400" <BC098A22-2837-4316-822A-27232A896EF1@fugue.com>
References: <20170419163429.8556.qmail@ary.lan> <87d1c873cf.fsf@fifthhorseman.net> <alpine.OSX.2.20.1704191353500.43511@ary.qy> <01QDEV2QM6XC00005O@mauve.mrochek.com> <BC098A22-2837-4316-822A-27232A896EF1@fugue.com>
To: Ted Lemon <mellon@fugue.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/eQhA2ExCZHXzpXP-P_g_kRNwbVc>
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: Fri, 21 Apr 2017 15:18:20 -0000

> On Apr 20, 2017, at 11:06 PM, Ned Freed <ned.freed@mrochek.com> wrote:
> > More generally, the only difference between a JMAP capability tied to, say,
> > a magic header and a SUBMIT extension is syntax. But if you specify things
> > in a way that makes it difficult to map from one to the other, you'll pay
> > the price for that as long as either protocols continue to evolve - and that's
> > going to be a long time.

> I think the distinction comes from whether you actually think that the SMTP
> submission protocol is always going to be what's behind a message submitted via
> JMAP. If you think that, then it's going to look really weird to not just
> replicate that exact paradigm with the JMAP submission process.

I don't think that at all and I doubt anyone else does either, so this 
distinction seems completely irrelevant to me.

The issue is semantics, not syntax. If your design locks you in to a
particular set of semantics that cannot be extended - which is what any
design that fails to allow for capability discovery and attachment of
arbitrary parameters - you've put yourself in a position where you need
to continually revise things in order to keep them synchronized as the
capabilities of the transport infrasture continue to evolve.

None of this is in any way specific to SUBMIT or SMTP.

> However, it's not at all clear to me that that makes any general sense.   I'm
> sure it makes sense in some implementations, but if we were to go that route,
> we would essentially be nailing JMAP to SMTP submission.   There's some value
> to doing this in that it avoids reinventing the wheel, but there is also
> damage, in that the SMTP submission paradigm really isn't particularly
> congruent to the general paradigm of JMAP.

The message transport process is precisely defined as a series of steps that
begin with submission and end with delivery. Nothing in that process says
that SUBMIT has to be used for submission - and it frequently isn't in
practice - but in order to be compatible with the current transport
infrastructure submission does have to occur and where it occurs has to be
well defined.

> The point is that whichever choice we make, we are going to pay a price for
> it.   It's worth asking what that price is, and also asking what the advantages
> are to the choices we have, and then deciding on that basis.   The fact that we
> would pay a price for not replicating SMTP submission can definitely be taken
> as a given.

I'm afraid that's really not the point at all. There are always costs on
both sides of a decision; my point is that the costs on one side of this
decision are significant and ongong, whereas on the other, not so much.

				Ned