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

"Murray S. Kucherawy" <superuser@gmail.com> Wed, 27 November 2013 07:22 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 92DEA1AE243; Tue, 26 Nov 2013 23:22:45 -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 kqcEYJilBEeB; Tue, 26 Nov 2013 23:22:30 -0800 (PST)
Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) by ietfa.amsl.com (Postfix) with ESMTP id F10EB1AE237; Tue, 26 Nov 2013 23:22:16 -0800 (PST)
Received: by mail-wg0-f53.google.com with SMTP id k14so3826861wgh.20 for <multiple recipients>; Tue, 26 Nov 2013 23:22:16 -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=9QFNRRE7rzBIVjV0WTeOB/Tq35oNW9AQMkIP4KgS6zM=; b=SK95BBr8vDS9EHMlS+/90s7+jUAYpfBQC6m38Nb9dSiFHPH3YOWxd0uApueYvsY9R4 cpo4KG6SwWVY8+qmjmYtukl+uZKw4CZJi4lTIGKrww8QIupovyROB4fePgnZp/IEgkeS zdETIT9lL97P8FPh0ZSlQDa4VF9AgyfZZWUG9Fzq7nVwhZGHsZtlsNXMYn0iA6IKLaYA S7eeDCKEWalz/hZXmjNiAcYEhEXKPExjHfugCPGfndFZoVWyPw9BJw0lv3rg9G4GKtLx INpu5S8TwnCDYPQaN2cWG00Vss5aa9U+XSkVcBpC/27uV5s6+5GnEi6fO+pNiFB4zhUU +iEg==
MIME-Version: 1.0
X-Received: by 10.194.21.104 with SMTP id u8mr254690wje.63.1385536935987; Tue, 26 Nov 2013 23:22:15 -0800 (PST)
Received: by 10.181.13.230 with HTTP; Tue, 26 Nov 2013 23:22:15 -0800 (PST)
In-Reply-To: <CAL0qLwY4Zbig3pb9W41fo5ttt2FgLPyOwPxLFQFJuUTtO5D75A@mail.gmail.com>
References: <20131120223533.8958.23858.idtracker@ietfa.amsl.com> <CAL0qLwbH0e_Z-9OKNf3cJ9RpsRLK6vmnQtfj8dbZkLxmz2GaRA@mail.gmail.com> <01P14CWFCE5A00004G@mauve.mrochek.com> <5294DDEE.4070000@qti.qualcomm.com> <CAL0qLwY4Zbig3pb9W41fo5ttt2FgLPyOwPxLFQFJuUTtO5D75A@mail.gmail.com>
Date: Tue, 26 Nov 2013 23:22:15 -0800
Message-ID: <CAL0qLwZi9kwSuhcketUW2hBW-HG2LjCgT-Jw0J=saryg+uauoQ@mail.gmail.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
To: Pete Resnick <presnick@qti.qualcomm.com>
Content-Type: multipart/alternative; boundary="047d7b5d97cbe4928f04ec2374d6"
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: Wed, 27 Nov 2013 07:22:47 -0000

On Tue, Nov 26, 2013 at 10:23 AM, Murray S. Kucherawy
<superuser@gmail.com>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.
>
>
Understood, but I think yours implies that one would change content
specifically to add trace data, and not for some other reason.  What I'm
talking about is the capabilities of the modules to hand data among
themselves without having to modify the content itself; if for some reason
that's simply not possible, then at least make it look like a hop occurred
by adding trace data.

So how about:

Where a change to content between modules is unavoidable, it is a good idea
to add standard trace data to indicate a "visible" handoff between modules
has occurred.  The only advisable way to do this is to prepend Received
fields with the appropriate information, as described in Section 3.6.7 of
[MAIL].

Will make Ned's proposed change as well.  Here's a diff from -10 (which the
IESG approved) to a proposed -12, which incorporates everything to date,
including the above:

http://www.blackops.org/~msk/draft-ietf-appsawg-malformed-mail-from--10.diff.html

-MSK