Re: [dmarc-ietf] auth-res vs. dmarc

Michael Thomas <mike@mtcc.com> Tue, 29 December 2020 21:02 UTC

Return-Path: <mike@fresheez.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 E1CE23A0A2E for <dmarc@ietfa.amsl.com>; Tue, 29 Dec 2020 13:02:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mtcc.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 aTQk7TcNP9bd for <dmarc@ietfa.amsl.com>; Tue, 29 Dec 2020 13:02:24 -0800 (PST)
Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (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 186E73A0A29 for <dmarc@ietf.org>; Tue, 29 Dec 2020 13:02:23 -0800 (PST)
Received: by mail-pl1-x636.google.com with SMTP id 4so7680943plk.5 for <dmarc@ietf.org>; Tue, 29 Dec 2020 13:02:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mtcc.com; s=fluffulence; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=1SSwX6IGi9RhJhy9WUjeVxkYxQBtBb5eF8IjaFZrFEw=; b=kJM3e3MUfpV900dfBr4PW1AQ/Ng9Lov6VRnKcBqvHRwdYdnmQGAZPnMOAja0V22ylF OH8wZy3Ml2SuwjdqOAL5lnnOgKqpK4ODM5L8OfXOo+vLM1ojeO3zz/YE/2HW0ijTVOPB eMnQVKb39L6F7FBdpH4hr95aOasa/f16hSL/KNpPEFTCn47uOaDuEEEA1u+Qfa+UhavP Ru/JpNFAshuUdTfBnXTf5EPRHEafc3wtyBlqzrKqOuZUvDGllfXsrLwB/Y4z7zInMrEt Xys/iSDscvn4TO3o16WO7X9a1SMy6lcSPIKjv7rC0WbwGS9JZrXjGpGVmGPSi+JjLWI+ ZFew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=1SSwX6IGi9RhJhy9WUjeVxkYxQBtBb5eF8IjaFZrFEw=; b=k0yYbkss5akhq8tCHKu88jswT0fVC7/2BI/dxiz44ud+nM/6Zt6nTdt1SnbgHTofQN eLf7Ti9vpjewAEiI7bmdmoIsQND4sJ+l/aoNY0FDJMlyD5NTjl1Rv7JkEooUSl6bnVSH MzvLxToEKT/NKjRf+PTRLj7LXgfcwsQjNooAr/nXFAPaewfF2H1VPx+VkBTgBQpTU6sn rfCq5n3Aoab7E6U8JFyipWp51eUR2oJf+LxtyP023pq53BV3MPJCYDEK0n9iWoinRqXL TD3G73QM1zdVzj8IoFDWjiT/c9MoMGvtijt3hYa8G6vZuQGITe3WOrocPhPCObJJdQnh FBZQ==
X-Gm-Message-State: AOAM533lMzOw6mJcGO1Lgyc9x9RXfxhsMBTUcgARxTZ8tBmm8zD3Fpnv VBZNHL58WypW60E5FveAeYgOpA31rmf65A==
X-Google-Smtp-Source: ABdhPJw3tj83bDcvdqlIBhYCxYwfcQPUglT5U+7QmfLKf0AzDDu23pwsXOigiZcOgh9ZXoRY8OdFIA==
X-Received: by 2002:a17:90a:8c87:: with SMTP id b7mr5787277pjo.158.1609275743013; Tue, 29 Dec 2020 13:02:23 -0800 (PST)
Received: from mike-mac.lan ([107.182.37.0]) by smtp.gmail.com with ESMTPSA id u12sm39902786pfh.98.2020.12.29.13.02.21 for <dmarc@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Dec 2020 13:02:22 -0800 (PST)
To: dmarc@ietf.org
References: <9f6782b1-e85b-1a9c-9151-98feff7e18ea@mtcc.com> <CAHej_8m0OWsTt+tcSgUh+Fxu=HH_57nsb2O1Q_fgA2453ceh4g@mail.gmail.com> <140485eb-020f-4406-3f2f-e2c475ea51e5@mtcc.com> <CAHej_8mApfoF2ORgL+DoYTanrdhMjvT9H27kORwLKCQc1C9sRw@mail.gmail.com> <5588dbbe-b876-ed80-c80f-792380e3718f@mtcc.com> <CAHej_8=kW_t_JkOxUud1Uz8+PrbMh5CfwfxZK=mhe0wjW8wQpw@mail.gmail.com> <54dd9978-bcd1-6757-ad27-dcef6db6e5f7@mtcc.com> <CAHej_8kCi=7oqojDH_rbjn7kRg-PTDJWLgcKTGK9z-baUnKeMw@mail.gmail.com> <ef32de1e-d47e-1d0f-3cec-5994c7fdb7ae@mtcc.com> <CAHej_8kjSsQK_XEbdjWzV5npa29YjGadzD06Fmx3QLB4p+n_Cg@mail.gmail.com>
From: Michael Thomas <mike@mtcc.com>
Message-ID: <937f1019-a028-308d-2a0f-1e720fd49dcd@mtcc.com>
Date: Tue, 29 Dec 2020 13:02:20 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <CAHej_8kjSsQK_XEbdjWzV5npa29YjGadzD06Fmx3QLB4p+n_Cg@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------32C2FC44DE6A98656AFC2B23"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/H7eI6yRJ7EHDJtSZEtXU7GEFDBE>
Subject: Re: [dmarc-ietf] auth-res vs. dmarc
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, 29 Dec 2020 21:02:26 -0000

On 12/29/20 12:47 PM, Todd Herr wrote:
> Unless those values in parens are a MUST requirement, the dmarc=fail 
> is highly misleading. I haven't even seen any specification for the 
> dmarc part of auth res in rfc  7601, which may be part of the problem. 
> I don't see any normative language which would update rfc7601 in dmarc 
> with the syntax and semantics of the dmarc field.
>
> We're going to have to agree to disagree here. I had no hand in 
> writing RFC 7601 or its predecessors, but I believe DMARC is covered 
> under "Extension Methods" in section 2.7.6 
> (https://tools.ietf.org/html/rfc7601#section-2.7.6 
> <https://tools.ietf.org/html/rfc7601#section-2.7.6>) and "Email 
> Authentication Results Names" in section 6.6 
> (https://tools.ietf.org/html/rfc7601#section-6.6 
> <https://tools.ietf.org/html/rfc7601#section-6.6>), which references 
> RFC 7489 section 11.2, which in turn defines pass, fail, temperror, 
> and permerror as it pertains to DMARC.
>
> As for the parenthetical bits, I believe they too are covered in RFC 
> 7601 section 2.7.6:
>
>     Authentication method implementers are encouraged to provide adequate
>     information, via message header field comments if necessary, to allow
>     an MUA developer to understand or relay ancillary details of
>     authentication results.  For example, if it might be of interest to
>     relay what data was used to perform an evaluation, such information
>     could be relayed as a comment in the header field, such as:
>
>          Authentication-Results:example.com  <http://example.com>;
>                    foo=pass bar.baz=blob (2 of 3 tests OK)

So Google is just adding an informative comment which is free style text 
that just happens to have the juicy bits (the interesting parts dmarc 
record), which cannot be counted on. So that's useless for the MUA 
trying to use auth-res. You would never display a DMARC FAIL or fail of 
any kind for p=none. It doesn't make sense to the user. Likewise, even 
if we're talking about a downstream MTA parsing the auth-res, it will be 
useless to it as well because it has the same problem not knowing the 
context of the "failure".


>     At the very least this needs to be straightened out because
>     auth-res, to Ned's earlier point, can have consumers in the form
>     of MUA's.
>
> The format/contents of an auth-res header and its impact on MUA 
> development seem to be a bit off-charter for this working group, but 
> I'll say that it might be a heavy lift to try to get major mailbox 
> providers who run their own highly customized MTAs to comply with any 
> effort to fully standardize. Their interpretations of the headers that 
> they insert are done to optimize usage with their message storage 
> infrastructure and their web and mobile clients, the latter of which 
> the vast majority of their mailbox holders use. I don't think they 
> have much incentive to standardize to make things easier for an open 
> source MUA developer, but the MUA developer can probably cover most 
> variations relatively easily with a simple bit of if-then-else logic 
> based on the provider.
>
To Ned's point though: what is auth-res's purpose and why is it standard 
track if it can't provide a complete encapsulation of the state of 
authentication necessary for downstream consumers? For DMARC in 
particular, it falls far short since there is no way of knowing the 
policy. I do think that's DMARC's problem to solve somehow, regardless 
of process. And if process is a problem, that's processes fault.

Mike, coming at completely from the standpoint of modifying thunderbird 
plugin code