Re: [dmarc-ietf] Forensic report loops are a problem

John R Levine <johnl@taugh.com> Wed, 27 January 2021 18:38 UTC

Return-Path: <johnl@taugh.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 75E813A0CF0 for <dmarc@ietfa.amsl.com>; Wed, 27 Jan 2021 10:38:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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_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=iecc.com header.b=Z45DhHlA; dkim=pass (2048-bit key) header.d=taugh.com header.b=IEtAtRBI
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 y7LTh9-LeKSy for <dmarc@ietfa.amsl.com>; Wed, 27 Jan 2021 10:38:12 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 210D93A0CF1 for <dmarc@ietf.org>; Wed, 27 Jan 2021 10:38:11 -0800 (PST)
Received: (qmail 5319 invoked from network); 27 Jan 2021 18:38:10 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type; s=14c5.6011b312.k2101; bh=lbENrye+2zmLIDJ70C2JQT/9ODXIJcPJKpdgpV2vbnA=; b=Z45DhHlAyTR4F13Pr1xuEmL1WNtjLUX2LMGMj2u+FEGGVNWBdPsm6A0Fi6X8hqOb49suHlb+Al/2byLzQ7ShdBlTwxmjN5Lajj9IWKFCPkpj9J9SilMHeliYUuw3VNgktaLOMV/5lZ1VKtSAAoGGUxA2XRXIRV3QGNRzOfC4Kse+3UPLLf/lyl+IEdB8Gga640aZHlwTNtUY9ETNVhEcPd6BzF7ff/MJrGnYAxFKXwkbAVytfSWvxTWs/NDpBVPN9xi9pwTiI0xZSgQKPsQl8QxEtoODswEJF8ieiKg6xm2J0SuPPhhkA4KKKn6sfe4Wm0+1W5y5ym43A4GfNP7T8w==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:subject:in-reply-to:references:mime-version:content-type; s=14c5.6011b312.k2101; bh=lbENrye+2zmLIDJ70C2JQT/9ODXIJcPJKpdgpV2vbnA=; b=IEtAtRBIyK5SzfZ6ibr9OxOKsKNmGd/pWNja2D7R/52TdTY2z/RRSdyfIFdczE/mO7WbrVUvtFnzBYvYx7bBw4NGWxhy/ObaDaD5GPNmZth9WD3jJ1U9MVD/uRkezF4Qtr9Y7/PjNNJZ53NiZqHaSOmGb4OZfc0GHYeKM49l8vTYiR40aNQQpzrL6PmsMeb/qQNdvPJrLEvfyazWJwYV1MLamfU58YNs0RSiwEAmKRPhc+W9+d5/OBeunJWvyuKEwTmQ3tSISobrgzYv1me8GHhiC4/hOpkB2F0a9ixEOwR9QlablyzzEJ5zhdOI6JCbfSRQs93307DY4+oH32TiTg==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 27 Jan 2021 18:38:09 -0000
Received: by ary.qy (Postfix, from userid 501) id 3C7A76C2E122; Wed, 27 Jan 2021 13:38:08 -0500 (EST)
Received: from localhost (localhost [127.0.0.1]) by ary.qy (Postfix) with ESMTP id 9741C6C2E104; Wed, 27 Jan 2021 13:38:08 -0500 (EST)
Date: Wed, 27 Jan 2021 13:38:08 -0500
Message-ID: <13f04f5a-4176-db79-ca4a-a99686e76edf@taugh.com>
From: John R Levine <johnl@taugh.com>
To: Alessandro Vesely <vesely@tana.it>, IETF DMARC WG <dmarc@ietf.org>
In-Reply-To: <d54e8930-5266-7622-183d-023f9e35e385@tana.it>
References: <CAL0qLwaZx97cztehz_o=cCVZRbEP_yFVS9hTqWDKg7cMgjNvFg@mail.gmail.com> <20210116034026.5C93F6AC0428@ary.qy> <CAL0qLwatEsNrfF5GeWoVhrk_By8K84mYdBNOUFiN7cBaAch8JQ@mail.gmail.com> <29f5c140-6b07-e3be-f188-8b2104690385@tana.it> <52ea482c-86f8-f879-eefb-ff14e8819b56@taugh.com> <d54e8930-5266-7622-183d-023f9e35e385@tana.it>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-1005787841-1611772688=:61371"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/Owc2yYjM6WOYZb2ZZ6esoJlHX18>
Subject: Re: [dmarc-ietf] Forensic report loops are a problem
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: Wed, 27 Jan 2021 18:38:15 -0000

On Wed, 27 Jan 2021, Alessandro Vesely wrote:
>> If the authentication is screwed up, sending a failure report is exactly 
>> the right thing to do.  That's what they're for.
>
>   Email streams carrying DMARC feedback data MUST conform to the DMARC
>   mechanism, thereby resulting in an aligned "pass" (see Section 3.1).

> Even if the screwed up message was a failure report itself?

Of course.  The failure repoort is a new e-mail message.  If it's not 
aligned, your code needs to be fixed.

> 3.3.  Transport
>
>   Email streams carrying DMARC failure reports MUST conform to the
>   DMARC mechanism, thereby resulting in an aligned "pass".  Special
>   care must be taken for authentication, as failure to authenticate
>   failure reports may result in mail loops.

Stop there.  If you don't want failure reports, don't send unaligned 
messages.

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly