Re: [Jmap] Address Validation (was Re: Submission)

Paul Smith <paul@pscs.co.uk> Tue, 25 April 2017 09:56 UTC

Return-Path: <paul@pscs.co.uk>
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 C5721129C2F for <jmap@ietfa.amsl.com>; Tue, 25 Apr 2017 02:56:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.621
X-Spam-Level:
X-Spam-Status: No, score=-2.621 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 oKAa-yRO-CD0 for <jmap@ietfa.amsl.com>; Tue, 25 Apr 2017 02:56:17 -0700 (PDT)
Received: from mail.pscs.co.uk (mail.pscs.co.uk [188.65.177.237]) (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 BE6BE129BF3 for <jmap@ietf.org>; Tue, 25 Apr 2017 02:56:16 -0700 (PDT)
Authentication-Results: mail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from lmail.pscs.co.uk ([82.68.5.206]) by mail.pscs.co.uk ([188.65.177.237] running VPOP3) with ESMTP; Tue, 25 Apr 2017 10:55:51 +0100
Authentication-Results: lmail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from [192.168.66.101] ([192.168.66.101]) by lmail.pscs.co.uk ([192.168.66.70] running VPOP3) with ESMTPSA; Tue, 25 Apr 2017 10:50:44 +0100
To: Adrien de Croy <adrien@qbik.com>, "jmap@ietf.org" <jmap@ietf.org>
References: <1492996915.3310412.953749536.0F1C8B46@webmail.messagingengine.com> <20170424014957.39235.qmail@ary.lan> <emb951e04d-3dc9-4244-915b-21bd272245ff@bodybag> <alpine.OSX.2.20.1704240925190.68584@ary.qy> <e41c88ed-2ed5-47b8-923c-bfac12334808@gulbrandsen.priv.no> <DB03A7F421F2B9E4A8C6AD1D@caldav.corp.apple.com> <6319482c-e53f-4483-870b-844e23030f8c@gulbrandsen.priv.no> <A9622742-D931-4975-9572-04878949EDDE@fugue.com> <a9edd67d-64fc-56cc-a64d-92db10e3369d@pscs.co.uk> <em84e4d1f0-cfb3-46c6-99e0-a3398bda2bc4@bodybag>
From: Paul Smith <paul@pscs.co.uk>
Message-ID: <1702cc09-1d91-b9e8-0fbc-027981f8cb40@pscs.co.uk>
Date: Tue, 25 Apr 2017 10:50:43 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <em84e4d1f0-cfb3-46c6-99e0-a3398bda2bc4@bodybag>
Content-Type: multipart/alternative; boundary="------------9EFAA5EF96ACDBF04482B318"
X-Authenticated-Sender: paul
X-Server: VPOP3 Enterprise V7.2 - Registered
X-Organisation: Paul Smith Computer Services
X-VPOP3Tester: 12 345
X-Authenticated-Sender: paul
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/HsxsYcbsRpxgeMTcpY7RVnA6NJQ>
Subject: Re: [Jmap] Address Validation (was Re: 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: Tue, 25 Apr 2017 09:56:20 -0000

On 25/04/2017 10:26, Adrien de Croy wrote:
>
> I think the problem with lack of support for MDN / DSN in clients may 
> be due to lack of implementation in the network of support for it.
>
> If there's still a significant number of deployed systems that don't 
> support it, then clients have increased doubts about its worth. 
>  Chicken and egg issue again.
>
> I wouldn't presume that the reason that it doesn't appear so much in 
> the wild in clients is due to lack of interest.  Maybe some MUA 
> authors could be approached for comment.
>
> We looked several times at supporting DSN etc in our mail system, and 
> balked at some of the more onerous requirements.

DSN wasn't that hard when we implemented it (many years ago so I've 
forgotten details). It wasn't trivial either (we had to change the way 
envelope data was stored), but there are some things which have been far 
more onerous (it's a 'separate' thing, so potential breaking effects in 
other code are limited - unlike full 8 bit support which affects pretty 
much everything).

But - if DSN is hard to implement, then any 'delivery status' type thing 
could be similarly hard so may affect JMAP implementation if delivery 
status is a mandatory part of that standard.


> A lot of the extension RFCs have onerous requirements for interfacing 
> with non-supporting systems.  8BITMIME springs to mind here.  So we 
> are binary safe (even embedded NULLs), but don't advertise 8BITMIME 
> due to not wanting to take on the responsibility of what to do when 
> forwarding to another server that doesn't advertise it.  Maybe that 
> just makes us lame.  Probably should revisit both these.

We support 8 bit, but not embedded NULLs. Changing that would be a big 
thing (probably not to implement in the message store, but to just to 
test (and write new tests for) EVERYTHING that looks at the data). We've 
thought about it, but since we probably wouldn't advertise 8BITMIME 
anyway, for the reasons you say, it's easier just not to potentially 
break things by supporting NULL characters ;-)

To me, having to rewrite messages is a really bad idea (DKIM etc), so 
8BITMIME just isn't worth doing now. If we were designing SMTP nowadays, 
obviously full 8 bit support would be mandatory, but we're not.