[dmarc-ietf] dns failures in the draft

Brandon Long <blong@fiction.net> Mon, 31 July 2017 23:41 UTC

Return-Path: <blong@fiction.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 31B5312EB9B for <dmarc@ietfa.amsl.com>; Mon, 31 Jul 2017 16:41:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.201
X-Spam-Level:
X-Spam-Status: No, score=-2.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fiction.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 dwWqz8AVx9JM for <dmarc@ietfa.amsl.com>; Mon, 31 Jul 2017 16:41:46 -0700 (PDT)
Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (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 80E5C12EB2B for <dmarc@ietf.org>; Mon, 31 Jul 2017 16:41:46 -0700 (PDT)
Received: by mail-oi0-x235.google.com with SMTP id x3so910228oia.1 for <dmarc@ietf.org>; Mon, 31 Jul 2017 16:41:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fiction.net; s=google; h=mime-version:from:date:message-id:subject:to; bh=fKB2tpsrvgtx2vnQeexOgmJEmXY6t0HoxuFaFPnmG/g=; b=S353HGEAYbJehz2Txh9HP16wxtkRfpyo3vvCHI2hUxHszQ5+nhG5p4H8rPlt3OLNVR VtjiOcfm/saI2VA5CVjU2NdFy3qRIOrNlvcNANMvGLnxnd09ULV096n09sj3THblUyH5 3+A40Y8k3z2ISWzOq0wClpQbtUaRnbn0+gxLdOEn3RnCQPjjNoIXRBx8EEG6RIognU/b tsmY8JDAOTHKeBS30pJ2CpoMFqt/TgrC8nqU2aMZVvH/0sorwhgmaWbZzRstvd7tx4/n Y38VboUGuOxe/raNuMPBzlM65I86GMhbiG+22U6esQGLERL9eaX+NH8tyioVgIcsAGkc HXcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=fKB2tpsrvgtx2vnQeexOgmJEmXY6t0HoxuFaFPnmG/g=; b=GTUJ4l/yxuSsGqynkFcf8efkvpY0iDqqVk/TaSqskO+i+UkI6vYNIurm5pUHNU4sWU 4rpGQDMb3Uk0l01b5a6q99UTMkgFVYa4kVgYLLnzPdhfhT8k54Y7yDAtZfQgGeKWJAP0 jJMxUhoqTlvAV8XMaKMLmfMlWfIVeNPKCJIFJ6i3euvshzsaa1lerEwa6I+jleUZDtoa XcPQ1UgZjnFUvzwx/4Slwnmb9VEPHUPaOfpA5XJMkNyVy2jy4OcJOjrAjSW4jY1NAhJc vqyLfQyMlonJP8rUIuY1MySMKovrA6gLMGqaiG76z6Nnsu7EXvVkK5ZDLlMG+e8GNt3G c8Ww==
X-Gm-Message-State: AIVw1115SE1uQuKIdy0xEB3ugLRE3qgTP60/PkMaxIMyMT82co4inIpr suNozephLLN5t+KnC10=
X-Received: by 10.202.177.137 with SMTP id a131mr15691492oif.172.1501544505717; Mon, 31 Jul 2017 16:41:45 -0700 (PDT)
Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com. [209.85.218.43]) by smtp.gmail.com with ESMTPSA id b188sm29241020oia.17.2017.07.31.16.41.45 for <dmarc@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Jul 2017 16:41:45 -0700 (PDT)
Received: by mail-oi0-f43.google.com with SMTP id g131so689067oic.3 for <dmarc@ietf.org>; Mon, 31 Jul 2017 16:41:45 -0700 (PDT)
X-Received: by 10.202.179.137 with SMTP id c131mr15394678oif.298.1501544504684; Mon, 31 Jul 2017 16:41:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.154.51 with HTTP; Mon, 31 Jul 2017 16:41:44 -0700 (PDT)
From: Brandon Long <blong@fiction.net>
Date: Mon, 31 Jul 2017 16:41:44 -0700
X-Gmail-Original-Message-ID: <CABa8R6vrKwL=5YrN9NxpfZa5k_QCDP+_2Oz0_WBMbVv37aoUPg@mail.gmail.com>
Message-ID: <CABa8R6vrKwL=5YrN9NxpfZa5k_QCDP+_2Oz0_WBMbVv37aoUPg@mail.gmail.com>
To: "dmarc@ietf.org" <dmarc@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/Mz3xIgdB_OuBUqt9OlaZ9_feUpI>
Subject: [dmarc-ietf] dns failures in the draft
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 31 Jul 2017 23:41:48 -0000

> 9.4.  Handling DNS Problems While Validating ARC
>    DNS failures to resolve or return data which is needed for ARC
>    validation SHOULD result in a 421 tempfail during the SMTP
>    conversation with the sending system.  Temporary or intermittent DNS
>    problems will generally not be sufficiently transitory to allow a
>    mediator to obtain a different result during the ordinary transit
>    duration so it is better to have the source system queue the
>    problematic message(s) than to generate (potential) backscatter.
>
>    Operators of systems which mediate mail should be aware that broken
>    DNS records (or malfunctioning name servers) will result in
>    undeliverable mail to any downstream ARC-verifying ADMDs.
>
>    DNS-based failures to verify a chain are treated no differently than
>    any other ARC violation.  They result in a "cv=fail" verdict.

I don't know if SHOULD is the right choice here.

For a large percentage of mail, ARC is unnecessary, even when
forwarded through an intermediary.  The mail will continue to DMARC
pass, or the mail will not be for a DMARC p=reject domain.

I think that issuing a temp fail instead of a perm fail on a DMARC
reject if the arc chain may have allowed a local policy override is
useful, but to temp fail all arc dns failures may be more harmful than
helpful.

I think I used the dns failure case as a place where cv=fail instead
of just not signing was actually more harmful, but that seemed more
complicated than others were willing to go.

Of course, passing the dns failure from a separate arc milter to a
dmarc milter to make that determination is complicated, though in
authres terms, we could use an arc=tempfail result to pass that info
on.

Brandon