Re: [dmarc-ietf] Apropos of the de-munging draft

John R Levine <johnl@taugh.com> Sun, 02 August 2020 21:23 UTC

Return-Path: <johnl@taugh.com>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62F2F3A0C5B for <dmarc@ietfa.amsl.com>; Sun, 2 Aug 2020 14:23:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.2
X-Spam-Level:
X-Spam-Status: No, score=-0.2 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=v0iGv4lO; dkim=pass (2048-bit key) header.d=taugh.com header.b=OfHiCdQm
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 hwDU_Xlpx82G for <dmarc@ietfa.amsl.com>; Sun, 2 Aug 2020 14:23:39 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 2C4F63A0C59 for <dmarc@ietf.org>; Sun, 2 Aug 2020 14:23:38 -0700 (PDT)
Received: (qmail 54026 invoked from network); 2 Aug 2020 21:23:37 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=d308.5f272ed9.k2008; i=johnl-iecc.com@submit.iecc.com; bh=hIad4fGqlGRRpTCqO7pKByISi4wKCnXxFKYk5ADlHzQ=; b=v0iGv4lOoDiGv4tD63dIcSwAN3bShwDrrVB8UfQZT0eapCeSwRRMEQGMgubrk+80qGXKsGwogB55DGSfpez4OfMUtfhNgEXZJNT0L8qPvpFLqxyf25XiHAL+00HySesYbOSMR/umD60xSdz2BSLf1IbVsddgtAjtTpHZMzpZ83PRQwqzFMi0zmkZOITt/Dkj+uC1Yxx6ZJKK/TGDQXE84X1IFUJpdqj8Wu2xRo1WWQeS+in3aNXZpfSv573uQ5AP7SLFB6R7aTck7ZMTdq2v6O1yONX/yigmK+Z+NZcvMpNUW0DyJIzGMkSe36IIjU5ZEOERAkrh4zQYRiCQcLANFA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=d308.5f272ed9.k2008; olt=johnl-iecc.com@submit.iecc.com; bh=hIad4fGqlGRRpTCqO7pKByISi4wKCnXxFKYk5ADlHzQ=; b=OfHiCdQm4/434I4A9xWjq5yhIYFgngXIpJrtLVtotfEfv4cRl+tc4v6ZGr6zvp1V/F9htvshbOwgNWT/z7d26dho/sImyYT3c1ijMosdNe/S9kD9zk9OFP1IUo8RgGLg/da8O7Snb2ezTlKy9jIq/pJxJq2WBxMdUUM3e+RSQZ5RbAqwoWJMbeOVU/gZgDY3tkeUS+pS3y7AtmxyuZvmD34++Ka7fBLKMtyuh7g5uHRDIh1NuyBJF1Gp1J6JIljuDPvpo5mO/wM7RBTMY4z0J7JSTfaortZgiWEKtywNiVaYZtUaulbj8DSYN37aRMW6OJi4D6beNw9UBxUdpJJHxg==
Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPSA (TLS1.3 ECDHE-RSA AES-256-GCM AEAD, johnl@iecc.com) via TCP6; 02 Aug 2020 21:23:37 -0000
Date: Sun, 02 Aug 2020 17:23:36 -0400
Message-ID: <60eab528-e73c-79f8-f530-783bf49c773f@taugh.com>
From: John R Levine <johnl@taugh.com>
To: "Murray S. Kucherawy" <superuser@gmail.com>, John Levine <johnl@taugh.com>
Cc: IETF DMARC WG <dmarc@ietf.org>, Alessandro Vesely <vesely@tana.it>
In-Reply-To: <CAL0qLwY9a9JVWYc2tbFCTCUhetDprexz8gTsSr98RbCQmG0ZCg@mail.gmail.com>
References: <d4147037-701f-520b-4355-9a07fd708467@tana.it> <20200802175142.9576E1DC8B47@ary.qy> <CAL0qLwY9a9JVWYc2tbFCTCUhetDprexz8gTsSr98RbCQmG0ZCg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/Y5QKJzBN4BzLmvfUVWuOv_mFpfk>
Subject: Re: [dmarc-ietf] Apropos of the de-munging draft
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Aug 2020 21:23:41 -0000

>>> Looking at the steps required to carry out the proposed unmunging, "a lot
>> easier" doesn't seem to be an accurate measurement.
>>
>> In python it's about two lines since there are well debugged libraries
>> to handle MIME.  Same in most other languages.
>
> I agree, the code to do this is easy and well tested, and it works so long
> as the MLM is doing the mutation in exactly the same way the verifier will
> undo it.  The concern comes down to two different MIME library implementers
> disagreeing on their choices for where an extra newline might be helpful,
> for example.

I was actually thinking of wrapping the original message as an attachment, 
sort of like a one-message digest.  You can always recover the original 
message, the problem is that MUAs display attached messages badly, and if 
you unwrap you lose the useful changes the list manager makes like subject 
tags and footers with unsubscribe instructions.

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly