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

Alessandro Vesely <vesely@tana.it> Sat, 30 January 2021 10:41 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 9B2D03A0D3C for <dmarc@ietfa.amsl.com>; Sat, 30 Jan 2021 02:41:10 -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 vDOYgB2YFOyt for <dmarc@ietfa.amsl.com>; Sat, 30 Jan 2021 02:41:08 -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 AA0923A0D39 for <dmarc@ietf.org>; Sat, 30 Jan 2021 02:41:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=delta; t=1612003263; bh=H+ZkWFktSUiYJx/s0mwi+XdfoD//K9SjQRPWbGhL1Jc=; l=2031; h=To:References:From:Date:In-Reply-To; b=APV7ljG4EOVN4f00WyxMG0UQjfACiX+3fXTuOMT6q/ZeBMA47wgjDUzl96NgUhsbt BjsVvY2FGPVlpG2HNrQRXVYu9F94sIN/66CAQKWL5F3ixGv8LdocrMS1lb5afgeOc7 acSyEh2z4W62FSlg7PURmUo6UnMFRFKUSL9buNATxqhJJVKmM51u/8tbm7p6o
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 00000000005DC053.00000000601537BF.00002740; Sat, 30 Jan 2021 11:41:03 +0100
To: "Murray S. Kucherawy" <superuser@gmail.com>, IETF DMARC WG <dmarc@ietf.org>
References: <bef64e7a-571b-a73f-dc91-aa402ca320c8@taugh.com> <1655426.E2olI3CrJK@zini-1880> <c39916f8-33f5-9876-c018-53085f5cc8f5@tana.it> <3776619.NdRDDhGtae@zini-1880> <81ab38a1-4b0a-3845-fc8c-7d49d7850c26@tana.it> <CAL0qLwZgB4iVSudbJeh8NGiKd1232SBTy4YDG6Zj-=LV+1m6Uw@mail.gmail.com> <fc735412-dfa2-20c8-087f-727b13eb3ad5@tana.it> <CAL0qLwbYxTXXXpx11L3f1CqBns=fSRho3C+S7q=-DmiPSvxKvg@mail.gmail.com> <cf51d6d4-0c7b-971d-bcac-743370f16433@tana.it> <CAL0qLwYK7SFfV5fOb7qhy5hVgR15z4HEJbAHv38OFMAfC=_j-Q@mail.gmail.com>
From: Alessandro Vesely <vesely@tana.it>
Message-ID: <920ee8e1-2947-379e-5798-2a6818e69526@tana.it>
Date: Sat, 30 Jan 2021 11:41:02 +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: <CAL0qLwYK7SFfV5fOb7qhy5hVgR15z4HEJbAHv38OFMAfC=_j-Q@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/XvVG2ujuYzUaecWYvvh-zhh9EPo>
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: Sat, 30 Jan 2021 10:41:11 -0000

On Fri 29/Jan/2021 21:30:49 +0100 Murray S. Kucherawy wrote:
> On Fri, Jan 29, 2021 at 3:02 AM Alessandro Vesely <vesely@tana.it> wrote:
> 
>> I just run a quick test on my current folder.  Out of 3879 messages I 
>> extracted 944 unique helo names.  721 of these matched the reverse lookup
>> exactly. Out of the 223 remaining, 127 had an SPF pass for the helo
>> identity anyway. So in 96 cases, roughly 10%, the helo name was indeed
>> junk.  Isn't the remaining ~90% something worth considering? >
> I am admittedly quite heavily biased against using the HELO/EHLO value for
> anything.  I have simply never found value in it, probably because at the
> SMTP layer it's simply a value that gets logged or used in cute ways in the
> human-readable portion of SMTP.  I seem to recall (but cannot seem to find
> at the moment) RFC 5321 saying you can't reject HELO/EHLO based on a bogus
> value, so it's even explicitly not useful to me.


There seems to be consensus on changing the MUST NOT there to a SHOULD NOT. 
See ticket #19 of emailcore.


> Even if it's not junk, there's pretty much always something else on which
> to hang a pass/fail decision about the apparent authenticity of a message
> that at least feels safer if not actually being more sound.


I might understand being reluctant to spend a DNS lookup for a TXT record that 
many operators don't care to define.  However, we're discussing the case that 
an upstream SPF filter already acquired and evaluated that record.


> Or put another way, if you present to me a DKIM-signed message with a MAIL
> FROM value and the only thing that passes is an SPF check against HELO, I'm
> mighty skeptical.

We have helo as the only valid identifier in most DSNs.  What is idiosyncratic 
is that a message MUST be a DSN (i.e. have an empty mfrom) in order for an 
already authenticated helo to be considered significant.  What I'm proposing is 
actually a simplification.


> Anyway, I'll let consensus fall where it may.


Thank you
Ale
--