Re: [dmarc-ietf] Ticket #42 - Expand DMARC reporting URI functionality

John Levine <johnl@taugh.com> Sun, 24 January 2021 18:47 UTC

Return-Path: <johnl@iecc.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 9EA983A0FD9 for <dmarc@ietfa.amsl.com>; Sun, 24 Jan 2021 10:47:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.049
X-Spam-Level:
X-Spam-Status: No, score=0.049 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=aQYruate; dkim=pass (2048-bit key) header.d=taugh.com header.b=MD6ICqRT
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 LXMOlQpo-pqv for <dmarc@ietfa.amsl.com>; Sun, 24 Jan 2021 10:47:03 -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 27C613A0FD2 for <dmarc@ietf.org>; Sun, 24 Jan 2021 10:47:02 -0800 (PST)
Received: (qmail 46924 invoked from network); 24 Jan 2021 18:46:59 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=b74a.600dc0a3.k2101; bh=fmLV8+ny3MNXoA/SRLMHgReusqLaQKEjCVInq62v8Ew=; b=aQYruateHKkZ5vTLHfImuiC61Xg7VsGZAC4BEPZ+ltfFvTkKkH3v4CEUskux3oJ7+Hk4kk2F/+F1iiTOvORlrOGD5eVg/F9PDX6qJ0GXzeB6RkIeNDa5hoVLXOPxawLAUXcfTNP2nGL+rCt/9wBTRkpenlEp8BMbkYrEWav+SobMdx8+6gxemVHKzCPalGaaCIZhS8BbqC0rSekZl2Ys+qM/yGHo+2vffYT/7rQutm+o0xK9dTuf7MzU6CYrklMzN/V4VKuKhXHJK7DldIJH1gVvACHRH5VzyKpk+OAvAAq+RbKzYtK1cqU5gyBMuAFdb/cFQEJZaFGLzkj4x32V3w==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=b74a.600dc0a3.k2101; bh=fmLV8+ny3MNXoA/SRLMHgReusqLaQKEjCVInq62v8Ew=; b=MD6ICqRTtNqX6i6RmUpRrCzQzSKne9WsdFX4R5+R5lwbt4/PfsnqJmL+5LRzFmSM2fBgZ+2YQreCcxcAO4Q5vvI48p8C4/sq68x7Ng8HIF7cbRVJUsrvXUOpY8Em4Vw6RQfw1Km+I3I1+iCcRetu6AkA76PrkoCsEn43bs53xtOJ+e1V9d5+KhmxEh4YQrjoqecyAaANkx3JDq6jBLXRHLXBUS54zL+N9tSeNnFonhl4Q67IoQG9IlEtRAOaoNXx8HxHO3P3LhK+bnzq0aL4K4L1gcQwSDVhzTrQzTAzYBQJ88NwVmCbHeytZyQXZdE98bmHmtCCPXiAh+lpI41CuQ==
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; 24 Jan 2021 18:46:59 -0000
Received: by ary.qy (Postfix, from userid 501) id 12DF46C068F5; Sun, 24 Jan 2021 13:46:58 -0500 (EST)
Date: 24 Jan 2021 13:46:58 -0500
Message-Id: <20210124184659.12DF46C068F5@ary.qy>
From: "John Levine" <johnl@taugh.com>
To: dmarc@ietf.org
Cc: johnl@taugh.com
In-Reply-To: <f12991fe-fded-6c0-528c-3b879b4a670@taugh.com>
Organization: Taughannock Networks
X-Headerized: yes
Cleverness: minimal
Mime-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/cqU3RQOVCNeK1EAIc2vUon0A3Os>
Subject: Re: [dmarc-ietf] Ticket #42 - Expand DMARC reporting URI functionality
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, 24 Jan 2021 18:47:05 -0000

Here's a concrete proposal for https reporting:

In draft-ietf-dmarc-aggregate-reporting, in the transport section,
between Email and Other Methods add:

Https POST

The message is an XML file with GZIP compression, sent with an https POST message
to the given URI as media type application/gzip.
The data SHOULD contain the filename described in Email transport
above as the filename in the gzip header. The filename helps recipient
hosts recognize duplicate reports.

In draft-ietf-dmarc-dmarcbis section 6.3 under the rua tag, add:

If there is more than one URI in the value, the URIs are conceptually evaluated from
left to right and each report is delivered to each URI in turn.
If a delivery to an "https:" URI succeeds, any subsequent URIs that are not "https:" are ignored.
This allows a report recipient to prefer https reports while falling back to mailto reports.

R's,
John