Re: [dmarc-ietf] A policy for direct mail flows only, was ARC questions

Brandon Long <blong@google.com> Tue, 01 December 2020 04:57 UTC

Return-Path: <blong@google.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 146D23A091C for <dmarc@ietfa.amsl.com>; Mon, 30 Nov 2020 20:57:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 hixXOf5MQzn2 for <dmarc@ietfa.amsl.com>; Mon, 30 Nov 2020 20:57:00 -0800 (PST)
Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1703B3A0809 for <dmarc@ietf.org>; Mon, 30 Nov 2020 20:57:00 -0800 (PST)
Received: by mail-vs1-xe2b.google.com with SMTP id z16so254024vsp.5 for <dmarc@ietf.org>; Mon, 30 Nov 2020 20:57:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s39pkJeK7aU3/Zn4zXXdgnD/5v0XDvZBJRQb8UNUA1c=; b=RIsyud8Ov6AOJYUkPbZEwU+ZTu5UPnqBXMEvPmFV2XqlzoeBLrgkatZX5PM7ALbqh5 QbvsqGAbBbLW4anqRfFYRFUrGSsJCOFJHBqhLOzB2/uzVAO+8HQkt5a8ESmFX9fR74Uh Ziimu8NIbo8mTOKX2meAZNPHyRM5aqw/7k4ftbSPn7MpTiz8IWTEHGiHmSf1fmPGI2uW Dvgze4kfIhNDScFfgQd1gdYky+/+ETlokACPRkemWXn0ZYkEmtBhRzIbOl6z7z7aVS7K eP/cFqTqHh5lHLVduVAw90sc6PiJmFKUS/eyHWIbNn3f4JouJ+oCFgxGzAraxNboSqjX egtg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s39pkJeK7aU3/Zn4zXXdgnD/5v0XDvZBJRQb8UNUA1c=; b=P8F6kjybv5QtMxV1MzKd4tuptPcgFF3p6OliodA72gPyfREjQeV2Q/NbRDU7xGMvw+ fqoigRpV8YGAQThi2zRCvkFA6AB6chkdaufUIqsD+8MslMNRK4cQtgeUjNYhuWpjEQbv yXvwGjumGZe/Og952u44v2PXC2Dy5aAJ5uxVWULNcQgLnHKQLjpGwLWCz68/0G8pP7Cn hUmltg/rFJHbWXoQYkCUkOeOmyAJZeRUJCkCDXZZx5lU9zFRe08Sqly650SnLSShiEIW 7Wpa/waVdhdpEqc5paHdnslh1rjIRr83D3a2XLDGuv1015Gkh6kd8m7uCd6L1+VzLDje +ElQ==
X-Gm-Message-State: AOAM533JKKPYKWXSPjJ1tPYFQ3mBgg8runE9O9k6VQ1EGy42N6fFfcHQ n6CB1d85OeKGXsxkgNiJYx03zFwyogpI0bd3doJy
X-Google-Smtp-Source: ABdhPJxmSFj2CeeLp21hcW/uOg2IsvxJPgIjSOapW1CHswuXuOaP/Oo27IT+F7yiGmN7KzFtn7TrvOopOg4nAgyCuuc=
X-Received: by 2002:a67:df8b:: with SMTP id x11mr1008821vsk.37.1606798618719; Mon, 30 Nov 2020 20:56:58 -0800 (PST)
MIME-Version: 1.0
References: <e9166148b9564102a652b4764b4f61ff@com> <8c83fffc-077d-9ddb-db2f-b9763361c60f@tana.it> <39eafc5e-3d9c-0bea-1173-7277070195ea@wisc.edu> <081c42a3-492b-89b7-ad76-ccec48dea091@tana.it> <b0f72407-81ce-9990-4a5b-7b0e5b76e3d7@mtcc.com> <2d1dca4f-e46a-646c-9fa3-d9ca56c72196@tana.it>
In-Reply-To: <2d1dca4f-e46a-646c-9fa3-d9ca56c72196@tana.it>
From: Brandon Long <blong@google.com>
Date: Mon, 30 Nov 2020 20:56:46 -0800
Message-ID: <CABa8R6sV0x8wWmggp98JfXz8jh0GfAmZ+tNkvqnMPnVK534uPQ@mail.gmail.com>
To: Alessandro Vesely <vesely@tana.it>
Cc: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e559cf05b55ff435"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/55jJa03IQFsAFLHxQADsL2j_ms0>
Subject: Re: [dmarc-ietf] A policy for direct mail flows only, was ARC questions
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: Tue, 01 Dec 2020 04:57:02 -0000

On Thu, Nov 26, 2020 at 12:59 AM Alessandro Vesely <vesely@tana.it> wrote:

> On 25/11/2020 20:16, Michael Thomas wrote:
> > On 11/25/20 11:11 AM, Alessandro Vesely wrote:
> >> On 25/11/2020 19:24, Jesse Thompson wrote:
> >>> On 11/25/20 11:30 AM, Alessandro Vesely wrote:
> >>>> Without resorting to ARC, it is still possible to validate author
> domain's
> >>>> signatures directly if the MLM just adds a subject tag and a footer,
> like,
> >>>> for example, this list does.   While ARC solves "deep" forwarding
> problems,
> >>>> which may arise in the context of email address portability, MLM
> >>>> transformation reversion solves the simpler mailing list problem,
> including
> >>>> reverting munged From:'s.
> >>>
> >>> I agree that ARC isn't really needed to do this (trust the last hop
> from the
> >>> MLM and determine the original authenticity from the MLM's perspective)
> >>
> >> I didn't mean to trust the MLM.  I meant remove the subject tag and the
> >> footer, then the original DKIM signature verifies.  See:
> >> https://datatracker.ietf.org/doc/draft-vesely-dmarc-mlm-transform/
> >
> > When I was at Cisco, with l= and some subject line heuristics I could
> get
> > probably like 90+% verification rate across the entire company, a
> company that
> > uses external mailing lists a lot. Definitely not 100% though.
>
>
> DKIM itself is not 100%.  You always have lines beginning with "From " or
> occasional autoconversions.
>
> l= doesn't cover multipart/alternative nor Content-Transfer-Encoding:
> base64.
> In addition, the DKIM spec discourages its usage and suggests that
> "Assessors
> might wish to ignore signatures that use the tag."
>

Right, some of the other dkim-light or diff concepts we discussed would be
better than using l=

We again got hung up on the 100% solution, though... something that handled
subject-prefix and
footer in a transport agnostic way might have worked.  The fact that DKIM
isn't transport agnostic
is an achilles heel to even that, though, since we'd have to come up with a
new canonicalization
and get it to widespread adoption before the simple diff could work.  Or
require mailing lists to
be a lot more strict in how they do their email rewriting, but I imagine
that's harder work than
even ARC.

Brandon