Re: [apps-discuss] Pete Resnick's Yes on draft-ietf-appsawg-malformed-mail-10: (with COMMENT)

Pete Resnick <presnick@qti.qualcomm.com> Tue, 26 November 2013 17:44 UTC

Return-Path: <presnick@qti.qualcomm.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC8A91ADEBE; Tue, 26 Nov 2013 09:44:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level:
X-Spam-Status: No, score=-4.302 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, RP_MATCHES_RCVD=-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 9tXI0YnK14RA; Tue, 26 Nov 2013 09:44:18 -0800 (PST)
Received: from wolverine02.qualcomm.com (wolverine02.qualcomm.com [199.106.114.251]) by ietfa.amsl.com (Postfix) with ESMTP id 6144F1ADF6C; Tue, 26 Nov 2013 09:44:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt; s=qcdkim; t=1385487858; x=1417023858; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=lShz2TNIXyHli7TceazpT/APAWLrYhV8whYcDfqADZk=; b=GN5SntTHTt9O8o5YMCDynZWZrHc1mMH2xM482XIIue36AuZaoW4D2ff2 LAPlO9BiUVtGVgQJdw7T0bC/Xuq9vxDXTn+zXx/Pcyz5GP8PJYlCwKgyH rulWuza6D4b4C8kWeA+nsJf3h2JFlsz/apEDjsQyj1LQJCjsmp1Prf4bc Y=;
X-IronPort-AV: E=McAfee;i="5400,1158,7271"; a="89149348"
Received: from ironmsg04-l.qualcomm.com ([172.30.48.19]) by wolverine02.qualcomm.com with ESMTP; 26 Nov 2013 09:44:18 -0800
X-IronPort-AV: E=McAfee;i="5400,1158,7271"; a="553202260"
Received: from nasanexhc07.na.qualcomm.com ([172.30.39.190]) by Ironmsg04-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 26 Nov 2013 09:44:17 -0800
Received: from nasanexhc05.na.qualcomm.com (172.30.48.2) by nasanexhc07.na.qualcomm.com (172.30.39.190) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 26 Nov 2013 09:44:17 -0800
Received: from resnick2.qualcomm.com (172.30.48.1) by qcmail1.qualcomm.com (172.30.48.2) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 26 Nov 2013 09:44:16 -0800
Message-ID: <5294DDEE.4070000@qti.qualcomm.com>
Date: Tue, 26 Nov 2013 11:44:14 -0600
From: Pete Resnick <presnick@qti.qualcomm.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.1.9) Gecko/20100630 Eudora/3.0.4
MIME-Version: 1.0
To: Ned Freed <ned.freed@mrochek.com>
References: <20131120223533.8958.23858.idtracker@ietfa.amsl.com> <CAL0qLwbH0e_Z-9OKNf3cJ9RpsRLK6vmnQtfj8dbZkLxmz2GaRA@mail.gmail.com> <01P14CWFCE5A00004G@mauve.mrochek.com>
In-Reply-To: <01P14CWFCE5A00004G@mauve.mrochek.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.30.48.1]
Cc: "draft-ietf-appsawg-malformed-mail@tools.ietf.org" <draft-ietf-appsawg-malformed-mail@tools.ietf.org>, IETF Apps Discuss <apps-discuss@ietf.org>, SM <sm+ietf@elandsys.com>, "appsawg-chairs@tools.ietf.org" <appsawg-chairs@tools.ietf.org>, The IESG <iesg@ietf.org>
Subject: Re: [apps-discuss] Pete Resnick's Yes on draft-ietf-appsawg-malformed-mail-10: (with COMMENT)
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Nov 2013 17:44:20 -0000

I know Barry sent through his approval, but I wanted to send you my 
comments just in case there is room to change during AUTH48. (I was sick 
with a cold over the weekend; sorry for the delay.)

On 11/23/13 11:04 AM, Ned Freed wrote:

> Murray wrote:
>
>> All of this works for me except:
>>
>> On Wed, Nov 20, 2013 at 2:35 PM, Pete Resnick<presnick@qti.qualcomm.com>wrote:
>>
>>> 4 - It seems worth pointing out somewhere in this section that the
>>> prepending of Received fields is the safest thing to do if changes must
>>> be made to the message to pass information between modules.

Your new text says:

    Where a change to content between modules is unavoidable, adding
    trace data (such as prepending a standard Received field) will at
    least allow tracing of the handling by modules that actually see
    different input.

I think this is misplaced, and I think you missed the point. Your 
paragraph seems to say you *want* to insert trace data, and that 
prepending Received fields is one way to do it. I think the main point 
of the section is generally correct: You *don't* want to be adding trace 
data. What I meant for you to add was that, if you do need to add trace 
data, then the *only* recommended way to do it is to prepend Received 
fields. I would change the paragraph to:

    Where a change to content between modules is unavoidable, for example
    to add trace data, the safest way to do so is to prepend Received
    fields with the appropriate information.

And I'd move it right after paragraph 2.

>>> 7.1.6 - Why is the second example not obviously better? I have a hard
>>> time imagining circumstances where an unterminated quoted-string that
>>> contains an angle-bracketed thing that looks like an addr-spec is in fact
>>> a local part.

Your change here doesn't address my comment. You still say, "leaves 
software with no obvious "good" interpretation". I disagree. I think the 
second *is* an obvious good interpretation.

>>> 7.5 -
>>> What's the difference between 3&  4? Or maybe I don't know what "compound
>>> instance" means in 3.

You never did answer that question.

>>> 7.5.3 - What's the harm in more than one Return-Path? Only one of
>>> interest is the top-most.
>> The issue here is that some components pick the last one, and some pick the
>> first, in general.  More often this happen with From, but Return-Path is
>> not special in this regard.
>>      
> FWIW, one thing an MDA can do is check and see if the top Return-path: agrees
> with the current MAIL FROM, and if it does don't add a redundant Return-path:
> field.
>    

Yep. And I worry about the fact that 7.5.3 pretty directly contradicts 
[MAIL] on this point without mentioning it. 5322 clearly allows multiple 
Return-Path fields, so long as they're block prepended with Received 
fields. Maybe that's now considered a problem, but it seems like you'd 
want to mention that this is a change. And I'm still not clear on the 
harm given that Return-Path is supposed to be trace and ignored by end 
systems (unlike From, which is clearly going to be used).

pr

-- 
Pete Resnick<http://www.qualcomm.com/~presnick/>
Qualcomm Technologies, Inc. - +1 (858)651-4478