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

"Murray S. Kucherawy" <superuser@gmail.com> Tue, 26 November 2013 18:23 UTC

Return-Path: <superuser@gmail.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 5A71E1AD8F7; Tue, 26 Nov 2013 10:23:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 hKC9tLsR_DDl; Tue, 26 Nov 2013 10:23:44 -0800 (PST)
Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 983C11AD72A; Tue, 26 Nov 2013 10:23:43 -0800 (PST)
Received: by mail-wg0-f43.google.com with SMTP id k14so3175964wgh.22 for <multiple recipients>; Tue, 26 Nov 2013 10:23:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mjI7x9vaL0z35VIFHIXUN5FDXFL8wDQYR6wSHnfiJgc=; b=0WtGn3N6zQwPTTImWDF/2VOo/LBYvA52p10sIx0UiTqoo3aKUtAYoCUlvYtZwhJlW2 QI5S1wFquOBg3QjMmd3TafHIdzF83JNLktPNEp8pcGLYKkJKBkm+v5nccoe8vqSSXpOM +ts2I0rg95Pc2o57m7YzmyZej2aQEZb4DNFfnuE38DuItkSTmJrK50zAl/XAf/U1yYaP AfnqEcda3k1z6MifOCFDoYrDf3iGmkvJ08Ov+S61JcrQ27lO9cs2B1ZDSSFmhkbnip3t Jwp/g0VBOo9RRqTH5zhwChnyQv2JNfvuTEJtWDljlTrkm6p/e/lws9B3LHdygc6C3pJJ y47g==
MIME-Version: 1.0
X-Received: by 10.194.174.36 with SMTP id bp4mr27465520wjc.7.1385490222879; Tue, 26 Nov 2013 10:23:42 -0800 (PST)
Received: by 10.181.13.230 with HTTP; Tue, 26 Nov 2013 10:23:42 -0800 (PST)
In-Reply-To: <5294DDEE.4070000@qti.qualcomm.com>
References: <20131120223533.8958.23858.idtracker@ietfa.amsl.com> <CAL0qLwbH0e_Z-9OKNf3cJ9RpsRLK6vmnQtfj8dbZkLxmz2GaRA@mail.gmail.com> <01P14CWFCE5A00004G@mauve.mrochek.com> <5294DDEE.4070000@qti.qualcomm.com>
Date: Tue, 26 Nov 2013 10:23:42 -0800
Message-ID: <CAL0qLwY4Zbig3pb9W41fo5ttt2FgLPyOwPxLFQFJuUTtO5D75A@mail.gmail.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
To: Pete Resnick <presnick@qti.qualcomm.com>
Content-Type: multipart/alternative; boundary="089e0141a0ae931a5504ec189479"
Cc: "draft-ietf-appsawg-malformed-mail@tools.ietf.org" <draft-ietf-appsawg-malformed-mail@tools.ietf.org>, Ned Freed <ned.freed@mrochek.com>, 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 18:23:46 -0000

On Tue, Nov 26, 2013 at 9:44 AM, Pete Resnick <presnick@qti.qualcomm.com>wrote:

> 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.)
>

No objection to working on this during AUTH48.


>
> 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.


OK by me.


>
>
>  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.
>

Will revisit.  I think I agreed (it's not in front of me now), but I guess
I didn't capture it properly.


>
>  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.


I thought I clarified that in the latest draft by explaining what was meant
by "compound instance".


>
>
>  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).
>
>
My recollection of Return-Path is that there's always zero or one, and it's
typically added at the top only during local delivery; any instance of it
in transit is basically wrong and subject to removal.  I'll have to revisit
this as well if that's wrong.

Thanks for persisting on these points.

-MSK