Re: [dmarc-ietf] Revisiting the Race Condition in draft-crocker-dmarc-sender-01

"Douglas E. Foster" <fosterd@bayviewphysicians.com> Thu, 20 August 2020 02:34 UTC

Return-Path: <btv1==501dbf85ecd==fosterd@bayviewphysicians.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 61BA93A106E for <dmarc@ietfa.amsl.com>; Wed, 19 Aug 2020 19:34:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bayviewphysicians.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 vyVX8VaaFq28 for <dmarc@ietfa.amsl.com>; Wed, 19 Aug 2020 19:34:50 -0700 (PDT)
Received: from mail.bayviewphysicians.com (mail.bayviewphysicians.com [216.54.111.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9AA473A1068 for <dmarc@ietf.org>; Wed, 19 Aug 2020 19:34:50 -0700 (PDT)
X-ASG-Debug-ID: 1597890888-11fa31095e46fc0001-K2EkT1
Received: from webmail.bayviewphysicians.com (webmail.bayviewphysicians.com [192.168.1.49]) by mail.bayviewphysicians.com with ESMTP id Wyguv3acPLHWFY2d (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Wed, 19 Aug 2020 22:34:48 -0400 (EDT)
X-Barracuda-Envelope-From: fosterd@bayviewphysicians.com
X-Barracuda-RBL-Trusted-Forwarder: 192.168.1.49
X-SmarterMail-Authenticated-As: fosterd@bayviewphysicians.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bayviewphysicians.com; s=s1025; h=message-id:reply-to:subject:to:from; bh=cwJ3ctjTK431W24fePntANWAV857La3ySZzawZKXumg=; b=UZxLEttb0zfZ4nf0Z36TBTt9gKrIDk84FqiQ8omEEExwFhBOwz5W6uxaTdyf54J9g cr9WdfPtwygv/TTfZaeKLmDU1lPGmIY8njGLSxNbecpzAE93LS/oQieL2qI+acJYT WRn4t4V/f4HX140SvXCeuUo9rSmIWW44cGDGXjltc=
From: "Douglas E. Foster" <fosterd@bayviewphysicians.com>
To: Joseph Brennan <brennan@columbia.edu>, "dmarc@ietf.org" <dmarc@ietf.org>
Date: Thu, 20 Aug 2020 02:34:42 +0000
X-ASG-Orig-Subj: Re: [dmarc-ietf] Revisiting the Race Condition in draft-crocker-dmarc-sender-01
Reply-To: fosterd@bayviewphysicians.com
Message-ID: <46c4c4429427470e9c5a7f66683292fa@bayviewphysicians.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="ef6eb4aa41e34e1986762e10639bdb0a"
In-Reply-To: <CAMSGcLDUY8WytRVw5sqc-py5NoLunfvYLWyWFdvc_e+ecJhYnA@mail.gmail.com>
References: <CAJ4XoYcue16VU6otKOzQBFy_59nD8DGcDQb8H=Z0MsX-XLah8w@mail.gmail.com> <20200819004724.16EE11EED520@ary.local> <CAJ4XoYfFKe1yKK5OBx91qJOxZNHSNptu7kHS_bKnyGo_wGLB_w@mail.gmail.com> <8e939d83-3cc8-3989-4e48-7e79e7e86973@taugh.com> <CAJ4XoYfFWbGky+A7GXZeTAth_5JQz1y8QQXsGW-bQ=86CUTt5A@mail.gmail.com> <73cb2f8c-5f9-8fa2-6b13-3ec9318f2c5@taugh.com> <CAJ4XoYd71Ybn=15=y7Ydg3cSMzpkaAr45ynUshTqGEFzq3KLaQ@mail.gmail.com> <CAL0qLwb3bqstz=feSx0h-fR_U03hcixbEmfYeAmqYTQYimcW4w@mail.gmail.com> <baa8487b-ffb8-ce78-cf59-f6d63651d855@taugh.com> <CABuGu1r0gV3W4u35VHVaPREWXdZv90mV=XznFx4hD5XSsWD34g@mail.gmail.com> <CAMSGcLDUY8WytRVw5sqc-py5NoLunfvYLWyWFdvc_e+ecJhYnA@mail.gmail.com>
X-Exim-Id: 46c4c4429427470e9c5a7f66683292fa
X-Barracuda-Connect: webmail.bayviewphysicians.com[192.168.1.49]
X-Barracuda-Start-Time: 1597890888
X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA384
X-Barracuda-URL: https://mail.bayviewphysicians.com:443/cgi-mod/mark.cgi
X-Virus-Scanned: by bsmtpd at bayviewphysicians.com
X-Barracuda-Scan-Msg-Size: 8569
X-Barracuda-BRTS-Status: 1
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=HTML_MESSAGE
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.84022 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/NqkBlm7iGJCHP49L8xNioOPZiJs>
Subject: Re: [dmarc-ietf] Revisiting the Race Condition in draft-crocker-dmarc-sender-01
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: Thu, 20 Aug 2020 02:34:52 -0000

For incoming mail, you determine what constitutes legitimate mail.    You choose whether to enforce DMARC generally.  If you enforce DMARC at all, you also choose what exceptions to apply.

But outgoing mail is different.   The sender has no guarantee of delivery.   The sender has to convince the recipient that the message is legitimate and desirable.  (Plenty of advertising messages are sent legitimately, but still get blocked by my spam filters.)

For mailing list mail, there are two messages.   The first one goes from your user to the mailing list.  The mailing list has various rules about whether the message is acceptable or not.   For openers, the sender must be a registered subscriber to the list.   Additionally, there may be limits on attachments or limits on swear words.    The subscriber knows these rules, or learns them quickly, and complies.

The second message is from the mailing list to the subscribers.   As with every other message, the mailing list sender needs to determine host to satisfy the requirements of the recipient system.   Maybe the recipient system has a longer list of swear words.   Or maybe the recipient system enforces DMARC.   Whatever the rule, the burden is on the sending mailing list to get the message delivered by satisfying the screening criteria of the recipient systems.

One important way to demonstrate legitimacy is to provide a verifiable identity.  Verified identity allows a reputation to be assigned, which then determines which content filtering rules will (or will not) be applied.   If a mailing list knows that the recipient requires a verified identity, but fails to provide a verifiable identity, whose fault is it when the message does not get delivered?

The working assumptions are that a mailing list must alter the received content, the mailing list must not reformat the From address, and nonetheless the recipient system must assume, without supporting evidence, that the message is legitimate.   

Assuming that mailing lists deserve a privileged role, we still need a way to demonstrate that any specific message deserves that role because it is from a trusted mailing list and not from an attacker.

Doug Foster

----------------------------------------
From: Joseph Brennan <brennan@columbia.edu>
Sent: 8/19/20 8:07 PM
To: "dmarc@ietf.org" <dmarc@ietf.org>
Subject: Re: [dmarc-ietf] Revisiting the Race Condition in draft-crocker-dmarc-sender-01

I've been running email servers for 25 years. My number 1 priority is that legitimate mail gets through. Stopping the bad stuff is very important but not number 1. Does DMARC causes legitimate mail to fail? Yes, so to me it's a fail.

I can understand the transactional mail case, as I stated in previous messages. The burden is on the businesses implementing DMARC protection to inform customers to give their real end-point email addresses and not any vanity forwarding services. Any two sides can agree between them on some optional additional security measure. It's a good thing.

For general end-user mail? It's a bad thing. It will cause email to fail, and it will cause people not drinking the DMARC kool-aid to implement crazy non-standard things with From headers to make email work the way it should work without crazy workarounds. I see no reason that the DMARC standard should not spell out explicitly the use case that it is intended to meet, and recommend against using it for other use cases.

I realize that this was said ten years ago (or whatever it was) when yahoo/aol began abusing DMARC. But see how that went. The problem was not really DMARC at all, it was abuse of DMARC.

-- 

Joseph Brennan
Lead, Email and Systems Applications
Columbia University Information Technology