[dmarc-ietf] Re: Revisiting SPF upgrade

Douglas Foster <dougfoster.emailstandards@gmail.com> Sat, 15 August 2026 17:02 UTC

Return-Path: <dougfoster.emailstandards@gmail.com>
X-Original-To: dmarc@mail2.ietf.org
Delivered-To: dmarc@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id E7EDC12A5F5A4 for <dmarc@mail2.ietf.org>; Sat, 15 Aug 2026 10:02:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786813330; bh=wnfX7Y4FGuWxXJeQd91m9K4DIR543Yj4wWA4XV8Dm7c=; h=References:In-Reply-To:From:Date:Subject:To; b=MyMSNiB0kch23POApOE3OzUaNo5YTU58/jxQz/oKbE1EFXcTCWiWSd9RdA79ifBnH 8KL6jQTV0/EajfHY3LhEkNcAjrPSRALAdFnHyQCQSkoDbnG3hlF/N223CshmSHvGJY McBJttMshLWqEquvQznxp4DVnJwroGNOJuTunsGc=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: 0.412
X-Spam-Level:
X-Spam-Status: No, score=0.412 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLACK=2.5] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qa5DyYxmLje9 for <dmarc@mail2.ietf.org>; Sat, 15 Aug 2026 10:02:10 -0700 (PDT)
Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 4626512A5F59F for <dmarc@ietf.org>; Sat, 15 Aug 2026 10:02:10 -0700 (PDT)
Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-2cc7e86e7aeso22099675ad.2 for <dmarc@ietf.org>; Sat, 15 Aug 2026 10:02:10 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1786813329; cv=none; d=google.com; s=arc-20260327; b=VKpQUBzXrowJPP/eUADku4Bl8NcA95VIIemNX/ebB62PK7YehmQmk7LEKJZvuUzgtC ar2wI8+5u1BbtDZRFVOJnjDZ8QU9PVtVYoji6UxYshqJ7vrTmMFowyVKALoBikJJF61i hZW1SALxiVNCfUZWur9yz9nP5vrG1v9KX0RgNzaKBvVWVWF1CIpAzBN2bC/D7CknhT6G jCdXOCfYSdION/iRRxUK1w2Wqv5E5di25QnGEz1VL4Tl8vdmnhEhTKXvMyM4C0R9ny+Z HDazepz2Dvln8j8hxl1Pv4kV0wS7nRnkk5HrWaZsKUK7PWSVU0DlKuxI5Ck5pwTZARD9 UBfw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YWtEW+GFdjSm3aZqqsL/zFBxM28+juz9+xOcWUJ8AfU=; fh=zHhPX7TkRdT/gXoeJiG9lgyWJ/WBer0+iOSsKOoZeZY=; b=ZoSG0sGTZN4WaCYAaOZdxf6v8zWUZ1FBcdvEmN0hbf1uypJfkbaqJnkL1rr5RzZrAv Y2UrLJgo6M2coG0fvg8fMD/Jm8gFJwRZd50R4C/GcHGTE9b3NIoKxrJT+JGjmfaC63gY PFbKhteOBLY9OQjnZWSTORPs+iQj8Y0/JizZ54QGzLIgnXKV0HN5SuXYQiKsq7VtfXwZ +WBY2pLcTvV7hPXXvV08j9RJgb6IW1fQPZMaXyyQWxMtO7fsLNAPJiuQRvM1u6923kkh 7QkWiW2qsBb+iI8165+MocbgDBClXZMwpuQPQNz2zfAQ+UCHT1lqjK5TNzz5F2lJJ3yC rj/w==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786813329; x=1787418129; darn=ietf.org; h=content-type:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=YWtEW+GFdjSm3aZqqsL/zFBxM28+juz9+xOcWUJ8AfU=; b=osUv7VjFEa5D6oXnwtR1RENJuG5XUG/3g2p3sjvzvw8QC/JRDD/7F+hCBHiix6ORKC WyofG5oiRD8MA+eqsB6nune7XTbob39IxRwqzT2kEXf085O6PVN3be6gt3hKXNmTI2AB 2el5hkhx/UWlm3GhQ+ey6v2Aitlmfs1Km4WksJKcMdFft72+pafc65cf2RoouZ2Vo+RZ KympokPu26olKs2+MEoZfzUzw2Oekd6uXL4Yy2SUMxkntLJc9NWgVL9hlcmFKi6Tb884 FfgIHu7yXFFpKiJnGPy39xGiSn4jr+vBcrhzOD4mOneYw6dZo+G9mkVo6bkK7FuJ8nKv C89g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786813329; x=1787418129; h=content-type:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=YWtEW+GFdjSm3aZqqsL/zFBxM28+juz9+xOcWUJ8AfU=; b=iNUtAE/MqpQKzoAVNocU6UbKtjN6ogvAmUfVGY/5MsseYXhkyt0T+dO76HLdBOiUP3 ftS+lkBswwK12KFn2sG3YiGY+ho9CDPUCl+pZDk2lJ8RwzrPC2uW4+s0Ismq0LXRsqfH G+ibvkDuY+M9HRwrQsRhSEyMCO+SsPGGHYFEZqXEyXbrZ4d0jYnSEtSRVJssiyC9hY7j eJ76xvfCRlmymdRw/MgTf2Ijyh4ySkV6z4CNZIf0WAhi/73Rba/l7KMWC8R8nphfNzaE kyHH6Aky3reZp3fdepdFGaPWOzGF+wSCiHiaAG80YtUBm1WDKpzdKKFqpwxEGzicYfmc 0Qkw==
X-Gm-Message-State: AOJu0Yyv9fipjN9hmLA7tio9GsBbYZblEs+5a1X9l/PIGC2ZygmLmRko sCKzLSzlc/wmFo266Z9Z/KSJvUIFqjTo5DFQyXGKCEa9PBLZC51VBkY9Gvx1NoZkWxJwNnCitH+ QVFF+WA8LBljUDtj8NlB6aMRdHIt3+tWSsDtO
X-Gm-Gg: AR+sD12kcMlQF6aSkXg+LvgyOxthq7KVDcSEXHnnpdzRLYyVxK6npJnC/OEwPc05tzD SbeBqe6WgeGR+Hma9H07jQR0m2+XybL2MOTRyTh8aKsWyI80tyBwqUL0Sphg4hTQ81IRUUfTmeW qTEvESqsAbodY4ah6/UZMEDWtfaWDECLz3FAH1g3ptvmUDaVJuTd3kS1uxqz0bm97j3XTzYbvc2 55uI54brXeK8d1L3xDwM15oDcEAvEboV/srg13DPJ3BDavDAoQeD6C2FZUwA4zYobm4Rxm+JhR2 aviutmiroA3J5zt2o56dMtdsbiPNHpU7wXXBjGXQrDyLS3BT+TMpuQ9cIAPd60z7aX5AXdIv9Np /R4A=
X-Received: by 2002:a17:902:da82:b0:2cc:777f:d67c with SMTP id d9443c01a7336-2d3b0d5ed01mr139929045ad.13.1786813329227; Sat, 15 Aug 2026 10:02:09 -0700 (PDT)
MIME-Version: 1.0
References: <CAH48ZfyqPpaFEO1FNKSbTSvu5oAvnaJK0Ej8z4GyuTa2PqkAjQ@mail.gmail.com> <15225c37-bf6b-4943-9b0f-e384e7e6190a@gmail.com>
In-Reply-To: <15225c37-bf6b-4943-9b0f-e384e7e6190a@gmail.com>
From: Douglas Foster <dougfoster.emailstandards@gmail.com>
Date: Sat, 15 Aug 2026 13:01:58 -0400
X-Gm-Features: AUfX_myz1tYgRd4VFvK685YhAxrDUUFGOCZloVVKpLYg9nOL5AocZG2uhfZdq0k
Message-ID: <CAH48Zfzv7pYF5BbYTAaUv5H7xS5OfFnbVBWJ0+mdfex1KiceRQ@mail.gmail.com>
To: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c4c50c065918e56d"
Message-ID-Hash: LKZKHINBY2QEIO4TGL3US5HDZHUDREQQ
X-Message-ID-Hash: LKZKHINBY2QEIO4TGL3US5HDZHUDREQQ
X-MailFrom: dougfoster.emailstandards@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dmarc.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [dmarc-ietf] Re: Revisiting SPF upgrade
List-Id: "Domain-based Message Authentication, Reporting, and Compliance (DMARC)" <dmarc.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/ImAP67ARUOJt6kT1_Qrwo91ZPF0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Owner: <mailto:dmarc-owner@ietf.org>
List-Post: <mailto:dmarc@ietf.org>
List-Subscribe: <mailto:dmarc-join@ietf.org>
List-Unsubscribe: <mailto:dmarc-leave@ietf.org>

