From imap5-bounces@ietf.org  Tue Oct 21 07:55:14 2008
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 1117C3A68BF;
	Tue, 21 Oct 2008 07:55:14 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id B2CBB3A68BF
	for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 07:55:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Izoc3yGB1rxt for <imap5@core3.amsl.com>;
	Tue, 21 Oct 2008 07:55:11 -0700 (PDT)
Received: from kontorsmtp.b-one.net (kontorsmtp.b-one.net [195.47.247.217])
	by core3.amsl.com (Postfix) with ESMTP id 3E7BB3A6832
	for <imap5@ietf.org>; Tue, 21 Oct 2008 07:55:08 -0700 (PDT)
Received: from [192.168.44.103] (x1-6-00-0f-66-c7-92-26.k358.webspeed.dk
	[80.167.71.239])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by kontorsmtp.b-one.net (Postfix) with ESMTP id B95F6D317245
	for <imap5@ietf.org>; Tue, 21 Oct 2008 14:55:49 +0000 (UTC)
Message-ID: <48FDED75.9050703@one.com>
Date: Tue, 21 Oct 2008 16:55:49 +0200
From: Peter Mogensen <apm@one.com>
User-Agent: Thunderbird 2.0.0.17 (X11/20080925)
MIME-Version: 1.0
To: imap5@ietf.org
Subject: [imap5] Standardized  error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org

Hi,

I'm really looking forward to IMAP5, and I think I have only one wish 
which I really care about (for now :) ):

Error reporting.

I've been doing a multi-lingual client for some time now and the stuff 
we get back from the IMAP-server is basically useless.

The way error reporting is defined in section 7.1.2-7.1.3 of RFC3501 is 
a problem in todays multi-lingual world. We can't use the human-readable 
text after NO and BAD. Not all users are english and often the 
description is non of their business, but for the sysadm.
But we can't use the string for anything programmatic because it differs 
from server to server. All you have is "NO" and "BAD", which gives you 
not much for choosing an error-message to present to the user.

Personally I would prefer a pre-condition/post-condition error-reporting 
with well defined codes for violation , - like CalDAV (rfc4791) - 
without the XML obviously.

regards,
Peter
_______________________________________________
imap5 mailing list
imap5@ietf.org
https://www.ietf.org/mailman/listinfo/imap5


From imap5-bounces@ietf.org  Tue Oct 21 07:56:34 2008
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 58B193A6A44;
	Tue, 21 Oct 2008 07:56:34 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 2B3313A6A44
	for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 07:56:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id it4oCU0mXNZ2 for <imap5@core3.amsl.com>;
	Tue, 21 Oct 2008 07:56:32 -0700 (PDT)
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30])
	by core3.amsl.com (Postfix) with ESMTP id 2B1E53A6916
	for <imap5@ietf.org>; Tue, 21 Oct 2008 07:56:32 -0700 (PDT)
Received: from kalyani.oryx.com (localhost.oryx.com [127.0.0.1])
	by kalyani.oryx.com (Postfix) with ESMTP id 6FCC94AC7E;
	Tue, 21 Oct 2008 16:57:20 +0200 (CEST)
Received: from arnt@oryx.com (client address 195.30.37.40) (HELO
	lochnagar.oryx.com) by kalyani.oryx.com (Archiveopteryx 3.1.0) with
	esmtp id 1224601040-66249-6922 (2 recipients); Tue, 21 Oct 2008
	16:57:20 +0200
Message-Id: <U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com>
Date: Tue, 21 Oct 2008 16:55:55 +0200
From: Arnt Gulbrandsen <arnt@oryx.com>
To: Peter Mogensen <apm@one.com>
References: <48FDED75.9050703@one.com>
In-Reply-To: <48FDED75.9050703@one.com>
Mime-Version: 1.0
Cc: imap5@ietf.org
Subject: Re: [imap5] Standardized error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org

Peter Mogensen writes:
> Hi,
>
> I'm really looking forward to IMAP5, and I think I have only one wish 
> which I really care about (for now :) ):
>
> Error reporting.
>
> I've been doing a multi-lingual client for some time now and the stuff 
> we get back from the IMAP-server is basically useless.

Yes.

