Re: [dmarc-ietf] Tree walk nits

Scott Kitterman <sklist@kitterman.com> Wed, 22 June 2022 15:28 UTC

Return-Path: <sklist@kitterman.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 E042EC14F720 for <dmarc@ietfa.amsl.com>; Wed, 22 Jun 2022 08:28:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.11
X-Spam-Level:
X-Spam-Status: No, score=-2.11 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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=kitterman.com header.b=uJhVmQZF; dkim=pass (2048-bit key) header.d=kitterman.com header.b=OSiZ7639
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pTebjQx4sQFX for <dmarc@ietfa.amsl.com>; Wed, 22 Jun 2022 08:28:31 -0700 (PDT)
Received: from interserver.kitterman.com (interserver.kitterman.com [IPv6:2604:a00:6:1039:225:90ff:feaa:b169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44FBCC14F719 for <dmarc@ietf.org>; Wed, 22 Jun 2022 08:28:31 -0700 (PDT)
Received: from interserver.kitterman.com (interserver.kitterman.com [64.20.48.66]) by interserver.kitterman.com (Postfix) with ESMTPS id 5BAF5F802E7; Wed, 22 Jun 2022 11:28:27 -0400 (EDT)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1655911707; h=date : from : to : subject : in-reply-to : references : message-id : mime-version : content-type : content-transfer-encoding : from; bh=pNY5IEpygNXJ8OkyYJA8ggsuy7FryGgyZnuODdRkBNU=; b=uJhVmQZF78+7MZ9Bljq3cRjE2kNlMXDTDVeHbAdtmgMNrY/kaxYcxvW6VRtcGjUyY/nmy 5NLIqy8wacSXAETDw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1655911707; h=date : from : to : subject : in-reply-to : references : message-id : mime-version : content-type : content-transfer-encoding : from; bh=pNY5IEpygNXJ8OkyYJA8ggsuy7FryGgyZnuODdRkBNU=; b=OSiZ7639AC4rONXUzLhXi/2G/IpPs8l5OIeFnFj+iGFyHRQiOmHfiFzwujjojS4qukUos O1gl36D48H52iWUQlGzhc9T+cmiZaZhVyBwJ3ZKASwIadnkHhkOfjuBbzRRMGSewu2wOoFA B5vggNPMRw2sVXVo/TUrfBWDnb9ClDQwN90ev+1vtye9H+yO6iJshGyV5ehjr05Zt1o8FC9 ULy8ofZV9PzQe35ueUYaWbHo7vASqPPXOiwfo/Ab9IP2bBKTrJ1sjQGNe2v1F2oOAPu3EVE 5pXlnNKKXukyauQ0tkH4Ix2+W4ucp8okSjUal+dDb2EeRnu148HXAmYlsCng==
Received: from [127.0.0.1] (mobile-166-170-33-211.mycingular.net [166.170.33.211]) by interserver.kitterman.com (Postfix) with ESMTPSA id 61F8BF8020E; Wed, 22 Jun 2022 11:28:26 -0400 (EDT)
Date: Wed, 22 Jun 2022 15:28:25 +0000
From: Scott Kitterman <sklist@kitterman.com>
To: dmarc@ietf.org
In-Reply-To: <20220622150741.C9FDA4419500@ary.qy>
References: <20220622150741.C9FDA4419500@ary.qy>
Message-ID: <09399907-57E0-433D-90AB-9F05291B8656@kitterman.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/PttqRUKkX_vDMVeZUc8HW2slCCA>
Subject: Re: [dmarc-ietf] Tree walk nits
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 22 Jun 2022 15:28:37 -0000


On June 22, 2022 3:07:41 PM UTC, John Levine <johnl@taugh.com> wrote:
>It appears that Scott Kitterman  <sklist@kitterman.com> said:
>>
>>
>>On June 22, 2022 2:54:28 AM UTC, John Levine <johnl@taugh.com> wrote:
>>>It appears that Scott Kitterman  <sklist@kitterman.com> said:
>>>>Not confusing is indeed the tricky part.  I think what's wanted is shortest that's longer than the longest PSD.
>>>
>>>How about this?
>>>
>>>b.a psd=y
>>>c.b.a NXDOMAIN
>>>d.c.b.a blah
>>>
>>>What's the org domain for e.d.c.b.a?  I think it's c.b.a.   Is the policy domain is d.c.b.a or b.a ?
>>
>>I think that because of the b.a record with the pad= tag that's correct for the org domain, although I'm not sure why anyone
>>would do that.  Without the PSD record it would be d.c.b.a.
>
>Imagine that b.a is something like co.uk, abd d.c.b.a is mail.crumpets.co.uk.  I don't think that's a great DMARC setup
>but it doesn't seem ridiculous.
>
>>For policy, it should be b.a, but I'm working from my phone right now and I'm too lazy to look up what the draft actually says
>>(vice what I think it says).
>
>I think we agree about what we want it to say, you stop the tree walk when you see psd=y/n, the policy domain is
>the last record you found,  org domain is the last record unless it's psd=y in which case it's the level below.
>
>I'll do a pull request so we can see if we agree on language.

That sounds right.  Thanks,

Scott K