Re: [Ltru] Re: [EAI] New draft for allowing UTF-8 in SMTP responses
Kristin Hubner <kristin.hubner@sun.com> Wed, 23 August 2006 18:54 UTC
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1GFxs9-00088d-FT; Wed, 23 Aug 2006 14:54:41 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1GFxNl-0002k9-Ew; Wed, 23 Aug 2006 14:23:17 -0400
Received: from brmea-mail-3.sun.com ([192.18.98.34]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1GFxNg-0003UQ-Vi; Wed, 23 Aug 2006 14:23:17 -0400
Received: from sfbaymail2sca.sfbay.sun.com ([129.145.155.42]) by brmea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id k7NIN8HX028174; Wed, 23 Aug 2006 12:23:09 -0600 (MDT)
Received: from we-gotmail.red.iplanet.com (gotmail-1.red.iplanet.com [192.18.73.251]) by sfbaymail2sca.sfbay.sun.com (8.13.6+Sun/8.12.10/ENSMAIL,v2.2) with ESMTP id k7NIN7pf000162; Wed, 23 Aug 2006 11:23:08 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; charset="US-ASCII"; format="flowed"
Received: from [10.30.0.30] (vpn-129-150-24-217.SFBay.Sun.COM [129.150.24.217]) by we-gotmail.red.iplanet.com (Sun Java(tm) System Messaging Server 6.3-0.08 (built Jun 8 2006)) with ESMTPSA id <0J4G00G2BR2IWN00@we-gotmail.red.iplanet.com>; Wed, 23 Aug 2006 11:23:07 -0700 (PDT)
In-reply-to: <44EC3A45.90201@alvestrand.no>
References: <44E09667.8070704@isode.com> <6.0.0.20.2.20060818150743.097d4ec0@localhost> <Pine.LNX.4.64.0608211251060.5633@hermes-2.csi.cam.ac.uk> <003401c6c54d$18765640$6501a8c0@oemcomputer> <6AD3D4FD1D4C386BE716C69C@p3.JCK.COM> <44EC3A45.90201@alvestrand.no>
Message-id: <6bb05ca80eb2f8d9e22f86aa5fc9b7c5@sun.com>
From: Kristin Hubner <kristin.hubner@sun.com>
Subject: Re: [Ltru] Re: [EAI] New draft for allowing UTF-8 in SMTP responses
Date: Wed, 23 Aug 2006 11:22:59 -0700
To: Harald Alvestrand <harald@alvestrand.no>
X-Mailer: Apple Mail (2.624)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3a4bc66230659131057bb68ed51598f8
X-Mailman-Approved-At: Wed, 23 Aug 2006 14:54:40 -0400
Cc: LTRU Working Group <ltru@ietf.org>, John C Klensin <klensin@jck.com>, ima@ietf.org
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
Errors-To: ltru-bounces@ietf.org
On Aug 23, 2006, at 4:21 AM, Harald Alvestrand wrote: >> >> The issue of making the text of SMTP responses >> language-appropriate has been recognized since RFC 821 was >> written. As with many other Internet protocols, the most >> effective model is to use a single form on the wire and then >> perform translations (of character sets, terminal information, >> formats, and, yes, languages) at the endpoints. The "rely on >> the codes" requirement of 821 was, and is, part of that concern. >> When the codes proved inadequate in practice, we extended the >> codes, which was entirely consistent with that general model. >> >> If a user needs to look at an SMTP reply message directly, then >> I suggest that either there is a debugging case in action or the >> relevant MUA is broken. Debugging cases are easier with more >> uniformity and simplicity, not more options. >> > just because I have some available, here are some examples of SMTP > error codes... > > > | SMTP error in RCPT TO: 553 '<@>' <n5ial@n5ial> not matched: (ERR | > | Error in RCPT TO: 550 5.1.1 unknown or illegal alias: @ (MX) | > | Error in RCPT TO: 501 5.7.1 This system is not configured to rel | > | Connect(raw) failed: Connection refused | > | 5.1.1 (Unknown user): QMail; 550 <brandl@htu.tu-graz.ac.at>... U | > | Error in RCPT TO: 550 Sorry, no mailbox here by that name. (#5.1 | > | Error in RCPT TO: 554 5.0.0 Mail to ace3 is not permitted (MX) | > | Error in RCPT TO: 550 5.1.1 <@>... email address lookup in domai | > | Error in RCPT TO: 553 5.3.0 <@>... Unknown user jwessel@staff.ui | > | 5.1.1 (Unknown user): QMail; 550 <sn@plato.chemietechnik.uni-dor | > | Error in RCPT TO: 550 5.7.1 Unable to relay for @ (MX) | > | Error in RCPT TO: 554 Mail for @ rejected for policy reasons. (M | > | RELAY problem: 550 5.7.1 <@>... Relaying denied (MX) | > | Error in RCPT TO: 553 sorry, that domain isn't in my list of all | > | Error in RCPT TO: 554 5.7.1 <@>... User unknown (MX) | > > <@> is an abbreviation for "the original email address was here". > These are truncated to 64 chars. > > the important points are: > > - a lot of servers return quite different errors with the same error > code > - the servers try to return info that's useful for the sender, not for > the relay agent > > Query: Has anyone seen a production piece of software that tries to > decode the extendedstatuscodes as text for display to the users? > > Harald I'm not sure that this is the sort of example you had in mind, as this is at the MTA level, not the MUA level...but we added at it the MTA level to partially make up for the current dearth of such "localizing SMTP extendedstatuscode" support at the MUA level. The Sun JES MS MTA has options that for DSNs generated by the MTA, sites can specify their own choice (in their own choice of language and charset -- to correspond to their choice of language and charset for the entire first/human-readable portion of the DSN) an additional text string to be reported corresponding to each extendedstatuscode. That is, when the MTA is generating a DSN (based on, say, an SMTP rejection from a remote SMTP server), the DSN can include an optional site-specified "interpretation" of the extendedstatuscode in addition to the actual SMTP rejection code and text. This will then be included in the first (human readable) portion of the multipart/report. That is, a site could set 5.1.1=<localized-string> 5.1.2=<another-localized-string> etc., (actually, they can set a bunch of such options, one set for each language/charset combination for which they wish such special support) and then when the MTA generates a DSN reporting on encountering such an extended code, the MTA will include the site's localized string, as well as the actual "original" text (if any) issued by the remote SMTP server in the human-readable first portion of the DSN. This option has been used by some sites, though probably not many. As Harald Alvestrand observed, since the current situation is that a single extendedstatuscode will be used by different servers to report various (though "related" in being the same RFC 1893 category) errors, the general "interpretation" you can make for a particular extendedstatuscode currently tends towards the vague -- essentially a localized version of the category as defined in RFC 1893. Regards, Kristin kristin.hubner@sun.com > > > _______________________________________________ > Ltru mailing list > Ltru@ietf.org > https://www1.ietf.org/mailman/listinfo/ltru _______________________________________________ Ltru mailing list Ltru@ietf.org https://www1.ietf.org/mailman/listinfo/ltru
- [Ltru] Re: [EAI] New draft for allowing UTF-8 in … Martin Duerst
- [Ltru] Re: [EAI] New draft for allowing UTF-8 in … Doug Ewell
- [Ltru] Re: [EAI] New draft for allowing UTF-8 in … Tony Finch
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Randy Presuhn
- [Ltru] Re: [EAI] New draft for allowing UTF-8 in … Alexey Melnikov
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… John C Klensin
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Addison Phillips
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… John C Klensin
- [Ltru] Re: [EAI] New draft for allowing UTF-8 in … Doug Ewell
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Harald Alvestrand
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Tony Finch
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Kristin Hubner
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Ned Freed
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Martin Duerst
- [Ltru] Re: [EAI] New draft for allowing UTF-8 in … Frank Ellermann
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Martin Duerst
- [Ltru] Re: [EAI] New draft for allowing UTF-8 inS… Frank Ellermann
- [Ltru] Re: [EAI] New draft for allowing UTF-8 in … Frank Ellermann
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Charles Lindsey
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Alexey Melnikov
- Re: [Ltru] Re: [EAI] New draft for allowing UTF-8… Alexey Melnikov