ietf-smtp
[Top] [All Lists]

Re: comments on draft-crocker-email-arch-01

2004-12-24 16:18:05

On Thu December 23 2004 15:04, Tony Finch wrote:

I agree that the 822 message header is uncomfortably stuck doing two jobs,
but I disagree that this implies that the term "envelope" should include
any header fields.

What about the Return-Path header field?  It is explicitly defined
as containing the content of the SMTP MAIL FROM command when an
SMTP receiver makes "final" delivery.  What about RFC 3939
Caller-ID, which is explicitly derived from handling information?
Neither was placed in the message content by the originator;
they are annotations made by transport processes.

I understand that there is a desire to distinguish content
following SMTP DATA from other SMTP command content, but SMTP
itself broke the analogy to postal mail by requiring (e-)mail
handlers to scribble on the message content (Mail-From and
Return-Path fields)[*].  It is desirable to be able to distinguish
end-to-end content (set by author and/or sender and intended
for the recipient(s)) from postmarks and other bits of
scribbling made during transport -- by continuation of the
analogy to postal mail, those postmarks and other notations
are placed on the envelope.  The poster child case for making
the difference clear is the Reply-To field, which is clearly
intended as an end-to-end originator-specified field, but
which some errant transport entities have been known to
scribble upon.

The draft under discussion is about the overall architecture
rather than a nitty-gritty detail peculiar to SMTP
protocol.  From an architectural point of view it is
important to distinguish the end-to-end, author/sender-to-
recipient information from ancillary notations (to
specify who/what may set/read which portions of a message),
and envelope/header/body work well as analogous terms;
the envelope is where transport-related scribbling (including
delivery status notification requests) is placed, the
header contains information set by the author, intended
for the recipient (which usually matches the envelope
instructions for delivery and indication of source, but
need not do so and after submission do not in fact affect
delivery) and is structured, while the body is free-form
content intended for end-to-end use.

The practice of transport processes scribbling envelope-
type markings on the message content (the header) began
with SMTP and is peculiar to SMTP; it was not so with FTP
or MTP, and is not so with UUCP mail transport.  Although
SMTP is certainly an important protocol, I believe we
should not confuse its peculiarities with architectural
principles.


* and that bad practice has been adopted subsequently
by others, unfortunately