> The way error reporting is defined in section 7.1.2-7.1.3 of RFC3501 
> is a problem in todays multi-lingual world. We can't use the 
> human-readable text after NO and BAD. Not all users are english and 
> often the description is non of their business, but for the sysadm.
> But we can't use the string for anything programmatic because it 
> differs from server to server. All you have is "NO" and "BAD", which 
> gives you not much for choosing an error-message to present to the 
> user.

Please read RFC 5255 and draft-gulbrandsen-imap-response-codes, and see 
what you think.

Arnt
_______________________________________________
imap5 mailing list
imap5@ietf.org
https://www.ietf.org/mailman/listinfo/imap5


From imap5-bounces@ietf.org  Tue Oct 21 10:26:07 2008
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id D48333A6A59;
	Tue, 21 Oct 2008 10:26:07 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4CDCE3A6A42
	for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 10:26:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id d6bVZq8cYajC for <imap5@core3.amsl.com>;
	Tue, 21 Oct 2008 10:26:05 -0700 (PDT)
Received: from kontorsmtp.b-one.net (kontorsmtp.b-one.net [195.47.247.217])
	by core3.amsl.com (Postfix) with ESMTP id 8731D3A6B80
	for <imap5@ietf.org>; Tue, 21 Oct 2008 10:26:05 -0700 (PDT)
Received: from [192.168.44.103] (x1-6-00-0f-66-c7-92-26.k358.webspeed.dk
	[80.167.71.239])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by kontorsmtp.b-one.net (Postfix) with ESMTP id 1F6FBD317245;
	Tue, 21 Oct 2008 17:27:10 +0000 (UTC)
Message-ID: <48FE10EE.1030009@one.com>
Date: Tue, 21 Oct 2008 19:27:10 +0200
From: Peter Mogensen <apm@one.com>
User-Agent: Thunderbird 2.0.0.17 (X11/20080925)
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@oryx.com>
References: <48FDED75.9050703@one.com>
	<U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com>
In-Reply-To: <U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com>
Cc: imap5@ietf.org
Subject: Re: [imap5] Standardized error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org

Arnt Gulbrandsen wrote:
> Please read RFC 5255

Oh... hadn't seen.
It's of course better wrt. i18n than RFC3501, but IMHO it also servers 
to make the matter worse wrt. server-responses not being the same across 
implementations. Now you have several languages for which the response 
could differ differently.

> and draft-gulbrandsen-imap-response-codes, and see 
> what you think.

Better... although I'm not sure it's a good idea to merge error-codes 
and status info (like UNSEEN,UIDNEXT...) into the same namespace.

/Peter

_______________________________________________
imap5 mailing list
imap5@ietf.org
https://www.ietf.org/mailman/listinfo/imap5


From imap5-bounces@ietf.org  Tue Oct 21 10:36:48 2008
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 94E8D3A6B5C;
	Tue, 21 Oct 2008 10:36:48 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id E5BF03A6B85
	for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 10:36:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.424
