Re: [dmarc-ietf] ESC for Failed DMARC Validation

"Murray S. Kucherawy" <superuser@gmail.com> Fri, 02 August 2019 20:55 UTC

Return-Path: <superuser@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 8A6A312013D for <dmarc@ietfa.amsl.com>; Fri, 2 Aug 2019 13:55:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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] 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 5SHxb2IZw3iX for <dmarc@ietfa.amsl.com>; Fri, 2 Aug 2019 13:55:13 -0700 (PDT)
Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 DBD25120134 for <dmarc@ietf.org>; Fri, 2 Aug 2019 13:55:12 -0700 (PDT)
Received: by mail-lf1-x12c.google.com with SMTP id q26so53870986lfc.3 for <dmarc@ietf.org>; Fri, 02 Aug 2019 13:55:12 -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=BW6mFo4gT3m/VPTbAVNrTj1EjnVyk7VEjRH9sAv8qNw=; b=gvZnbeNMnYHMvLC7ginsIdn6WPvay76oAd0Nbpd3U0FLiEmc3fXykQDoXjFhD1UfLF OaVcysTSkDlIHYzYJbX+YdgnPwE3y+TDIovcp4daNmrAf28bDYqF/BtzkCPxlT6pPDf6 SqlO/FEfOEZe22Lqfo4Glx9cTKvpLHG6aa38rhrM+ra41C34EPNaEDSfbr5dV6cRcT9Q mcFEDfdYxo/sSt8t5VGb1muSNazSxdaYIlu4CCL88nZncQ4h3WTZpEeNJVEWMSusS8J0 VN0M/kEKGs8bsvAjcnnEKWgHc58sibTAUuvn7iGmg/DSW6O2M2yg22//egeub4pOESr0 X1JQ==
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=BW6mFo4gT3m/VPTbAVNrTj1EjnVyk7VEjRH9sAv8qNw=; b=GGtNtluqTnQlQmVf3JT4vV8nzMiF5QzvdDant12J/BQ4uutHFuS58hVy9R6p767LE3 3dfTrXbq00tAMSX4oER7BNO6kxhpL8ltOcZjo5d8UTeQUpKTXY9KuJp7JuzwmoiGwnjQ 4vRNzbNRBWvLltAhj9d18OMYuYmFU9jozvgSD2CRdJ+DA1gwKb0DMvNKXegr0nuLlSSd dclGTAx1dKAIJSO+H4Psg1Kgz2qSd59cW1/EgQj4c7FODozC7VLyN6SGtCRmEKt+C589 6R9+mzB1HYZkdu/4aSoh/ENAksv7KoiNJj3qX2mCdcmL6AVKVznARqCW9qJ98gLuHTrO MVAg==
X-Gm-Message-State: APjAAAWoV/7q14otFtfq7VApMfIL/GORwontKE7F1W0iZF2A3q9Y2bG4 WacAcw0jNzGkm3C9qxHMjdJOTURqQLBEEYhCJSI=
X-Google-Smtp-Source: APXvYqxqRH3qYKi8vNCTvlI9COcjW1+Yr/TsrTBsPphRKWALV42aFsmzbsCn5Yqeq3xiduN0SOxZPu3s71o6lXKTXM0=
X-Received: by 2002:a19:6e4d:: with SMTP id q13mr23999759lfk.6.1564779311009; Fri, 02 Aug 2019 13:55:11 -0700 (PDT)
MIME-Version: 1.0
References: <c676b42745c2c8114ec26eb1f405c9eb2e68c364.camel@aegee.org> <22f0d022-57f7-8b8f-0d88-18d1c77e990e@tana.it> <505750d4fb9c03050508255594c55f4517da3e6d.camel@aegee.org> <CAL0qLwaDdfq6nkKubh2B=7PTZDt9E271z8tnq2bF-9KbwQQg3g@mail.gmail.com> <e2011ab9c66e9559caba22d7fd6d01bbd34345b7.camel@aegee.org>
In-Reply-To: <e2011ab9c66e9559caba22d7fd6d01bbd34345b7.camel@aegee.org>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Fri, 02 Aug 2019 13:54:58 -0700
Message-ID: <CAL0qLwZ-gzfD3drxqRHzLChZagMvocUN_ijrMVg_H65AMpHPvA@mail.gmail.com>
To: Дилян Палаузов <dilyan.palauzov@aegee.org>
Cc: IETF DMARC WG <dmarc@ietf.org>, Alessandro Vesely <vesely@tana.it>
Content-Type: multipart/alternative; boundary="000000000000fc169d058f289288"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/rn613OQ0WsoMJIyoidlvwzw70ow>
Subject: Re: [dmarc-ietf] ESC for Failed DMARC Validation
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: Fri, 02 Aug 2019 20:55:16 -0000

The wording you're using seems inconsistent to me.  Specifically, you're
saying that x.7.30 means one thing when attached to a 200-series reply, but
the opposite when attached to a 500-series reply.  I would prefer to see
two separate codes if you're going to do this.

But the bigger question is implementation.  Who would make use of this,
either as a sender or a receiver?

-MSK

On Fri, Aug 2, 2019 at 1:19 PM Дилян Палаузов <dilyan.palauzov@aegee.org>
wrote:

> Hello Murray,
>
> ESC X.7.20, X.7.21 and X.7.22 are glued to return code 550, while I
> propose an ESC, that works also with 250.
>
> Apart from this, X.7.20 and X.7.21 cannot be used instead of the proposed
> X.7.30:
>
> If a site sees a valid DKIM signature, and previous experience with the
> domain signing DKIM leads to increased trust in
> this domain, then the signature is acceptable, but it does not have to
> align with the From: address.
>
> With X.7.22:
>
>       Description:        This status code is returned when a message
>                           contains one or more passing DKIM
>                           signatures, but none are acceptable because
>                           none have an identifier(s)
>                           that matches the author address(es) found in
>                           the From header field.  This is a special
>                           case of X.7.21. (This violates the advice
>                           of Section 6.1 of RFC 6376.)
>
> If “none have an identifier that matches the author address found in the
> From header field” means, that the DKIM part of
> DMARC fails, then this ESC can be recommended by the DMARC specification
> to signal to the sender, that the DKIM
> implementations of sender and receiver disagree, as a light substitute to
> the failure reports.
>
> Greetings
>   Дилян
>
>
> On Fri, 2019-08-02 at 13:01 -0700, Murray S. Kucherawy wrote:
> > On Fri, Aug 2, 2019 at 10:52 AM Дилян Палаузов <
> dilyan.palauzov@aegee.org> wrote:
> > > I mean an enhanced status code, as at
> > >
> https://www.iana.org/assignments/smtp-enhanced-status-codes/smtp-enhanced-status-codes.xhtml
> .
> >
> > RFC7372 registered some for exactly this purpose (though not specific to
> DMARC).  Its Security Considerations section talks about the privacy risks.
> >
> > I don't know if they're actually in use.
> >
> > -MSK
> > _______________________________________________
> > dmarc mailing list
> > dmarc@ietf.org
> > https://www.ietf.org/mailman/listinfo/dmarc
>
>