Re: [dmarc-ietf] Composition Kills: A Case Study of Email Sender Authentication

ned+dmarc@mrochek.com Thu, 23 April 2020 14:40 UTC

Return-Path: <ned+dmarc@mrochek.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 1B5E73A092F for <dmarc@ietfa.amsl.com>; Thu, 23 Apr 2020 07:40:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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_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=mrochek.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 wXTjFgfmIeyG for <dmarc@ietfa.amsl.com>; Thu, 23 Apr 2020 07:40:31 -0700 (PDT)
Received: from plum.mrochek.com (plum.mrochek.com [172.95.64.195]) (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 0F3463A0934 for <dmarc@ietf.org>; Thu, 23 Apr 2020 07:40:30 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RK1EJPMIGW00452K@mauve.mrochek.com> for dmarc@ietf.org; Thu, 23 Apr 2020 07:35:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mrochek.com; s=201712; t=1587652527; bh=44AK+E4lMbuecGwcT7c7s9v7zj5H2bkGbxf3FA1P9pc=; h=From:Cc:Date:Subject:In-reply-to:References:To:From; b=pAOPRB18uMEyZAAtincot8Zim6luw1FRC6lcx0EzSP+me65qx7V/MxToFsSyEjw+F 3xni6bZelaQJp0Yu05KjyhYVs1K+KVt3HZQX7mZA0WMBNPhbSwF9mIpahxjRJUHUy8 P1Sw+i4w0zpjQFLMBB0m0Q+5gAcL2xxAdNkPg/1Y=
MIME-version: 1.0
Content-transfer-encoding: 8bit
Content-type: TEXT/PLAIN; charset="utf-8"; Format="flowed"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RK1DNIKXK0000059@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for dmarc@ietf.org; Thu, 23 Apr 2020 07:35:25 -0700 (PDT)
From: ned+dmarc@mrochek.com
Cc: dmarc@ietf.org
Message-id: <01RK1EJO2TAW000059@mauve.mrochek.com>
Date: Thu, 23 Apr 2020 07:34:06 -0700
In-reply-to: "Your message dated Thu, 23 Apr 2020 09:38:18 +0200" <74a807f52a59fa87053fcc76aaa28a73@sapienti-sat.org>
References: <20200423002020.BAB07181BB09@ary.qy> <74a807f52a59fa87053fcc76aaa28a73@sapienti-sat.org>
To: Juri Haberland <juri@sapienti-sat.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/VcgSrqcgOAFhFwdW1Fm1_-auWg4>
Subject: Re: [dmarc-ietf] Composition Kills: A Case Study of Email Sender Authentication
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, 23 Apr 2020 14:40:33 -0000

> On 2020-04-23 02:20, John Levine wrote:
> > In article <51be5654-94c4-38c6-8f6b-dca403d6680a@dcrocker.net> you
> > write:

> >> The paper asserts that AR is used as DMARC input.  I suspect that is
> >> rarely, if ever, true.  Yes? No?
> >
> > I'd say never.  To do DMARC rejects you have to do all of the
> > validation in the SMTP daemon, which is before anything has a chance
> > to create an A-R header.

> Of course this is possible with the Milter protocol introduced by
> Sendmail and used also by Postfix. The mail traverses during the SMTP
> phase through different milters, e.g. a SPF milter, followed by a DKIM
> milter, and every milter injects an AR header with its results. The last
> milter is a DMARC milter that processes the AR headers and signals the
> SMTP daemon do either accept or reject the message. This is how OpenDKIM
> & OpenDMARC work together.

This is done all the time, and not just by Sendmail and Postfix.

> Other projects do it all in one milter (rspamd?)...

Yes, but when you do it all in one go it's more difficult to customize.

				Ned