X-Spam-Level: 
X-Spam-Status: No, score=-6.424 tagged_above=-999 required=5 tests=[AWL=0.175, 
	BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 52kI4i-qgdPw for <imap5@core3.amsl.com>;
	Tue, 21 Oct 2008 10:36:46 -0700 (PDT)
Received: from dovecot.org (dovecot.org [82.118.211.50])
	by core3.amsl.com (Postfix) with ESMTP id 1381D3A6B80
	for <imap5@ietf.org>; Tue, 21 Oct 2008 10:36:46 -0700 (PDT)
Received: from [192.168.10.200] (xdsl-177-118.nblnetworks.fi [217.30.177.118])
	by dovecot.org (Postfix) with ESMTP id D8D1D1647240;
	Tue, 21 Oct 2008 20:37:57 +0300 (EEST)
Message-Id: <9463C111-2B9E-455A-9AE9-5234C893B1D4@iki.fi>
From: Timo Sirainen <tss@iki.fi>
To: Peter Mogensen <apm@one.com>
In-Reply-To: <48FE10EE.1030009@one.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Tue, 21 Oct 2008 20:37:56 +0300
References: <48FDED75.9050703@one.com>
	<U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com>
	<48FE10EE.1030009@one.com>
X-Pgp-Agent: GPGMail d51 (Leopard)
X-Mailer: Apple Mail (2.929.2)
Cc: imap5@ietf.org
Subject: Re: [imap5] Standardized error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1981069686=="
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============1981069686==
Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-32--657142369"
Content-Transfer-Encoding: 7bit

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--Apple-Mail-32--657142369
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit

On Oct 21, 2008, at 8:27 PM, Peter Mogensen wrote:

>> and draft-gulbrandsen-imap-response-codes, and see what you think.
>
> Better... although I'm not sure it's a good idea to merge error- 
> codes and status info (like UNSEEN,UIDNEXT...) into the same  
> namespace.

Hmm. Wonder if this causes problems. For example [EXPUNGEISSUED] can't  
be returned for a STORE UNCHANGEDSINCE that returns [CHANGEDSINCE].  
Perhaps there are other similar issues. But maybe they don't matter.


--Apple-Mail-32--657142369
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkj+E3UACgkQyUhSUUBVisl6qgCeJ8K/6YgJd4k5cCmfWULz0wpr
XxwAoKYOoF77KU8To8lExtCseTF1l6VC
=W30e
-----END PGP SIGNATURE-----

--Apple-Mail-32--657142369--

--===============1981069686==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
imap5 mailing list
imap5@ietf.org
https://www.ietf.org/mailman/listinfo/imap5

--===============1981069686==--


From imap5-bounces@ietf.org  Tue Oct 21 10:50:23 2008
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 423103A6B80;
	Tue, 21 Oct 2008 10:50:23 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 61CDE3A6B52
	for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 10:50:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.565
X-Spam-Level: 
X-Spam-Status: No, score=-2.565 tagged_above=-999 required=5 tests=[AWL=0.033, 
	BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id NLSepaol1CwN for <imap5@core3.amsl.com>;
	Tue, 21 Oct 2008 10:50:21 -0700 (PDT)
Received: from kalyani.oryx.com (kalyani.oryx.com [195.30.37.30])
	by core3.amsl.com (Postfix) with ESMTP id 57D893A6A42
	for <imap5@ietf.org>; Tue, 21 Oct 2008 10:50:21 -0700 (PDT)
Received: from kalyani.oryx.com (localhost.oryx.com [127.0.0.1])
	by kalyani.oryx.com (Postfix) with ESMTP id 65ED04AC84;
	Tue, 21 Oct 2008 19:51:28 +0200 (CEST)
Received: from arnt@oryx.com (client address 195.30.37.40) (HELO
	lochnagar.oryx.com) by kalyani.oryx.com (Archiveopteryx 3.1.0) with
	esmtp id 1224611488-66249-7028 for imap5@ietf.org; Tue, 21 Oct 2008
	19:51:28 +0200
Message-Id: <KeP0bRWAVPqBVVfRf0K+ng.md5@lochnagar.oryx.com>
Date: Tue, 21 Oct 2008 19:50:04 +0200
From: Arnt Gulbrandsen <arnt@oryx.com>
To: imap5@ietf.org
References: <48FDED75.9050703@one.com>
	<U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com>
	<48FE10EE.1030009@one.com>
	<9463C111-2B9E-455A-9AE9-5234C893B1D4@iki.fi>
In-Reply-To: <9463C111-2B9E-455A-9AE9-5234C893B1D4@iki.fi>
Mime-Version: 1.0
Subject: Re: [imap5] Standardized error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org

Timo Sirainen writes:
> On Oct 21, 2008, at 8:27 PM, Peter Mogensen wrote:
>>>  and draft-gulbrandsen-imap-response-codes, and see what you think.
>>
>>  Better... although I'm not sure it's a good idea to merge error-
>>  codes and status info (like UNSEEN,UIDNEXT...) into the same
>>  namespace.
>
> Hmm. Wonder if this causes problems.

It does, but that problem is one we have already and it hasn't been THAT 
painful:

        REFERRAL             RFC 2221
        ALERT                RFC 3501
        BADCHARSET           RFC 3501
        PARSE                RFC 3501
        PERMANENTFLAGS       RFC 3501
        READ-ONLY            RFC 3501
        READ-WRITE           RFC 3501
        TRYCREATE            RFC 3501
        UIDNEXT              RFC 3501
        UIDVALIDITY          RFC 3501
        UNSEEN               RFC 3501
        UNKNOWN-CTE          RFC 3516
        UIDNOTSTICKY         RFC 4315
        APPENDUID            RFC 4315
        COPYUID              RFC 4315
        URLMECH              RFC 4467
        TOOBIG               RFC 4469
        BADURL               RFC 4469
        HIGHESTMODSEQ        RFC 4551
        NOMODSEQ             RFC 4551
        MODIFIED             RFC 4551
        COMPRESSIONACTIVE    RFC 4978
        CLOSED               RFC 5162
        BADCOMPARATOR        RFC 5255
        ANNOTATE TOOBIG      RFC 5257
        ANNOTATE TOOMANY     RFC 5257
        ANNOTATIONS          RFC 5257

I've run into a case where I wanted to return two things (UIDNEXT and an 
error? can't remember).

> For example [EXPUNGEISSUED] can't be returned for a STORE 
> UNCHANGEDSINCE that returns [CHANGEDSINCE].
> Perhaps there are other similar issues. But maybe they don't matter.

I think they matter in principle, but generally you IMAP doesn't both 
return an error and do something at the same time.

Arnt
_______________________________________________
imap5 mailing list
imap5@ietf.org
https://www.ietf.org/mailman/listinfo/imap5


From imap5-bounces@ietf.org  Tue Oct 21 11:30:31 2008
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id F2A453A6985;
	Tue, 21 Oct 2008 11:30:30 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 745583A6985
	for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 11:30:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.855
X-Spam-Level: 
X-Spam-Status: No, score=-101.855 tagged_above=-999 required=5
	tests=[AWL=0.745, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Nv5accBzi16H for <imap5@core3.amsl.com>;
	Tue, 21 Oct 2008 11:30:29 -0700 (PDT)
Received: from blu0-omc3-s28.blu0.hotmail.com (blu0-omc3-s28.blu0.hotmail.com
	[65.55.116.103])
	by core3.amsl.com (Postfix) with ESMTP id 954E23A694D
	for <imap5@ietf.org>; Tue, 21 Oct 2008 11:30:29 -0700 (PDT)
Received: from BLU126-W31 ([65.55.116.73]) by blu0-omc3-s28.blu0.hotmail.com
	with Microsoft SMTPSVC(6.0.3790.3959); 
	Tue, 21 Oct 2008 11:31:21 -0700
Message-ID: <BLU126-W31E2A0D82A7FA34DFC943DB82E0@phx.gbl>
X-Originating-IP: [206.124.149.116]
From: Mark Crispin <markrcrispin@live.com>
To: Peter Mogensen <apm@one.com>, Arnt Gulbrandsen <arnt@oryx.com>
Date: Tue, 21 Oct 2008 11:31:20 -0700
Importance: Normal
In-Reply-To: <48FE10EE.1030009@one.com>
References: <48FDED75.9050703@one.com>
	<U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com>
	<48FE10EE.1030009@one.com>
MIME-Version: 1.0
X-OriginalArrivalTime: 21 Oct 2008 18:31:21.0506 (UTC)
	FILETIME=[372F9820:01C933AB]
Cc: imap5@ietf.org
Subject: Re: [imap5] Standardized error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org


> Oh... hadn't seen.
> It's of course better wrt. i18n than RFC3501, but IMHO it also servers
> to make the matter worse wrt. server-responses not being the same across
> implementations. Now you have several languages for which the response
> could differ differently.

The so-called "human-readable" responses in IMAP are not, and were never,
intended for end users.  They are intended to be recorded into telemetry logs
for the benefit of maintenance personnel.

It is completely wrong-headed to attempt l10n (not, as certain people
misstate, i18n -- the two are not the same) of the "human-readable"
responses in IMAP.  You seem to recognize that fact, which is good.  The
next step is to recognize that "human-readable" responses are the wrong
thing to tweak, and that IMAP has a suitable mechanism for this purpose.

Response codes are the right way to generate information for the end user.
The fact that this question still comes up shows that this is a very difficult
problem.

> Better... although I'm not sure it's a good idea to merge error-codes
> and status info (like UNSEEN,UIDNEXT...) into the same namespace.

There is no clear dichotomy between an "error code" and "status info".
Many IMAP response codes are both.

IMAP's server response schema isn't perfect -- it's 22 years old and has
acquired warts along the way.  NMAPv3 is quite a bit cleaner in that regard.
But the mechanism exists to do as you advocate.
_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008
_______________________________________________
imap5 mailing list
imap5@ietf.org
https://www.ietf.org/mailman/listinfo/imap5


From imap5-bounces@ietf.org  Tue Oct 21 11:37:01 2008
Return-Path: <imap5-bounces@ietf.org>
X-Original-To: imap5-archive@ietf.org
Delivered-To: ietfarch-imap5-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 8754E3A69E3;
	Tue, 21 Oct 2008 11:37:01 -0700 (PDT)
X-Original-To: imap5@core3.amsl.com
Delivered-To: imap5@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
	by core3.amsl.com (Postfix) with ESMTP id 4ABCA3A6B60
	for <imap5@core3.amsl.com>; Tue, 21 Oct 2008 11:37:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32])
	by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id fVZwVcqz5VQ3 for <imap5@core3.amsl.com>;
	Tue, 21 Oct 2008 11:36:59 -0700 (PDT)
Received: from kontorsmtp.b-one.net (kontorsmtp.b-one.net [195.47.247.217])
	by core3.amsl.com (Postfix) with ESMTP id 7626D3A68E1
	for <imap5@ietf.org>; Tue, 21 Oct 2008 11:36:59 -0700 (PDT)
Received: from [192.168.44.103] (x1-6-00-0f-66-c7-92-26.k358.webspeed.dk
	[80.167.71.239])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by kontorsmtp.b-one.net (Postfix) with ESMTP id DA1B6D317245;
	Tue, 21 Oct 2008 18:38:08 +0000 (UTC)
Message-ID: <48FE2191.9030000@one.com>
Date: Tue, 21 Oct 2008 20:38:09 +0200
From: Peter Mogensen <apm@one.com>
User-Agent: Thunderbird 2.0.0.17 (X11/20080925)
MIME-Version: 1.0
To: Mark Crispin <markrcrispin@live.com>
References: <48FDED75.9050703@one.com>	<U/wP4jc/WRmo1cfBxCa2XA.md5@lochnagar.oryx.com>
	<48FE10EE.1030009@one.com>
	<BLU126-W31E2A0D82A7FA34DFC943DB82E0@phx.gbl>
In-Reply-To: <BLU126-W31E2A0D82A7FA34DFC943DB82E0@phx.gbl>
Cc: imap5@ietf.org
Subject: Re: [imap5] Standardized error messages
X-BeenThere: imap5@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Discussion on drastically slimming-down IMAP." <imap5.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/imap5>
List-Post: <mailto:imap5@ietf.org>
List-Help: <mailto:imap5-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/imap5>,
	<mailto:imap5-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: imap5-bounces@ietf.org
Errors-To: imap5-bounces@ietf.org

Mark Crispin wrote:
>> Oh... hadn't seen.
>> It's of course better wrt. i18n than RFC3501, but IMHO it also servers
>> to make the matter worse wrt. server-responses not being the same across
>> implementations. Now you have several languages for which the response
>> could differ differently.
> 
> The so-called "human-readable" responses in IMAP are not, and were never,
> intended for end users.  They are intended to be recorded into telemetry logs
> for the benefit of maintenance personnel.

Sure... that was my hope.
Which still leaves IMAP4 with very poor error-reporting to client programs.

> It is completely wrong-headed to attempt l10n (not, as certain people
> misstate, i18n -- the two are not the same) of the "human-readable"
> responses in IMAP.  You seem to recognize that fact, which is good.  The
> next step is to recognize that "human-readable" responses are the wrong
> thing to tweak, and that IMAP has a suitable mechanism for this purpose.

Yes - I believe that was what I wrote in the initial mail.

> IMAP's server response schema isn't perfect -- it's 22 years old and has
> acquired warts along the way.  NMAPv3 is quite a bit cleaner in that regard.
> But the mechanism exists to do as you advocate.

Great... I haven't read enough about the proposals for IMAP5 yet to 
suggest any way to do it, but I just wanted to bring focus to this 
rather important (IMHO) area.

regards,
Peter

_______________________________________________
imap5 mailing list
imap5@ietf.org
https://www.ietf.org/mailman/listinfo/imap5


