Re: [Jmap] Submission

Ned Freed <ned.freed@mrochek.com> Mon, 24 April 2017 00:32 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 5B9CD127871 for <jmap@ietfa.amsl.com>; Sun, 23 Apr 2017 17:32:56 -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 51sndu3Gnn_a for <jmap@ietfa.amsl.com>; Sun, 23 Apr 2017 17:32:52 -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 BBFC01204DA for <jmap@ietf.org>; Sun, 23 Apr 2017 17:32:52 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01QDIVTM7TI80081MB@mauve.mrochek.com> for jmap@ietf.org; Sun, 23 Apr 2017 17:27:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1492993668; bh=WHRqQfB6mWcrVNCpYwSixzsoJKCXX4xQMBLUzjImJVE=; h=Cc:Date:From:Subject:In-reply-to:References:To; b=Ih3IGCWdcByTWatzknWrf+OZxpGU9u3BXrp6Ui7SA9ezO1ZG7qk9xqc4UplsSuPsU OXPDP6SOuU3Wq/+GaB+GpY7QQIBrhTZBYIhquBP+R3/uTeRee4eesbqxhrWx6S4XWA Kla2fYbHcu79dTlfCnCS8ccTIGQNhZjX7Tbf52tY=
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 <01QD64433M0W00005B@mauve.mrochek.com>; Sun, 23 Apr 2017 17:27:45 -0700 (PDT)
Cc: Ned Freed <ned.freed@mrochek.com>, jmap@ietf.org
Message-id: <01QDIVTKAWPK00005B@mauve.mrochek.com>
Date: Sun, 23 Apr 2017 16:50:54 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sun, 23 Apr 2017 19:49:15 -0400" <87F9079E-AAC7-49C7-99FC-79F19AA3C5D6@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> <01QDFJV9BBBS00005O@mauve.mrochek.com> <65CA1C64-ACD9-4AF5-8ED4-59D4285B5A8D@fugue.com> <01QDITVRJT3O00005B@mauve.mrochek.com> <87F9079E-AAC7-49C7-99FC-79F19AA3C5D6@fugue.com>
To: Ted Lemon <mellon@fugue.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/VM0XeTY2mDfwWDba9oodRCDAqOU>
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: Mon, 24 Apr 2017 00:32:56 -0000

> On Apr 23, 2017, at 7:13 PM, Ned Freed <ned.freed@mrochek.com> wrote:
> > This is a entirely false dichotomy of choices you have going here. Nobody is
> > proposing "nailing it to SUBMIT". All anyone is saying is that you need to
> > have a means of specifying the envelope separate from the message and its
> > headers, and that the envelope needs to be extensible.

> If that's the case, then I don't think there's anything to argue about.   But I've been getting the impression that that's not the case.   I am fully in agreement with the assertion, with which I don't recall anyone disagreeing, that the envelope has to be separate from the message and has to be extensible.

> My concern is with avoiding a requirement that JMAP submit have the same
> _flow_ as SMTP submit.

Huh? Nobody has said that. AFAIK nobody has even hinted at that.

> So I want it to be the case that status can be delivered asynchronously,
> essentially.   I don't mind if it's also possible to deliver it synchronously,
> since that's just a degenerate case of asynchronous.

That's a completely different matter, and in that regard, I'll just make
a few observations:

(0) Synchronous delivery of status is, with the exception of a handful of
    egregiously broken clients, always going to provide the better user
    experience. This has everything to do with how people are wired and
    nothing to do with the technology.

(1) SUBMIT and SMTP both have the ability to deliver status both synchronously
    and asynchronously. We call the latter "DSNs". They have not worked out
    well.

(2) Asynchronous delivery of status information is NOT a degenerate case
    of synchronous delivery. For example, it's entirely possible for a SUBMIT
    server to always return success status codes and issue a DSN later. (In
    fact our SUBMIT server can be set to do exactly this, in order to
    deal with the aforementioned egregiously broken clients.)

(3) The argument that DSNs being in-band rather than an out-of-band mechanism
    is the root cause of all the problems in this area doesn't fly. Out-of-band 
    mechanisms for message status reporting have been tried - the obvious
    example is X.400 - and if anything they've worked less well than
    the in-band approach taken in SMTP. So nobody should assume that the
    definition of such a mechanism will magically lead to glory.

(4) There seems to be an assumption that an alternative asynchronous
    notification mechanism is something  that SUBMIT could not do. If so,
    that's incorrect. In fact I can easily imagine a SUBMIT extension that
    would specify an alternative mechanism for reporting delivery
    success/failures, which the server would then employ instead of
    generating one or more DSNs.

    In fact this would be so trivially easy to implement modulo whatever
    the backwards-pointing notification mechanism is I bet I could do it
    in only and hour or two of coding.

(5) Implementing proper error handling is hard, getting everyone to implement
    it correctly is probably impossible.

(6) There are a host of problems associated with the Outbox/Sent magic folder 
    proposal that have nothing to do with anything being discussed here.

In fact I believe I'm going to coin a new term at this point - the FUSMEHP. I
bet you can geuss what it means.

				Ned