Re: [dmarc-ietf] OT: Yet another addition to dmarc-rfc7601bis-00

Alessandro Vesely <vesely@tana.it> Mon, 19 March 2018 17:29 UTC

Return-Path: <vesely@tana.it>
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 E21EF126C25 for <dmarc@ietfa.amsl.com>; Mon, 19 Mar 2018 10:29:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.31
X-Spam-Level:
X-Spam-Status: No, score=-4.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=tana.it
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 TU-vsXEA_4NH for <dmarc@ietfa.amsl.com>; Mon, 19 Mar 2018 10:29:38 -0700 (PDT)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1DFAD127333 for <dmarc@ietf.org>; Mon, 19 Mar 2018 10:29:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=beta; t=1521480576; bh=34xMUlzPcaYXnqT7lf98m0+LinmogwXY2BBz/oUyX64=; l=2582; h=To:Cc:References:From:Date:In-Reply-To; b=R6dYlMYkANqtqHEpgvGR1KqVk7wL7Vwb9OEi1+QWwe+2m1lIJzdPO2Xs2e8vrovZl MlTIx8KB32xa1mXVSoo3TpNIyRm0jbzkg+DuiQJEetQaFFjcZ5s7VJYw3Q6rAKtpqb YJrtlkbf/5xs/6o4cL/b3G2fCoSZ1ODL3wg+9cOM=
Authentication-Results: tana.it; auth=pass (details omitted)
Received: from [172.25.197.111] (pcale.tana [172.25.197.111]) (AUTH: CRAM-MD5 uXDGrn@SYT0/k) by wmail.tana.it with ESMTPA; Mon, 19 Mar 2018 18:29:36 +0100 id 00000000005DC073.000000005AAFF380.00004C50
To: "Murray S. Kucherawy" <superuser@gmail.com>
Cc: dmarc@ietf.org, Matthias Leisi <matthias@leisi.net>
References: <98102864-2dee-c133-f625-7b66976f7519@tana.it> <CAL0qLwZxcfTH4gdGfJM9wL9YdTCzSLJ57by5B_OYntjTgLq_2w@mail.gmail.com>
From: Alessandro Vesely <vesely@tana.it>
Openpgp: id=0A5B4BB141A53F7F55FC8CBCB6ACF44490D17C00
Message-ID: <99872af2-5f67-7690-a24a-b8eec2a5db16@tana.it>
Date: Mon, 19 Mar 2018 18:29:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <CAL0qLwZxcfTH4gdGfJM9wL9YdTCzSLJ57by5B_OYntjTgLq_2w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/uv45pJB7qa6GKD6xlrswfFI04-c>
Subject: Re: [dmarc-ietf] OT: Yet another addition to dmarc-rfc7601bis-00
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 19 Mar 2018 17:29:41 -0000

On Sun 18/Mar/2018 13:43:56 +0100 Murray S. Kucherawy wrote:
> On Sun, Mar 18, 2018 at 11:25 AM, Alessandro Vesely <vesely@tana.it
> <mailto:vesely@tana.it>> wrote:
> 
>     Would it be possible to insert a dnswl method in the new spec?
>     [...]
> 
> 
> I'd prefer to do this as its own document.  The current one is feeling very
> "kitchen sink" already, and this change has more meat to it than the others
> that have been requested.

A-R's spec has been a medley of methods since its first appearance.  I deem
that's very practical, especially compared to an unreferenced, obscure
document.  Not to mention the cost of issuing an extra RFC just for that
method.  I posted the xml so as to minimize editorial work on your side, in
case you change your mind.


>         Authentication-Results: wmail.tana.it <http://wmail.tana.it>;
>             dnswl=pass dns.zone=list.dnswl.org <http://list.dnswl.org>
>             policy.ip=127.0.9.2
>             policy.txt="ietf.org https://dnswl.org/s/?s=1703"
> 
> 
> I have a few things I'd like to see done differently in your expired draft:
> 
> * "dnswl" is specifically a whitelist; should we also register "dnsbl"?  Or do
> we really need two distinct entries for the same mechanism?

My feeling is that dnsbl is not an authentication of any kind.  For lists like,
for example, Spamhaus SBL, a positive lookup does not identify a sender domain.
 In addition, MTAs are already plenty of options about whether and how to drop
relevant messages.  What would be a use case for dnsbl?

> * I think "policy.txt" is under-specified.  A downstream agent shouldn't be
> expected to know how to decode this, and it can change from one implementation
> to the next.

Rfc5782 doesn't say much on TXT records from white lists.  FWIW, Courier-MTA
implementation needs an additional setting to query ANY or TXT rather than just
A[*].  I set that because the specific dnswl I use often conveys the domain
name in the TXT record, which is consistent with other A-R methods.

Should the spec recommend that all lists do so?  I added Section 3 in an
attempt to accomplish that:
https://tools.ietf.org/rfcdiff?url2=draft-vesely-authmethod-dnswl-07.txt

> * Why repeat "policy.ip" for multiple replies, rather than comma-separating the
> various replies?

No reason, easily changed.

Best
Ale
-- 

[*] http://www.courier-mta.org/couriertcpd.html#idm140519311889024
Section DNS ACCESS LISTS explains the settings and mentions what will be
exported in environment variables.  A-R header fields are not documented.