Re: [spfbis] Last Call: <draft-ietf-spfbis-4408bis-19.txt> (Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1) to Proposed Standard

Måns Nilsson <mansaxel@besserwisser.org> Tue, 20 August 2013 02:49 UTC

Return-Path: <mansaxel@besserwisser.org>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 500F611E819C for <ietf@ietfa.amsl.com>; Mon, 19 Aug 2013 19:49:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.8
X-Spam-Level:
X-Spam-Status: No, score=-2.8 tagged_above=-999 required=5 tests=[AWL=-0.500, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rjF0X7RzgTUE for <ietf@ietfa.amsl.com>; Mon, 19 Aug 2013 19:49:23 -0700 (PDT)
Received: from jaja.besserwisser.org (jaja.besserwisser.org [IPv6:2a01:298:4:0:211:43ff:fe36:1299]) by ietfa.amsl.com (Postfix) with ESMTP id 4EF5B11E8328 for <ietf@ietf.org>; Mon, 19 Aug 2013 19:49:22 -0700 (PDT)
Received: by jaja.besserwisser.org (Postfix, from userid 1004) id 119DE9E98; Tue, 20 Aug 2013 04:49:15 +0200 (CEST)
Date: Tue, 20 Aug 2013 04:49:15 +0200
From: Måns Nilsson <mansaxel@besserwisser.org>
To: John R Levine <johnl@taugh.com>
Subject: Re: [spfbis] Last Call: <draft-ietf-spfbis-4408bis-19.txt> (Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1) to Proposed Standard
Message-ID: <20130820024914.GB30516@besserwisser.org>
References: <20130819150521.GB21088@besserwisser.org> <20130819160549.61542.qmail@joyce.lan> <20130819190533.GA30516@besserwisser.org> <alpine.BSF.2.00.1308191543490.62330@joyce.lan>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI"
Content-Disposition: inline
In-Reply-To: <alpine.BSF.2.00.1308191543490.62330@joyce.lan>
X-URL: http://vvv.besserwisser.org
X-Purpose: More of everything NOW!
X-happyness: Life is good.
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: ietf@ietf.org
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Aug 2013 02:49:24 -0000

Subject: Re: [spfbis] Last Call: <draft-ietf-spfbis-4408bis-19.txt> (Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1) to Proposed Standard Date: Mon, Aug 19, 2013 at 03:59:50PM -0400 Quoting John R Levine (johnl@taugh.com
> >>>* The charter disallows major protocol changes -- removing the SPF RR type
> >>>is a direct charter violation; since SPF is being used on the Internet. ...
> 
> The SPF working group discussed this issue at painful, extensive length.
> 
> As you saw when you read the WG archives, there is a significant
> interop bug in rfc 4408 in the handling of SPF and TXT records,
> which (again after painful and extension discussion) we decided the
> least bad fix was to get rid of SPF records.  I don't see anything
> in your note about how else you think we should address the interop
> bug.

It is in the archives, but for your convenience, and in haste: 

SPF MUST be published. TXT MAY be published to help in migration. If both,
they MUST align. [0]

The lookup order should be : Ask for SPF, if not found, ask for TXT,
if not found, return ANY. Long-term, one may disregard the TXT fallback.
If TXT and SPF differ (and TXT happens to look like SPF syntax), assume
that migration is in place, discard TXT and use SPF.

And before the whining on query rate starts: The amount of queries is
presently uninteresting from a DNS operations perspective. Does matter
much less than the squatting on TXT. Besides, we've got caching in DNS,
which scales very well.

Caching in itself does introduce some pits to fall in, especially
regarding TTL in migration states. If deemed suitable, some
recommendations on TTL can be discussed. These should however be limited
to the unique situation that is trying to publish the same record
twice. My naïve hunch is to either recommend publishing both with the
same TTL or possibly TXT with a significantly shorter. The latter is
probably only interesting in short-term migration states.

This discussion is however best had on the spfbis mailing list, after
the -19 draft is sent back.
 
> In your case it doesn't matter, since your TXT and SPF records make
> no usable assertions, but a lot of people use SPF right now as part
> of their mail stream management.

Off-topic: They do make usable assertions. It is just that my email policy
seems to differ from what you think prudent. I believe I'm free to have
a differing policy.[1]

Praeterea censeo, Carthaginem esse delendam.
-- 
Måns Nilsson     primary/secondary/besserwisser/machina
MN-1334-RIPE                             +46 705 989668
Don't hit me!!  I'm in the Twilight Zone!!!

[0] Please note that my besserwisser.org records are SPF only. 
    The fact that there is argumentation with a funny prefix in
    some TXT records is simply "some use" of TXT records.

[1] Mail from me should be authenticated by my PGP signature, not by
    which IP address that happened to deliver it to your MX node.