Re: [Jmap] Submission

Arnt Gulbrandsen <arnt@gulbrandsen.priv.no> Fri, 21 April 2017 14:34 UTC

Return-Path: <arnt@gulbrandsen.priv.no>
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 8F0751294E0 for <jmap@ietfa.amsl.com>; Fri, 21 Apr 2017 07:34:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gulbrandsen.priv.no
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 zozgQlsB8huF for <jmap@ietfa.amsl.com>; Fri, 21 Apr 2017 07:34:49 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [IPv6:2001:4d88:100c::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 042F012944C for <jmap@ietf.org>; Fri, 21 Apr 2017 07:34:48 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (localhost [127.0.0.1]) by strange.aox.org (Postfix) with ESMTP id 4AAA7FA0075; Fri, 21 Apr 2017 14:34:47 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1492785287; bh=LiwWyOVrbdn5VKvFIoJgVAJSImImPSh+cU1N990LTcc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZcQcbXFG+pRJuTSKaVCokdRJOfrUtHbUZfEl4ipRgUGFzE3GjKT1cQz5uHrGTjBXZ L7Xyy9M8lDWPYCN8lmcbiebs9Pz4q2DGE/MrD0pWkspro1qg5EFMKef92PENwvdQFH dMcEKfvfaNcapLi/Zf4Z13axgg/ig8xpjVv0qZSg=
Received: from arnt@gulbrandsen.priv.no by fri.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1492785286-26128-4380/11/8; Fri, 21 Apr 2017 14:34:46 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: jmap@ietf.org
Date: Fri, 21 Apr 2017 15:34:44 +0100
User-Agent: Trojita/v0.5-9-g8961725; Qt/4.8.6; X11; Linux; Devuan GNU/Linux 1.0 (jessie)
Mime-Version: 1.0
Message-Id: <4471fa93-2321-4a7e-87b0-fbb00927d584@gulbrandsen.priv.no>
In-Reply-To: <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>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/lpxtVeUspI10_-b4zybjCm1D6GM>
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 14:34:51 -0000

Ted Lemon writes:
> 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.

Hm?

Won't the nexthop generally be the thing that the port-587 server forwards 
to? After all, JMAP already handles authentication, and it's not clear to 
me that a typical JMAP server is easily able to authenticate on behalf of 
the end user in a way that a port-587 server accepts.

Assuming that JMAP forwards to the filter or smarthost, then requiring that 
JMAP servers be able to forward SMTP extensions looks really odd. A 
submission server on port 587 cannot forward SMTP extensions from its 
nexthop, why should one on port 443 have to?

The usual answer is "so as to not need a corresponding JMAP RFC whenever 
there's a new SMTP RFC". That strikes me as poor. A new extension requires 
an RFC and three kinds of implementations (SMTP client, submission server, 
filter server). The RFC publication bit isn't usually the bottleneck among 
those four.

> 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.

+1

Arnt