Re: [ietf-smtp] Is this a valid Message-ID header ?
Paul Smith <paul@pscs.co.uk> Thu, 05 March 2020 09:18 UTC
Return-Path: <paul@pscs.co.uk>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4797A3A10D5 for <ietf-smtp@ietfa.amsl.com>; Thu, 5 Mar 2020 01:18:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=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=pscs.co.uk
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 KkXrSSRm0mcP for <ietf-smtp@ietfa.amsl.com>; Thu, 5 Mar 2020 01:18:42 -0800 (PST)
Received: from mail.pscs.co.uk (mail.pscs.co.uk [195.224.19.137]) (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 68F293A10C8 for <ietf-smtp@ietf.org>; Thu, 5 Mar 2020 01:18:41 -0800 (PST)
Authentication-Results: mail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=pscs
Received: from lmail.pscs.co.uk ([192.168.66.70]) by mail.pscs.co.uk ([10.224.19.137] running VPOP3) with ESMTPSA (TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384) for <ietf-smtp@ietf.org>; Thu, 5 Mar 2020 09:18:38 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pscs.co.uk; q=dns/txt; s=lmail; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To :Content-Type:Content-Transfer-Encoding:Cc:Reply-to:Sender; t=1583399604; x=1584004404; bh=ON9fxs2y6vYAQxiRR4RtnsXKzpXlCYVaJvBokvR3H8Y=; b=aKpEvWf3D4kqo3sjFfApSLk+Das1M5fRrWo5OQo9JWZ+50XIxDQLbA8h9uqKWKR0Ix5X9LQX 6rF5WonZhskAEr2lpWxzPtAidbkeMS7QNfyCS3FVp+jxu6gBlBwrmF/rsuAaOQIuYX2Wd1PXx0 7ig5kTYApHF2o13b9C2Q4JvTY=
Authentication-Results: lmail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from [192.168.66.100] ([192.168.66.100]) by lmail.pscs.co.uk ([192.168.66.70] running VPOP3) with ESMTPSA (TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384) for <ietf-smtp@ietf.org>; Thu, 5 Mar 2020 09:13:24 -0000
To: ietf-smtp@ietf.org
References: <20200305043414.0E7C515740C2@ary.qy>
From: Paul Smith <paul@pscs.co.uk>
Message-ID: <e793e1a2-3230-12a7-5a09-9f3c92ef9f8a@pscs.co.uk>
Date: Thu, 05 Mar 2020 09:13:24 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <20200305043414.0E7C515740C2@ary.qy>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
X-Authenticated-Sender: paul
X-Server: VPOP3 Enterprise V7.10 - Registered
X-Organisation: Paul Smith Computer Services
X-VPOP3Tester: 12 345
X-Authenticated-Sender: pscs
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/pXwFySXie2nPADusohmjVyRLw6c>
Subject: Re: [ietf-smtp] Is this a valid Message-ID header ?
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2020 09:18:45 -0000
On 05/03/2020 04:34, John Levine wrote: > I read IETF mailing lists on the IETF's IMAP server* and of late I've been > seeing some awfully funky stuff. > > This is an actual Message-ID header in one of the messages in dnsop. > Is that valid? Even though the MIME decodes to a an ASCII message ID > in the <string@domain> format, I think the answer is no. That's not > what RFC 5322 sec 3.6 allows. > > Message-ID: =?utf-8?q?=3CBN7PR11MB25474DF04998FF3AA9E0B80BC9E40=40BN7PR11MB2?= =?utf-8?q?547=2Enamprd11=2Eprod=2Eoutlook=2Ecom=3E?= I would say, no, it's not valid. The MIME encoding of headers is meant to sit on top of RFC 5322. So, format rules in RFC 5322 still have to apply BEFORE decoding the headers. So, From: =?utf-8?q?B=C3=B3b Smith?= <bob@example.com> is valid, because that matches the RFC 5322 rules even though, without the MIME decoding, it's slightly gibberish. The format is still valid. But From: =?utf-8?q?B=C3=B3b Smith =3Cbob@example.com=3E?= is not valid, because it doesn't match the rules, even though the MIME decoded headers will be identical. -- Paul Smith Computer Services Tel: 01484 855800 Vat No: GB 685 6987 53 Sign up for news & updates at http://www.pscs.co.uk/go/subscribe
- [ietf-smtp] Is this a valid Message-ID header ? John Levine
- Re: [ietf-smtp] Is this a valid Message-ID header… Paul Smith
- Re: [ietf-smtp] Is this a valid Message-ID header… Valdis Kl ē tnieks
- Re: [ietf-smtp] Is this a valid Message-ID header… Mark Andrews
- Re: [ietf-smtp] Is this a valid Message-ID header… John R Levine
- Re: [ietf-smtp] Is this a valid Message-ID header… Valdis Kl ē tnieks
- Re: [ietf-smtp] Is this a valid Message-ID header… John C Klensin
- Re: [ietf-smtp] Is this a valid Message-ID header… John R Levine
- Re: [ietf-smtp] Is this a valid Message-ID header… Ned Freed
- Re: [ietf-smtp] Is this a valid Message-ID header… John C Klensin
- Re: [ietf-smtp] Is this a valid Message-ID header… Keith Moore
- Re: [ietf-smtp] Is this a valid Message-ID header… Keith Moore