Re: [dmarc-ietf] DMARCbis WGLC Issue 132 - 5.5.1 and 5.5.2 SHOULD vs MUST (was Another point for SPF advice)

Alessandro Vesely <vesely@tana.it> Thu, 14 March 2024 18:00 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 5A4B4C14F6FD for <dmarc@ietfa.amsl.com>; Thu, 14 Mar 2024 11:00:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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="dFo2+RcF"; dkim=pass (1152-bit key) header.d=tana.it header.b="CkR9PKJG"
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 84-jx2gIES2s for <dmarc@ietfa.amsl.com>; Thu, 14 Mar 2024 11:00:06 -0700 (PDT)
Received: from wmail.tana.it (wmail.tana.it [94.198.96.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D38FCC14F68C for <dmarc@ietf.org>; Thu, 14 Mar 2024 11:00:02 -0700 (PDT)
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=tana.it; s=epsilon; t=1710439198; bh=3yUWjnOvprtiV/JbYkz9zrrRuy2HH+hijGCmAUQPTZ8=; h=Author:Date:Subject:To:References:From:In-Reply-To; b=dFo2+RcFYGXzHoCXUSfaaqvgPOj78LzQloJGurI2cpGQViXnfzb2lu7Cv45lNDIkE +bYpSnGF68pvuN6OIqyCA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=delta; t=1710439198; bh=3yUWjnOvprtiV/JbYkz9zrrRuy2HH+hijGCmAUQPTZ8=; h=Date:Subject:To:References:From:In-Reply-To; b=CkR9PKJGWicKrrtuRq19FC9doM0ELXJALELerMnQgbVX3fdSt9MYKPpUVbPNKKfeI p/LZ1hoVvXhJbrUk1BHXeFnlr4/bGD04qKrppwxppK8opM88UvpRXK6GZpwbZ41+ev zH+fa3ArsM3KFADTcNpaN3IuvP7OWGna+7SrJDgolQnAUX5k1pdHXir8Pdtz2
Original-Subject: Re: [dmarc-ietf] DMARCbis WGLC Issue 132 - 5.5.1 and 5.5.2 SHOULD vs MUST (was Another point for SPF advice)
Author: Alessandro Vesely <vesely@tana.it>
Received: from [172.25.197.120] (pcale.tana [172.25.197.120]) (AUTH: CRAM-MD5 uXDGrn@SYT0/k, TLS: TLS1.3, 128bits, ECDHE_RSA_AES_128_GCM_SHA256) by wmail.tana.it with ESMTPSA id 00000000005DC090.0000000065F33B1E.0000209D; Thu, 14 Mar 2024 18:59:58 +0100
Message-ID: <78e6261a-acdc-483f-b692-0ece05f1b1e4@tana.it>
Date: Thu, 14 Mar 2024 18:59:58 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, it-IT
To: dmarc@ietf.org
References: <CAHej_8k=GC11rNesi6dRnMv+Bdrtq-GRfFPuGAJxfWa9ydpcPw@mail.gmail.com> <01bff35d-15f6-4b63-b8da-0758adc983e8@tana.it> <5647198.Kyp0lPT3oT@zini-1880>
Authentication-Results: tana.it; auth=pass (details omitted)
From: Alessandro Vesely <vesely@tana.it>
In-Reply-To: <5647198.Kyp0lPT3oT@zini-1880>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/K_HVL5VVm6oFXc3NY_GZLrDBwXE>
Subject: Re: [dmarc-ietf] DMARCbis WGLC Issue 132 - 5.5.1 and 5.5.2 SHOULD vs MUST (was Another point for SPF advice)
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: Thu, 14 Mar 2024 18:00:13 -0000

On Thu 14/Mar/2024 18:35:05 +0100 Scott Kitterman wrote:
> On Thursday, March 14, 2024 11:27:03 AM EDT Alessandro Vesely wrote:
>> On Thu 14/Mar/2024 15:09:37 +0100 Todd Herr wrote:
>>> [...]
>>>
>>> In the ticket, I propose the following replacement text:
>>>
>>> ==================================================
>>> Because DMARC relies on SPF [[RFC7208]] and DKIM [[RFC6376], in order to 
>>> take full advantage of DMARC, a Domain Owner MUST first ensure that either 
>>> SPF or DKIM authentication are properly configured, and SHOULD ensure that 
>>> both are.
>>>
>>> To configure SPF for DMARC, the Domain Owner MUST choose a domain to use as 
>>> the RFC5321.MailFrom domain (i.e., the Return-Path domain) for its mail 
>>> that aligns with the Author Domain, and then publish an SPF policy in DNS 
>>> for that domain. The SPF record MUST be constructed at a minimum to ensure 
>>> an SPF pass verdict for all known sources of mail for the RFC5321.MailFrom 
>>> domain.
>>> ==================================================
>>
>> Wouldn't you at least add "trusted",  "ensure an SPF pass verdict for all 
>> known, trusted sources of mail"?  To avoid mandating an insecure behavior.
>> Consider:
>>
>> _ Hey dude, they're spoofing your domain with a tide of phishing.
>>
>> _ How come?
>>
>> _ You have an include:phisherman.example in your SPF.  Remove it.
>>
>> _ No, since they occasionally send a true message from us, the RFC says I 
>> MUST keep it.
>>
[...]

> I think that's issue 135, not this one.


SPF it treated in multiple places.  We cannot warn against a bad practice in 
one place (135) and recommend it unconditionally in another (132).


Best
Ale
--