Re: DMARC: perspectives from a listadmin of large open-source lists

Doug Barton <dougb@dougbarton.us> Mon, 14 April 2014 08:08 UTC

Return-Path: <dougb@dougbarton.us>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E59971A03A5 for <ietf@ietfa.amsl.com>; Mon, 14 Apr 2014 01:08:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.426
X-Spam-Level:
X-Spam-Status: No, score=0.426 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.272, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 lIXJMb75GkPL for <ietf@ietfa.amsl.com>; Mon, 14 Apr 2014 01:08:08 -0700 (PDT)
Received: from dougbarton.us (dougbarton.us [208.79.90.218]) by ietfa.amsl.com (Postfix) with ESMTP id 02C191A03A4 for <ietf@ietf.org>; Mon, 14 Apr 2014 01:08:02 -0700 (PDT)
Received: from [192.168.4.101] (unknown [67.159.169.102]) by dougbarton.us (Postfix) with ESMTPSA id A798F22B20 for <ietf@ietf.org>; Mon, 14 Apr 2014 08:08:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dougbarton.us; s=dougbarton.us; t=1397462880; bh=FfdQRHUDL82J85cyznu7Fqtdc6TRg65Z24O7t9eDOb4=; h=Date:From:To:Subject:References:In-Reply-To; b=MNf2B5eAynjRB4z+/ntH1CIW7Ybk9LVL4xNm/Wq8ZrwTST9wJv2eOIeDNSF1GXpru mARAptgMdlkeNXDNuZIj+UZXGzN64+TG1f9z26elDfsayIODcTaYCjn4SVT8dD/n3K dxRbDuZrGQJU0WBMxMahOkJ+NncEOO7j1H+st+L4=
Message-ID: <534B9760.90301@dougbarton.us>
Date: Mon, 14 Apr 2014 01:08:00 -0700
From: Doug Barton <dougb@dougbarton.us>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: ietf@ietf.org
Subject: Re: DMARC: perspectives from a listadmin of large open-source lists
References: <20140414024956.26078.qmail@joyce.lan> <534B524F.4050206@dcrocker.net> <alpine.BSF.2.00.1404132327560.26258@joyce.lan> <E0B7196CB2603B80BBEC21AF@JcK-HP8200.jck.com> <alpine.BSF.2.00.1404132346420.26386@joyce.lan> <1EBDF5239EEE5202D3837D25@JcK-HP8200.jck.com>
In-Reply-To: <1EBDF5239EEE5202D3837D25@JcK-HP8200.jck.com>
X-Enigmail-Version: 1.6
OpenPGP: id=1A1ABC84
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/UafwJsFte2t0ghvSOdto_bzIe8I
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 14 Apr 2014 08:08:14 -0000

On 04/13/2014 09:34 PM, John C Klensin wrote:
>
>
> --On Monday, April 14, 2014 00:10 -0400 John R Levine
> <johnl@taugh.com> wrote:
>
>>> Sadly, there are a non-trivial number of MTA installations
>>> whose implementers or operators, having discovered that they
>>> had not seen a legitimate use of the percent hack in years,
>>> decided that they were about as likely to appear in
>>> legitimate messages as source routing and dealt with them
>>> accordingly.  Put more simply, a "%" in a local-part may be
>>> least as likely to get a message rejected or dumped as a
>>> badly specified DMARC record, so the one is really not a very
>>> good cure for the other.
>>
>> Since the percent hack became a famous vector for open relay
>> abuse, so we all stopped honoring it.  A lot of MTAs still
>> reject anything with a % saying something like no more source
>> routing.  Mine does.
>
> Exactly.

Perhaps my suggestion to use the percent sign dragged in some baggage I 
wasn't intending. To be clear, I wasn't suggesting that receiving 
systems do anything special with the address, only that we establish a 
convention/standard for how to encode the real address of the sender for 
mail sent through mailing lists. It could at least by visually inspected 
by recipients, and in theory MUAs could learn to deal with it for 
display and/or reply purposes. If a ! works better than a % to separate 
the sender's address from the list address that's great.

For those that are skeptical of MUAs actually doing this, I agree. 
However in recent memory a non-trivial number of modern MUAs have picked 
up parsing of list headers sufficiently to make "reply to list" buttons 
a reality. So not all hope is lost here.

>> So this would require inventing something with the same
>> semantics as the percent hack, but a different syntax.
>> Perhaps we can use an exclamation point.
>
> I suppose the correct response is "bang, bang, bang,..."
>
> But this takes us back to Ned's point (or at least my
> interpretation of it): it is lots easier to fix a bad DMARC
> config, ignore restrictive DMARC specifications, or even to
> abandon DMARC entirely, than it is to believe that we can
> upgrade every MTA and MUA on the network to start accepting
> percent hacks, bang paths, or the syntax characters used to
> denote them, again.  Or any other strange local-part syntax
> anyone is likely to come up with, e.g., perhaps we could use
> plus signs, hyphens, or appropriately-escaped backslashes.  Or
> we could steal "/" and "=" back from X.400 gateways.  Right.

Well + is out, since that's used by various local filtering solutions.

But your point is well taken ... the "right" answer may be to fix or 
discard DMARC, I honestly don't know. But in a world where DMARC is here 
to stay, or if not DMARC then some other anti-spam solution that breaks 
mailing list forwarding; and in that same world where mailing list 
traffic is negligible (and therefore the cost of breaking mailing lists 
is in the noise compared to the benefits of deploying said anti-spam 
solution) it's incumbent on the mailing list software folks to solve 
this problem.

Doug