Re: Last Call: 'The APPLICATION/MBOX Media-Type' to Proposed Standard

"Eric A. Hall" <ehall@ehsco.com> Tue, 17 August 2004 21:01 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA14385; Tue, 17 Aug 2004 17:01:19 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1BxBBA-0004E5-1S; Tue, 17 Aug 2004 17:07:39 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1BxAzJ-0002Px-K4; Tue, 17 Aug 2004 16:55:21 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1BxAyM-0002Gg-V6; Tue, 17 Aug 2004 16:54:23 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA14176; Tue, 17 Aug 2004 16:54:20 -0400 (EDT)
Received: from goose.ehsco.com ([207.65.203.98]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1BxB4S-00047T-8z; Tue, 17 Aug 2004 17:00:40 -0400
Received: from [192.168.0.2] (cable0-stm-219.gmpexpress.net [63.147.50.219]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by goose.ehsco.com (Postfix ) with ESMTP id 0C1CA61806; Tue, 17 Aug 2004 15:54:20 -0500 (CDT)
Message-ID: <41227042.5030709@ehsco.com>
Date: Tue, 17 Aug 2004 16:53:22 -0400
From: "Eric A. Hall" <ehall@ehsco.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: John C Klensin <john-ietf@jck.com>
References: <p06110437bd3d5d396de1@[10.20.30.249]> <411AB496.8080307@erols.com> <411BDE9B.7090706@att.com> <200408140040.i7E0e5Pk023772@turing-police.cc.vt.edu> <412171D8.9010201@att.com> <200408171705.i7HH5Rx8019339@turing-police.cc.vt.edu> <9D7AFAAF50E30B30B3D610C2@scan.jck.com> <412257D3.30606@ehsco.com> <294E85FB3BC16ACC1091D706@scan.jck.com>
In-Reply-To: <294E85FB3BC16ACC1091D706@scan.jck.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 538aad3a3c4f01d8b6a6477ca4248793
Content-Transfer-Encoding: 7bit
Cc: Valdis.Kletnieks@vt.edu, ietf-822@imc.org, Tony Hansen <tony@att.com>, iesg@ietf.org, ietf@ietf.org
Subject: Re: Last Call: 'The APPLICATION/MBOX Media-Type' to Proposed Standard
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
Sender: ietf-bounces@ietf.org
Errors-To: ietf-bounces@ietf.org
X-Spam-Score: 0.1 (/)
X-Scan-Signature: f4c2cf0bccc868e4cc88dace71fb3f44
Content-Transfer-Encoding: 7bit

On 8/17/2004 4:06 PM, John C Klensin wrote:

> In that context, unless I completely misunderstand what is going
> on here, the "...prerequisite to having a half-baked parser..."
> assertion borders on the silly.   Take the example to which Tony
> has been pointing.  Apparently the Solaris version of an mbox
> format is well-documented and based on content length
> information rather than key strings.

... it is well-defined for writing, but AFAIK the number of reliable
clients that depend on the presence of such data are zero.

This is the point really: Given that the database structure really is
undefined, and that any number of clients may have accessed the database
via ~NFS or via different mailers on the same local client (Pine and KMail
and ...), a half-baked mailer that wants to reliably read mbox data of any
kind will know better than to rely on Content-Length in isolation, and
will have to validate assumptions and check the clues before doing
anything substantive. This includes checking for EOL syntaxes, but also
includes things like default charsets for untagged data, default domains,
and so forth.

> Given that model, the key to an mbox format isn't the content of
> the blobs, it is the system used to decompose an mbox into a
> blob collection.

That's a function of the content parser and whatever task it is trying to
perform. The purpose of importing an mbox database into an IMAP store (as
is common with things like downloadable archives) is going to have several
different considerations and requirements than simple searching and
printing (as with local archives generated by ~Mozilla locally), but both
of them can be satisfied through basic sniff tests and local defaults.

Most of the spec work is appropriate and useful and arguably necessary for
*writing* to mbox files, especially if you are appending an existing file,
but even then it takes few smarts to figure out that you should write to
the existing content instead of druidic rules. Having said that, I'd love
to see a canonical authoritative format which could be referenced for such
purposes (not for transfers, but for parsers to use when they go about
generating content).

> Instead, you are making a case that this registration should be
> a family of, e.g.,
>   application/mbox-solaris-v5-and-later
>   application/mbox-sendmail-v2-v4

I hope not; unrecognized types match to application/octet-stream so many
types that nobody implements won't get us very far either.

-- 
Eric A. Hall                                        http://www.ehsco.com/
Internet Core Protocols          http://www.oreilly.com/catalog/coreprot/

_______________________________________________
Ietf mailing list
Ietf@ietf.org
https://www1.ietf.org/mailman/listinfo/ietf