Re: [dmarc-ietf] I-D Action: draft-ietf-dmarc-aggregate-reporting-03.txt

Matthäus Wander <mail@wander.science> Fri, 27 August 2021 09:44 UTC

Return-Path: <mail@wander.science>
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 DCF623A2943 for <dmarc@ietfa.amsl.com>; Fri, 27 Aug 2021 02:44:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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, NICE_REPLY_A=-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=wander.science
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 yvJ02oJmx7WV for <dmarc@ietfa.amsl.com>; Fri, 27 Aug 2021 02:44:13 -0700 (PDT)
Received: from mail.swznet.de (cathay.swznet.de [IPv6:2a01:4f8:13b:2048::113]) (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 60CFF3A293F for <dmarc@ietf.org>; Fri, 27 Aug 2021 02:44:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wander.science; s=cathay; h=Subject:Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Sender:Reply-To: Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2KDczGxb7IJEB+RKZvXDAOYNKvA9WmMV+HHPmnthtOQ=; b=kIilaBovwtZIZ7Up/V4J4CDm0o KtE0puZoiX0PBOmOaD0WqLyiDJTH01+LiGWuoQ2Q+eiUDo8/Y4rN3aJAz+onC18fM8WaB5FHnrSMd omNLqlEx3BcjJ3YqyVsFALq7i/J9bRmqDAENtq3XJkvKKlt1oGW/GKRI7ZSO/ngMR/pQgdtvAIpui vfjf30mgRK+MMDb3IRdqxO7F2as6aNc4+SS2Yop9YWqjTuF72qcjM4JbQVM0QEjTxin+4jg9gr67D 9sZxZk+ubjOzeGwtzXz6BYXnSqLsluDZKhgvbSGkCMT527U68/Y49BBrcAAtglYAWr2giLYkly099 wCI51SLw==;
Received: from dynamic-2a01-0c22-bca4-bb00-cd81-5841-c1e3-09e5.c22.pool.telefonica.de ([2a01:c22:bca4:bb00:cd81:5841:c1e3:9e5]) by mail.swznet.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <mail@wander.science>) id 1mJYPB-000zQh-OI for dmarc@ietf.org; Fri, 27 Aug 2021 11:44:10 +0200
To: dmarc@ietf.org
References: <162931814528.27585.7766323503338537947@ietfa.amsl.com> <MN2PR11MB435135100512B84A5FC86CFDF7FF9@MN2PR11MB4351.namprd11.prod.outlook.com> <2c64b7b4-b758-ec8c-e233-6016ad4ba205@tana.it>
From: Matthäus Wander <mail@wander.science>
Message-ID: <d92bc8f9-2c1c-c2d7-87f3-c415853c5c22@wander.science>
Date: Fri, 27 Aug 2021 11:44:07 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <2c64b7b4-b758-ec8c-e233-6016ad4ba205@tana.it>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-SA-Exim-Connect-IP: 2a01:c22:bca4:bb00:cd81:5841:c1e3:9e5
X-SA-Exim-Mail-From: mail@wander.science
X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000)
X-SA-Exim-Scanned: Yes (on mail.swznet.de)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/XRmRRBV-QwvqVTmHrrWxRnAiwJ0>
Subject: Re: [dmarc-ietf] I-D Action: draft-ietf-dmarc-aggregate-reporting-03.txt
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, 27 Aug 2021 09:44:19 -0000

Alessandro Vesely wrote on 2021-08-19 13:18:
> I'd swap SHOULD and MUST between the following sentences:
> 
>      If a report generator needs to re-send a report, the system
>      SHOULD use the same filename as the original report.

The paragraph is justified by deduplication:

    If a report generator needs to re-send a report, the system SHOULD
    use the same filename as the original report.  This would allow the
    receiver to overwrite the data from the original, or discard second
    instance of the report.

But this works only if the sender ensures to leave the filename 
unchanged. So it's either a MUST or the paragraph can be omitted altogether.

> and
> 
>      The RFC5322.Subject field for individual report submissions
>      MUST conform to the following ABNF:
> 
> For the subject, alternatively, "Report-Id" msg-id could be optional, as 
> it is with the filename.  It is very noisy and doesn't seem to be much 
> useful if it doesn't match the filename, let alone its uniqueness.

The Report-ID is also justified by deduplication:

    The purpose of the Report-ID: portion of the field is to enable the
    Domain Owner to identify and ignore duplicate reports that might be
    sent by a Mail Receiver.

1. So Report-ID is either a MUST to allow deduplication,
2. or Report-ID is not required for deduplication,
(In the filename it's optional, but the filename has a mandatory time 
range, which the subject has not. Deduplication requires one of these 
two information. You might use the RFC5322.Date, but this introduces 
another dependency.)
3. or deduplication via subject is not supposed to be supported.
Is there another use case for a formal ABNF spec of the subject?

Regards,
Matt