Re: [dmarc-ietf] Endless Loops with DKIM reports

Vladimir Dubrovin <dubrovin@corp.mail.ru> Tue, 04 June 2019 12:27 UTC

Return-Path: <dubrovin@corp.mail.ru>
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 A4B28120086 for <dmarc@ietfa.amsl.com>; Tue, 4 Jun 2019 05:27:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=corp.mail.ru
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 JlN5_jT1s9F1 for <dmarc@ietfa.amsl.com>; Tue, 4 Jun 2019 05:27:15 -0700 (PDT)
Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (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 02074120033 for <dmarc@ietf.org>; Tue, 4 Jun 2019 05:27:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=corp.mail.ru; s=mail; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=eLBgzwN/66ma9JByX4+GOcxoiDPREss0XTPYxtYp774=; b=fIlkzGTDIOlesMl5qZnN7eVgPkB/+n/WpC+gGGkTquKuspN584384d6l8TMlWGElQ+nepVEaNbPLcKkV4sQXafJHZN9eta6hmwx3NHhhGZ6WASVLiJ9J6omzK4AfbL0GEUHDAx8UZUN3utZF08T2W+9x32D7CImGUBmTDLslgNA=;
Received: by smtp38.i.mail.ru with esmtpa (envelope-from <dubrovin@corp.mail.ru>) id 1hY8X2-0002W6-Hw; Tue, 04 Jun 2019 15:27:12 +0300
To: dcrocker@bbiw.net, Дилян Палаузов <dilyan.palauzov@aegee.org>
Cc: IETF DMARC WG <dmarc@ietf.org>
References: <26D82EA6-8E39-4AED-BB9D-E2F53E7548C4@aegee.org> <adeaa778-5025-6fa2-0fe4-d10e2ea984c4@dcrocker.net> <eed31056-7f51-ee2a-5367-8fca5f6770aa@corp.mail.ru> <2a93577c-ee69-5edf-c347-dff46f568189@dcrocker.net>
From: Vladimir Dubrovin <dubrovin@corp.mail.ru>
Openpgp: preference=signencrypt
Autocrypt: addr=dubrovin@corp.mail.ru; prefer-encrypt=mutual; keydata= mQINBFkuo0YBEADhYgaiCbZjws9eRBKJAYMIeuo9x6cArdmG5lcDgyVrtIPz/7MGL/HJua0v xKJtfhk77fb2YKcJvIdCf6HMoJfU412Y/5Bjq7eLmXTBsf7KmpQ9Z6auYujrzLCEb6gHC4gp gauesj6+igIyd8YULbbbCieIht7FVEIQv1Hn6F3eIok6wC3UJi2gEUiRbN4p5fw1RI5IB8yJ /4iFTtZi2iKUvSxZt/6eMAGNYm+OrFFGSfCP6l3uD93ZO3M9x8TluMXXrUQM6J190LOUUeh7 jGklgyUxrJXi44pRLFMbirrBcCQwEcY/lpUb1tvq2Ohb9nhBFBWLoJ1Kplxpi9ueXAsNJ7zw K1R15EElpIYQEmXM7t3dvC+zRIwZOiYTEI+cTqi3+fe/89lVQB15R43lrALl3+GEOj2F9/HP eCJtTzn+ie8+p0lSIWhNb2ozRPaKv1vxEGqkA+1wcgF2EOh3melRKGnf5VKJ4ZL5LZi+55nV NV/MiHv6WuA6QEB08qxgkF1vmpy3olQmpxzRHGnLcKClAnkfgn3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4sWHpx V/HrSdpNQraWw7Sq4/iTbcqETNY48oWQBSeilGD+ZXKxtdUte8plVPDFoUxQZ6iQp3YqrEgi eNAwkMkiWb5zQ3YKd3JfsTOd1wd9Cc2jKaSE7fj3moAkSxQNZsgiQzMFThK7S/wcESpJfRxH hicIfJtLXgoQZOjH1zePjmdHxidhD65P8cfey++AYYSYWPyRrN5BW1Aam8FDOBpzU8pvNjWL NXdphurqQpFSRlvcRvXY
Message-ID: <90ae3a6d-f6bf-f079-2844-bb30245b3bbd@corp.mail.ru>
Date: Tue, 04 Jun 2019 15:27:11 +0300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <2a93577c-ee69-5edf-c347-dff46f568189@dcrocker.net>
Content-Type: multipart/alternative; boundary="------------C19E1DDBD7452145324C5303"
Content-Language: ru
Authentication-Results: smtp38.i.mail.ru; auth=pass smtp.auth=dubrovin@corp.mail.ru smtp.mailfrom=dubrovin@corp.mail.ru
X-618D5548: 29F8160D69F1D3A872228BA86744144440518506734E3D9CCE58903009102E3E
X-Mras: Ok
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/sz1q_E5ZaLbfo9hN6Nc2vgzER2Q>
Subject: Re: [dmarc-ietf] Endless Loops with DKIM reports
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: Tue, 04 Jun 2019 12:27:18 -0000

04.06.2019 15:08, Dave Crocker пишет:
> On 6/4/2019 1:48 PM, Vladimir Dubrovin wrote:
>> Reports are not sent to Return-Path address, empty return path does not
>> prevents report from being sent. Actually, report with empty
>
> My comment was meant about the DMARC report being sent without a
> return (envelope from) address, the same as is already true for other
> email infrastructure control messages.
>

DMARC reports are triggered based on the domain in RFC5322.From address
and are sent to DMARC reporting address from DMARC record for
RFC5322.From address. If one DMARC reports triggers another DMARC
reports, the second report will be sent to DMARC reporting address, not
to return-path.


>
>> envelope-from has higher chances to generate a reverse report, because
>
> I don't understand how it is possible to send a report when there is
> no address to send it to.


Report destination address is different from return-path or the message
which triggers a report, so message with empty return-path
(envelope-from) can trigger a valid DMARC report and it will be
delivered to DMARC reporting address.


>
>
>> in this case SPF is checked against HELO and, in practice, many seders
>> do not have SPF configured for HELO name and SPF failure can trigger a
>> report.
>
> I don't understand how the HELO domain name is relevant to this
> discussion, since it isn't a full email address.


DMARC reporting can report and SPF or SPF alignment failure (RFC 7598
sections 4.2, 6.3) . According to section 2.4 of RFC 7208 (SPF)


      2.4 <https://tools.ietf.org/html/rfc7208#section-2.4>. The "MAIL
      FROM" Identity

...

   [RFC5321] allows the reverse-path to be null (see Section 4.5.5 in [RFC5321] <https://tools.ietf.org/html/rfc5321#section-4.5.5>).  In this case, there is no explicit sender mailbox, and
   such a message can be assumed to be a notification message from the
   mail system itself.  When the reverse-path is null, this document
   defines the "MAIL FROM" identity to be the mailbox composed of the
   local-part "postmaster" and the "HELO" identity (which might or might
   not have been checked separately before).


>
> d/
>
>
>

-- 
Vladimir Dubrovin
@Mail.Ru