Re: [dmarc-ietf] Reversing modifications from mailing lists

Alessandro Vesely <vesely@tana.it> Fri, 26 November 2021 08:03 UTC

Return-Path: <vesely@tana.it>
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 93EC23A0BC9 for <dmarc@ietfa.amsl.com>; Fri, 26 Nov 2021 00:03:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.95
X-Spam-Level:
X-Spam-Status: No, score=-3.95 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, NICE_REPLY_A=-1.852, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=tana.it header.b=zKwBW1aO; dkim=pass (1152-bit key) header.d=tana.it header.b=AlsZes0+
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 g0nA9Cp5gomM for <dmarc@ietfa.amsl.com>; Fri, 26 Nov 2021 00:03:44 -0800 (PST)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226]) (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 510203A0BF0 for <dmarc@ietf.org>; Fri, 26 Nov 2021 00:03:40 -0800 (PST)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=tana.it; s=epsilon; t=1637913814; bh=uaOqem0yMnHnhO3zIy6KUsvzi1naMADI1GIM5h3fZnY=; l=1445; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=zKwBW1aOIbAtMg8+nq9a1BxUIAXl5VEgMPmx87rlARXoik/GE7z5tjjvjhJfFuIhv kJHo9qJQS7j7VVVVfjMBA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=delta; t=1637913814; bh=uaOqem0yMnHnhO3zIy6KUsvzi1naMADI1GIM5h3fZnY=; l=1445; h=To:Cc:References:From:Date:In-Reply-To; b=AlsZes0+3cG84wdtX8+QobCM4uV4hIqkeu/lMQni1uu4RgAgIUGPOETWLKgBo7brw BMhR8UXTCIgXsmROrCTjAzWeF5v71veD9EM+neHnAzLtRWyhyrV2C9SI+1HOZ/IazU HnBq/ArqH5O6uTQJ5+hxD2mI71BWnxmVCmtDNKigYxhdAC4Hv6vppG6ZrE84+
Authentication-Results: tana.it; auth=pass (details omitted)
Original-From: Alessandro Vesely <vesely@tana.it>
Original-Cc: dmarc@ietf.org, "Murray S. Kucherawy" <superuser@gmail.com>
Received: from [172.25.197.111] (pcale.tana [172.25.197.111]) (AUTH: CRAM-MD5 uXDGrn@SYT0/k, TLS: TLS1.3, 128bits, ECDHE_RSA_AES_128_GCM_SHA256) by wmail.tana.it with ESMTPSA id 00000000005DC0E6.0000000061A094D6.000038F4; Fri, 26 Nov 2021 09:03:34 +0100
To: Wei Chuang <weihaw@google.com>
Cc: dmarc@ietf.org, "Murray S. Kucherawy" <superuser@gmail.com>
References: <CAAFsWK3qshdYDeeTOLPJEnk=gHFrRp==QJLvoG6RAYHau6Fy8g@mail.gmail.com> <6aad0642-f73c-ba6f-d26c-1c1fd90e2c9a@tana.it> <CAAFsWK23GGfe+uSyPqa2wxFgRn3mk7G9ajtjfz6cKw-FaoFM_A@mail.gmail.com>
From: Alessandro Vesely <vesely@tana.it>
Message-ID: <77681f57-2b44-8e6e-c6ee-415e571c4000@tana.it>
Date: Fri, 26 Nov 2021 09:03:33 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <CAAFsWK23GGfe+uSyPqa2wxFgRn3mk7G9ajtjfz6cKw-FaoFM_A@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/6fc9OQAFSJVFYPyFlC9Ge4YudcY>
Subject: Re: [dmarc-ietf] Reversing modifications from mailing lists
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: Fri, 26 Nov 2021 08:03:54 -0000

On Thu 25/Nov/2021 09:07:36 +0100 Wei Chuang wrote:
> Thanks for the feedback and answers.


You're welcome


> On Wed, Nov 24, 2021 at 3:01 AM Alessandro Vesely <vesely@tana.it> wrote:
>> On Tue 23/Nov/2021 00:28:01 +0100 Wei Chuang wrote:
>>> [...]
>>>
>>> 6. Subject
>>> * Agreed that some simple heuristic as proposed in the draft is a good 
>>> approach.  Perhaps the original subject suffix length also might work 
>>> here too. >>
>> I don't get this, I'm afraid.  What is the subject suffix length?
> 
> Sorry I wasn't too clear here.  It's largely the same idea as the DKIM body
> length "l=" field above except for reformulated for the Subject header and
> its mailing list mutations.  The original sender would encode a length of
> the original subject say "s.l=<value>".  A receiver would only hash the
> right most "s.l=<value>" length string when validating a Subject hash from
> the original sender.  This assumes that mailing lists may prepend a string
> typically for identification.


Oh, yeah.  However, unless we store sl= as an additional DKIM tag, we'd need an 
extra header field such as Subject-Length.  In that case, Original-Subject is 
much more straightforward.

Original-Subject also covers possible AW: to Re: translations.

Finally, the MLM prefix must be short.  It is not acceptable to have an entire 
phrase followed by hundreds of white space before the original subject.


Best
Ale
--