Re: [dmarc-ietf] Ticket #1 - SPF alignment

Alessandro Vesely <vesely@tana.it> Wed, 10 February 2021 09:49 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 A72353A0FF0 for <dmarc@ietfa.amsl.com>; Wed, 10 Feb 2021 01:49:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.121
X-Spam-Level:
X-Spam-Status: No, score=-2.121 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=-0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1152-bit key) header.d=tana.it
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 Xjl_8dNNr9s5 for <dmarc@ietfa.amsl.com>; Wed, 10 Feb 2021 01:49:52 -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 DD4B73A0DE7 for <dmarc@ietf.org>; Wed, 10 Feb 2021 01:49:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=delta; t=1612950587; bh=ZXobfUTBaoCM8gY9Ia8VA6j2D5TQZz4Ym5fZRuS7Qn8=; l=2342; h=To:References:From:Date:In-Reply-To; b=Cwr5/uR9ZWeXN1XB6kbyRNrkFtZ8xlPifQYfYZxQQL79f0R//8oEEe2nbYqezQQ+O fC9RCqZuoHOIPxO9FLWpxXdKnhYOgNTCWBOS/7OSKvhxWD4RFuB08EvBWFnum9h2Zt P8L09OVH1kiSq6sO9d0RnOurrP7AbEm+XOxPxnYqdt9xcF2muHiFpVLNO+5Du
Authentication-Results: tana.it; auth=pass (details omitted)
Original-From: Alessandro Vesely <vesely@tana.it>
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 00000000005DC056.000000006023AC3B.00002214; Wed, 10 Feb 2021 10:49:47 +0100
To: dmarc@ietf.org
References: <20210203181226.9AB746D51182@ary.qy> <CAHej_8k6DA8140QB2buaRCaJfc0U9fVSC=nSAu-dWsZshCRX_Q@mail.gmail.com> <CAH48ZfxFsQ5ntE05QYRqP5P3Na6vuDjNAQKAdjZe7Kvt7evKuw@mail.gmail.com> <2285569.RditZUVBbg@zini-1880>
From: Alessandro Vesely <vesely@tana.it>
Message-ID: <ea27d175-e436-fa40-0571-da1e0189d488@tana.it>
Date: Wed, 10 Feb 2021 10:49:46 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <2285569.RditZUVBbg@zini-1880>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/rR8yR2wNJvMjlSgAt5J2WrLpCoA>
Subject: Re: [dmarc-ietf] Ticket #1 - SPF alignment
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: Wed, 10 Feb 2021 09:49:54 -0000

Just to clarify:


On Wed 10/Feb/2021 05:19:38 +0100 Scott Kitterman wrote:
> No one has demonstrated that if someone has implemented SPF (RFC 7208) without
> worrying about DMARC that there are any associated problems for DMARC.


I think I did.  OpenDMARC, for example, seems to read a single result, either 
Authentication-Results: or Received-SPF:, assuming that it contains the mfrom 
identity unless empty.  Note that it has an option to disable SPF entirely, 
presumably as a means to tackle non-DMARC oriented SPF filters.

Google apparently works similarly.  Given a valid helo and a neutral mfrom, the 
spf= clause of its (ARC-)Authentication-Results: only reports the latter.  That 
is to say, you need a non-RFC7208 compliant SPF filter to instruct DMARC.


> On Tuesday, February 9, 2021 10:13:37 PM EST Douglas Foster wrote:
>> [...]
>> 
>> My interest is interoperability:    We want recipient requirements and
>> sender compliance measures to align.
>> 
>> RFC 7208 says that recipients MAY want to use SPF HELO and SPF MAILFROM
>> together.  An argument can be made that this is not necessary:   SPF
>> MAILFROM shows that the server is authorized to send messages for the
>> specific domain in the MAILFROM, while SPF HELO says only that the server
>> is authorized to send message for the server domain and an unknowable set
>> of other domains.


What unknowable set of other domains?  If the server has an SPF record, it 
presumably authorizes just its IP address(es).


>> Todd's assertion is that SPF HELO will cause an excessive number of false
>> positives.


I'd let Todd speak for himself, but I never saw that assertion.  Todd said the 
set of messages that would get a different DMARC status in case we linearize 
the spec is immeasurable  —which I believe is true, and a valid basis to carry 
out the linearization without fear of disruption.


>> A second assumption is that no significant recipients are evaluating SPF
>> MAILFROM and SPF HELO together in a way that would be of interest to
>> senders. This may also be true, but I don't think this is something that
>> can be tested.


It makes no sense to require both values to pass simultaneously.

Linearization would be that *any* validated identifier, as long as it's 
aligned, produces a DMARC pass.


Best
Ale
--