Re: [Jmap] Submission is not hard

Ned Freed <ned.freed@mrochek.com> Fri, 21 April 2017 15:30 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 0AA3312954A for <jmap@ietfa.amsl.com>; Fri, 21 Apr 2017 08:30:38 -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 jgsDBXZVvrtd for <jmap@ietfa.amsl.com>; Fri, 21 Apr 2017 08:30:36 -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 E842712956D for <jmap@ietf.org>; Fri, 21 Apr 2017 08:30:35 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01QDFKD23L40006Q8V@mauve.mrochek.com> for jmap@ietf.org; Fri, 21 Apr 2017 08:26:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1492788403; bh=VlXRyKLAEm2av/L/b8VGPawvTrlx46ggIueWyQFp/iA=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=fHdAVcwSWSuLvLKYe8A8hujNVj0jH14eIo5Zp2F6HCy/Adh5r8+zeknW9Qs+wDo1L 6L3HyA6obpS/A/xSsnD0TL2I7huW395gpYakpT5N11ga8QXR6DGXA1MSn6vrJP/AUE WX2XPVWPfwnameng7Jc/Bq2Cg2y3r+TUKxdZdDYM=
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:26:40 -0700 (PDT)
Cc: jmap@ietf.org, mellon@fugue.com
Message-id: <01QDFKCZZ52I00005O@mauve.mrochek.com>
Date: Fri, 21 Apr 2017 08:18:37 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 21 Apr 2017 15:16:36 +0000" <20170421151636.28173.qmail@ary.lan>
References: <BC098A22-2837-4316-822A-27232A896EF1@fugue.com> <20170421151636.28173.qmail@ary.lan>
To: John Levine <johnl@taugh.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/itH04tAYQIC72W8637k1_sdtW_g>
Subject: Re: [Jmap] Submission is not hard
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:30:38 -0000

> In article <BC098A22-2837-4316-822A-27232A896EF1@fugue.com> you write:
> >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.

> Um, this is the IETF.  If you want to invent a new, different, and
> incompatible mail system, JMAP is definitely not the place to do so.

> I am scratching my head about why people are having such trouble with
> the submission model.  It's not complicated.  The message goes into a
> queue, the envelope and message are separate, the envelope addresses
> can have annotations, and the server tells the client what optional
> features it supports.  That's it.  The options are, you know,
> optional, but many of them are useful.

Exactly right. And the envelope format can and should be dead easy to generate
- dare I suggest using JSON? - making this quite easy for clients to do.

> Before someone suggests that we should use some better scheme, I would
> point out that a lot of mail transport designs have come and gone over
> the past 40 years, and all of the others are dead.  You're going to
> need a really good story about why this time is different.

Having spent considerable time implementing most of the other designs that have
come and gone over the years, one of the conclusions I've reached is that full
envelope separation is a key design principle along the same lines as the
end-to-end principle. It's a shame it isn't recognized as such.

				Ned