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

Jim Fenton <fenton@bluepopcorn.net> Sat, 30 January 2021 19:59 UTC

Return-Path: <fenton@bluepopcorn.net>
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 938C23A10CA for <dmarc@ietfa.amsl.com>; Sat, 30 Jan 2021 11:59:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 Z8SA5eY1MiBA for <dmarc@ietfa.amsl.com>; Sat, 30 Jan 2021 11:59:18 -0800 (PST)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (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 C883A3A10C5 for <dmarc@ietf.org>; Sat, 30 Jan 2021 11:59:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bluepopcorn.net; s=supersize; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=o8ruw1lTNqiNRTK/LfcoqI8YmiGCIUWwI0dCPGHjR/w=; b=Eu7WZxA+4qhg9fsVHuHa+XD60Z TNUuhasGsnm4tatvZMm4GTZHWmEiqhj5t82bptQaQLRs6GXjGS0kPn923wsrbYUjnRG/Zi1bcjRGa ILtFSBpJUMM9d2JM9LwipvNSOMWjlTJS/VI9n456qVP+FQCUsoBh3m0iXr9mEW2XhfDU=;
Received: from [2601:647:4400:1261:30d3:3a9d:66d5:72cc] (helo=[10.10.20.144]) by v2.bluepopcorn.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <fenton@bluepopcorn.net>) id 1l5wOo-0007kh-AE; Sat, 30 Jan 2021 11:59:15 -0800
From: Jim Fenton <fenton@bluepopcorn.net>
To: "Murray S. Kucherawy" <superuser@gmail.com>
Cc: Alessandro Vesely <vesely@tana.it>, IETF DMARC WG <dmarc@ietf.org>
Date: Sat, 30 Jan 2021 11:59:13 -0800
X-Mailer: MailMate (1.13.2r5673)
Message-ID: <CF0B307A-C83A-4FF9-BC03-9DE28362DF3A@bluepopcorn.net>
In-Reply-To: <CAL0qLwYK7SFfV5fOb7qhy5hVgR15z4HEJbAHv38OFMAfC=_j-Q@mail.gmail.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/WpBH-jgw-7RWyRp__rZwpj_Y-ow>
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 19:59:21 -0000

On 29 Jan 2021, at 12:30, 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?

The issue isn’t the existing use of HELO names, it’s how they could 
be (mis-)used. The fact that a message sender can put anything there 
makes HELO basically meaningless.

> 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.
>
> 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.  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.
>
> Anyway, I'll let consensus fall where it may.

+1 to Murray’s comments. I realize that null MAIL FROM on bounce 
messages is a problem for SPF, but relying on HELO is  not a reasonable 
substitute.

-Jim