Re: [dmarc-ietf] Ticket #111 - MX/A/AAAA test needs justification

Douglas Foster <dougfoster.emailstandards@gmail.com> Sun, 23 May 2021 19:25 UTC

Return-Path: <dougfoster.emailstandards@gmail.com>
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 6F8FC3A2347 for <dmarc@ietfa.amsl.com>; Sun, 23 May 2021 12:25:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, 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 (2048-bit key) header.d=gmail.com
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 anlnH7X-L7zZ for <dmarc@ietfa.amsl.com>; Sun, 23 May 2021 12:25:05 -0700 (PDT)
Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 27CF13A2344 for <dmarc@ietf.org>; Sun, 23 May 2021 12:25:04 -0700 (PDT)
Received: by mail-ot1-x32e.google.com with SMTP id r26-20020a056830121ab02902a5ff1c9b81so23148832otp.11 for <dmarc@ietf.org>; Sun, 23 May 2021 12:25:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HzNu21E0CfwnTHWILRrfYrdrGc9blTm3H/NAzzoOXKU=; b=uZstUp5T/9xNPVd4hWUM9tAvzik3/Oe1MyGDSjaS3gvC1iFhPXiPyPh0rTnhytYUq5 T/RC8JecylSwGwMmi2d3Xae+YBqWdveXf47m7SPVKyMbEtdQ1vfuHv++KoWn/PYZmRVm x9A1eMvo5aZ0MZgWtJoZxbmKK1orHPdXS0Ym3rGKupTx56e/fWBFH6FG3cJxd34OXsdY ius3ntm5M+2je/Hr5Oi6SPIB9FAO7pCIjvdITFqTW+1q7vJjzgfc35I1E58Khn60syJ1 okmtBOe+9di1nXARcL/BSNhB0W+1WU/VUh+Ba5I+pHPMNQPbRZ/jBD3Ih3sNZTdazUeZ jvLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HzNu21E0CfwnTHWILRrfYrdrGc9blTm3H/NAzzoOXKU=; b=ZxS2ODtRtxYg4S7G1tV+g/8b1pTBmELiuLBCuP14oWfmOp1ec5VX5mZ1UpuYAz21zK Q1zozZonvsBakvb+Z+60aR7sOaA5E/kBRzW5ZthXAdl0Ki1Op6vc3UNae3zSYHklFl4W UhtJ8JtiQzSFkrJkzzWDcl9g+PuBa6uT58jLrUFo+YKmQDqRFbTlmnSVsgJn0JyujxKJ k7B1rtyyQdMS+bWDEwKJe9E1AhT/aLs8QEAxYDPEarhjLWq4ZE8+Mn2+a7HyogfxwFk5 46ovtii/yZkVtcU6C3nUN9nDBskH4+envEfWWWTQ5RTxU+yeO0jjwVwpEj6hH8Pq1Kth W2SA==
X-Gm-Message-State: AOAM531nzK8AltmisoKyZmhXJ+tQYSHHRjQdLNl9doPry77bISzC5vI4 O8RLUL2ywoua16Tfl5AknRVsY6Cv0igVaJESi+Y=
X-Google-Smtp-Source: ABdhPJyuAq390Py7qcNWcJAqtBrs6rl7sccHiBSEz7CCy1enZwQGFD1EzusE/8W2lMgr1BVMZjdUoA3ecsEmj+bGOWs=
X-Received: by 2002:a9d:6255:: with SMTP id i21mr15914192otk.284.1621797902611; Sun, 23 May 2021 12:25:02 -0700 (PDT)
MIME-Version: 1.0
References: <CAH48Zfz67fFkyPMhvcQ6JHJLSwH9UAtENrDrzDC=1p-CHJ9oPg@mail.gmail.com> <20210507014508.78064719D42@ary.qy> <CAOZAAfMA4t_prVSKHLq_oifoTh=dLWs9uOjxeMsysZQQ7gqvvg@mail.gmail.com> <CAH48Zfz3ABtxLTOrwVj_YKwkz=4rVpFhDB1-QMRzQFdJbvpwiw@mail.gmail.com> <CAL0qLwZLTyPBj3Mq+spq1ZfFeQoBHeypzREQ68DPMXN5f0HROg@mail.gmail.com> <CAH48Zfy=wd=f35BRtoPiJKXPbUYvknVdy9OeG-q5kAwg72rJeQ@mail.gmail.com> <CAL0qLwaOHsiHj08yoKsTV8TOXk0ig8phnJ8=37Qupb4BJ1sPrA@mail.gmail.com>
In-Reply-To: <CAL0qLwaOHsiHj08yoKsTV8TOXk0ig8phnJ8=37Qupb4BJ1sPrA@mail.gmail.com>
From: Douglas Foster <dougfoster.emailstandards@gmail.com>
Date: Sun, 23 May 2021 15:24:52 -0400
Message-ID: <CAH48ZfzyjLFmiuZ77=2MYZZyouCMb-9BMV-Dbtf8EP0Qt5D4fw@mail.gmail.com>
To: "Murray S. Kucherawy" <superuser@gmail.com>
Cc: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e1fd7b05c3043f49"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/jHpkYa4EPI4VgQuNPICj4ZJMfZY>
Subject: Re: [dmarc-ietf] Ticket #111 - MX/A/AAAA test needs justification
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: Sun, 23 May 2021 19:25:10 -0000

Murray, here is some data:   (I only receive IP4 data and my tool did not
check AAAA)

Sample size:
 3643 messages from 780 unique From domains
  611 domains (78%) passed validation using DMARC criteria  (DMARC policies
were not checked)

599 of 611 (98%) DMARC-verified domains also had MX or A records
12 DMARC-verified domains did not have MX or A records.  Of these 12:
- 8 had NS records and were judged legitimate,
- 2 lacked NS records but were judged legitimate
- 2 were judged spam but had NS records.

145 of 169 (86%) of non-verified domains had MX or A records,
Of the 24 without MX or A records, 23 were spam and 1 was legitimate
For 20 of the 24 , SPF on the From address returned NXDomain and were
obvious spam without checking NS
All of the remaining 4 domains had NS records

One surprise for me:
NS lookup on email3.reachmd.com returns NXDomain, but NS lookup on
sg.email3.reachmd.com returns NS data.
I thought that the existence of a subdomain would be sufficient for a
domain to return NS data.

Summary:
- MX/A produced 11 false positives
- NS lookup produced only 3 false positives
- For messages that originate with DMARC-compliance, false positives only
matter if the message path causes the DMARC-validation to be lost.
- The reachmd.com situation suggests that neither lookup can prevent all
false positives.

Doug Foster