For domain owners, others have cleverly suggested an SPF policy of the form:
?term1 ?term2 -all
This will cause DMARC evaluators to detect Pass based on DKIM only, or Fail
for invalid.
SPF-only evaluators will detect SPF Neutral for valid or SPF Fail for
invalid senders.
However, I see no evidence of this strategy in use within my data set.

My interest is how to handle evaluation.  The extension of your idea is to
enforce DKIM-only validation for some senders.   The first step is to
determine which domains are consistently achieving 100% DKIM Pass, which I
can do.   It covers about one third of allowed messages.   The second step
is overcoming fear that DNS TempError results or other factors will occur
often enough to render the strategy unacceptable.    That possibility is
harder for me to assess, due to the level of detail in my dataset.  One
indicator is domains with a mix of signed and unsigned messages.   The top
20 domains in that list are priority senders  (probably whitelisted)   with
11% of accepted messages failing DKIM.

The fear is strong enough that I have not moved in that direction.



On Sat, Aug 15, 2026 at 9:26 AM Max Hearnden <maxoscarhearnden@gmail.com>
wrote:

> While a change to DMARC would nice, I think that SPF upgrades can be
> mitigated using existing infrastructure.
>
> In order for a message to pass DMARC using SPF (which is susceptible to
> spoofing), the message needs an SPF pass (evaluated for the MAIL FROM
> address) and for the MAIL FROM address to be aligned with the From:
> address.
>
> If a domain wishes for its mail to be only validated using DKIM, then
> that domain must not publish an SPF record with a pass qualifier (+).
>
> As some mail providers also evaluate SPF separately and treat an SPF
> pass as more reputable, the sender might rewrite the MAIL FROM address
> to an unaligned address with a published SPF pass.
>
> As an example, here's a zone file showing the DNS setup required. The
> MAIL FROM address would be rewritten from x@y to x@mail.y.
>
> @ TXT "v=SPF1 ?mx -all"
>
> _dmarc TXT "v=DMARC1;p=reject;aspf=s"
>
> mail TXT "v=SPF1 +a -all"
>
> On 14/08/2026 12:10, Douglas Foster wrote:
> > Awhile back, someone described the SPF upgrade attack to this list,
> > particularly mentioning Outlook.com
> >
> >     - Bad guy initiates an impersonation message claiming to be from
> >     Megabank.Com.   Megabank.com is known to be hosted on Outlook.com
> >     - The bad guys send the malicious impersonation to his controlled
> domain
> >     AttackPartner.com, which is also hosted on Outlook.com.
> >     - AttackPartner.com accepts the message even though it fails SPF and
> >     DKIM, because it is part of the attack.
> >     - AttackPartner.com auto-forwards the message to VictimDomain.com,
> >     preserving the original SMTP address, remaining anonymous.  The
> message is
> >     accepted based on aligned SPF Pass.
> >     - VictimDomain.com acts on the message as if it is truly from
> Megabank.
> >
> > Ways that the attack might be exposed:
> >
> >     - If the hosting service rejects the original message because it
> lacks
> >     authentication.
> >     - If the hosting service enforces Mail From rewrite, with or without
> SRS
> >     encoding, then the role of AttackPartner.com would be exposed, and
> SPF Pass
> >     would be based on that domain.
> >     - If the hosting service created two ARC sets, one that documented
> the
> >     original destination domain and one that documented the final
> destination
> >     domain.   However, destination domains do not generally appear in ARC
> >     sets.   ARC was supposed to help us identify forwarding activity.   A
> >     forwarder who preserves the Mail From address is indistinguishable
> from an
> >     outbound gateway service, even with ARC.
> >
> > DKIM2 gives us the destination domain information which ARC lacks, but
> > DKIM2 will not be used by a malicious impersonator.
> > Even if DKIM2 allows a domain owner to specify that DKIM2 is mandatory,
> the
> > attacker will simply redirect his attacks to a domain which does not have
> > this enforcement specified.
> >
> > So we have no solution and no plan for a solution?
> >
> > Doug Foster
> >
>