
From tss@iki.fi  Sun Sep  6 14:13:32 2009
Return-Path: <tss@iki.fi>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 720DE3A6A43 for <lemonade@core3.amsl.com>; Sun,  6 Sep 2009 14:13:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.584
X-Spam-Level: 
X-Spam-Status: No, score=-4.584 tagged_above=-999 required=5 tests=[AWL=-0.585, BAYES_50=0.001, 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 uMMn6AcjPtNU for <lemonade@core3.amsl.com>; Sun,  6 Sep 2009 14:13:31 -0700 (PDT)
Received: from dovecot.org (dovecot.org [82.118.211.50]) by core3.amsl.com (Postfix) with ESMTP id A44E13A683F for <lemonade@ietf.org>; Sun,  6 Sep 2009 14:13:31 -0700 (PDT)
Received: from [10.4.192.26] (unknown [74.205.24.229]) by dovecot.org (Postfix) with ESMTP id 4B8AAFA8A06 for <lemonade@ietf.org>; Mon,  7 Sep 2009 00:13:55 +0300 (EEST)
From: Timo Sirainen <tss@iki.fi>
To: lemonade@ietf.org
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hFlN/pHEc6nWYqqzkiQQ"
Date: Sun, 06 Sep 2009 17:13:53 -0400
Message-Id: <1252271633.4794.466.camel@timo-desktop>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Subject: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Sep 2009 21:13:32 -0000

--=-hFlN/pHEc6nWYqqzkiQQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

=46rom RFC 3501:

resp-text       =3D ["[" resp-text-code "]" SP] text
text            =3D 1*TEXT-CHAR

So there should always be some text if resp-text-code is used. But when
looking at examples in CONDSTORE and QRESYNC RFCs you can see that there
is no text:

S: * OK [HIGHESTMODSEQ 715194045007]
S: * OK [CLOSED]

I guess these examples are violating RFC 3501 and should be changed?


--=-hFlN/pHEc6nWYqqzkiQQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkqkJhEACgkQyUhSUUBVisk9gACfdItZFyOkTAVECqOhPNo6XEoH
ihUAniUOkGfouC4RHMqEuKeFZZjxlo5C
=MMKi
-----END PGP SIGNATURE-----

--=-hFlN/pHEc6nWYqqzkiQQ--


From dave@cridland.net  Mon Sep  7 05:48:35 2009
Return-Path: <dave@cridland.net>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 161AE28C141 for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 05:48:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.531
X-Spam-Level: 
X-Spam-Status: No, score=-2.531 tagged_above=-999 required=5 tests=[AWL=0.068,  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 QLmIYLWWIGEQ for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 05:48:34 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id CF26228C13C for <lemonade@ietf.org>; Mon,  7 Sep 2009 05:48:33 -0700 (PDT)
Received: from puncture ((unknown) [217.155.137.60]) by peirce.dave.cridland.net (submission) via TCP with ESMTPA id <SqUBOQAgPSkj@peirce.dave.cridland.net>; Mon, 7 Sep 2009 13:48:57 +0100
X-SMTP-Protocol-Errors: NORDNS
References: <1252271633.4794.466.camel@timo-desktop>
In-Reply-To: <1252271633.4794.466.camel@timo-desktop>
MIME-Version: 1.0
Message-Id: <3930.1252327740.024107@puncture>
Date: Mon, 07 Sep 2009 13:49:00 +0100
From: Dave Cridland <dave@cridland.net>
To: Timo Sirainen <tss@iki.fi>, Enhancements to Internet email to support diverse service enivronments <lemonade@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 12:48:35 -0000

On Sun Sep  6 22:13:53 2009, Timo Sirainen wrote:
> From RFC 3501:
> 
> resp-text       = ["[" resp-text-code "]" SP] text
> text            = 1*TEXT-CHAR
> 
> So there should always be some text if resp-text-code is used. But  
> when
> looking at examples in CONDSTORE and QRESYNC RFCs you can see that  
> there
> is no text:
> 
> S: * OK [HIGHESTMODSEQ 715194045007]
> S: * OK [CLOSED]
> 
> I guess these examples are violating RFC 3501 and should be changed?
> 
> 
Hmmm. I'd say that RFC 3501 was broken, then.

There's no reason to require text, there, after all, and (as far as I  
can tell) all implementations deal with missing text.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From dkarp@zimbra.com  Mon Sep  7 07:42:40 2009
Return-Path: <dkarp@zimbra.com>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 87AD13A6979 for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 07:42:40 -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 TE1IevtI3Hwy for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 07:42:39 -0700 (PDT)
Received: from mta02.zimbra.com (mta02.zimbra.com [207.126.229.144]) by core3.amsl.com (Postfix) with ESMTP id A83C03A6988 for <lemonade@ietf.org>; Mon,  7 Sep 2009 07:42:39 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mta02.zimbra.com (Postfix) with ESMTP id DC12FC78124; Mon,  7 Sep 2009 07:43:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at zimbra.com
Received: from mta02.zimbra.com ([127.0.0.1]) by localhost (mta02.zimbra.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ENgo-p5cZ9SB; Mon,  7 Sep 2009 07:43:07 -0700 (PDT)
Received: from dogfood.zimbra.com (dogfood.zimbra.com [207.126.229.140]) by mta02.zimbra.com (Postfix) with ESMTP id 69B9EC78123; Mon,  7 Sep 2009 07:43:07 -0700 (PDT)
Date: Mon, 7 Sep 2009 07:43:07 -0700 (PDT)
From: Dan Karp <dkarp@zimbra.com>
To: Dave Cridland <dave@cridland.net>
Message-ID: <1076476133.43171252334587257.JavaMail.root@dogfood.zimbra.com>
In-Reply-To: <43737283.43131252333858837.JavaMail.root@dogfood.zimbra.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Mailer: Zimbra 6.0.0_GA_1802.RHEL4_64 (ZimbraWebClient - SAF3 (Mac)/6.0.0_GA_1802.RHEL4_64)
Cc: Enhancements to Internet email to support diverse service enivronments <lemonade@ietf.org>, Timo Sirainen <tss@iki.fi>
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 14:42:40 -0000

> > resp-text       = ["[" resp-text-code "]" SP] text
> > text            = 1*TEXT-CHAR
> 
> > So there should always be some text if resp-text-code is used.
> 
> Hmmm. I'd say that RFC 3501 was broken, then.
> There's no reason to require text, there, after all, and (as far as I 
> can tell) all implementations deal with missing text.

The RFC requires it, and there are indeed some clients that cannot
retrieve mail from noncompliant servers.  PGP Desktop 9.7.0 is one.

(Why do I know this?  Somebody opened this bug against us back in
early 2008: http://bugzilla.zimbra.com/show_bug.cgi?id=23485)

From barryleiba.mailing.lists@gmail.com  Mon Sep  7 08:22:43 2009
Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B152E3A69DD for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 08:22:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.469
X-Spam-Level: 
X-Spam-Status: No, score=-2.469 tagged_above=-999 required=5 tests=[AWL=0.130,  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 6d+oAe4kOobh for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 08:22:43 -0700 (PDT)
Received: from mail-yw0-f203.google.com (mail-yw0-f203.google.com [209.85.211.203]) by core3.amsl.com (Postfix) with ESMTP id E69A13A69C1 for <lemonade@ietf.org>; Mon,  7 Sep 2009 08:22:42 -0700 (PDT)
Received: by ywh41 with SMTP id 41so2470671ywh.31 for <lemonade@ietf.org>; Mon, 07 Sep 2009 08:23:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=c/J7y+TyNp7ZYkGVl9BjlmropzpbzWXW7WF5Rl6N1Y8=; b=Qbn2kWoeH87HuaZYszGTTzvn74JF5adbT9x/vcyXTKkxnrull9O2lNzbEDUSXAVNb+ JFbzYB7dNeRNUmC3gcSkATDhKGG4STzK/H1CNWn6VNMnu/F0DyWEXPL6qphkur7q/ggt J8JjBF+Pz8ZNb3qgjGaXFPQDJz34toLiTxEd4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=WwYhETtNhLQY6qzmMaoFOKqW7lhK9M6Xu5xDz4ckWTJ82Rh3evRnqEH5EVTLjrbcms c6yxQoWXv1mmRQlbq1u0taDHRVRrwlk+YxGrV6sCG1/vnbyX3Z3ODfAIeMpoB6DzEhon F7mMNOjiWkEHmpKF8FgA17k1PyQI943Zhuc4Q=
MIME-Version: 1.0
Received: by 10.150.207.14 with SMTP id e14mr22803423ybg.149.1252336989624;  Mon, 07 Sep 2009 08:23:09 -0700 (PDT)
In-Reply-To: <3930.1252327740.024107@puncture>
References: <1252271633.4794.466.camel@timo-desktop> <3930.1252327740.024107@puncture>
Date: Mon, 7 Sep 2009 11:23:09 -0400
Message-ID: <6c9fcc2a0909070823k61db277bye5c5745ab3e40b3a@mail.gmail.com>
From: Barry Leiba <barryleiba.mailing.lists@gmail.com>
To: Dave Cridland <dave@cridland.net>
Content-Type: text/plain; charset=ISO-8859-1
Cc: Enhancements to Internet email to support diverse service enivronments <lemonade@ietf.org>, Timo Sirainen <tss@iki.fi>
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: barryleiba@computer.org
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 15:22:43 -0000

> Hmmm. I'd say that RFC 3501 was broken, then.

You might say that, but it's come up before.  If it's broken, it's
broken as designed.

> There's no reason to require text, there, after all, and (as far as I can
> tell) all implementations deal with missing text.

There's no reason to require it, but the spec DOES require it.  Unless
we can get consensus to change that in a rev of 3501, we need to be
consistent with it.  We can't assume that all implementations ignore a
requirement of the spec, and, as Dan says, there's at least one that
doesn't.

Barry

From mrc+ietf@panda.com  Mon Sep  7 09:55:30 2009
Return-Path: <mrc+ietf@panda.com>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 83B323A67F6 for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 09:55:30 -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 JdfyO03N2LFE for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 09:55:29 -0700 (PDT)
Received: from Panda.COM (panda.com [206.124.149.114]) by core3.amsl.com (Postfix) with ESMTP id 87B253A67E7 for <lemonade@ietf.org>; Mon,  7 Sep 2009 09:55:29 -0700 (PDT)
Received: from hsinghsing.panda.com mrcrispin@Panda.COM [206.124.149.116] by Panda.COM with M+ Extreme Email Engine 2008.3.internal via secured & encrypted transport (TLS); Mon, 07 Sep 2009 09:55:51 -0700
X-MailFrom: mrc+ietf@panda.com
Date: Mon, 7 Sep 2009 09:55:49 -0700 (PDT)
From: Mark Crispin <mrc+ietf@panda.com>
Sender: mrc@hsinghsing.panda.com
To: barryleiba@computer.org
In-Reply-To: <6c9fcc2a0909070823k61db277bye5c5745ab3e40b3a@mail.gmail.com>
Message-ID: <alpine.OSX.2.00.0909070949420.321@hsinghsing.panda.com>
References: <1252271633.4794.466.camel@timo-desktop> <3930.1252327740.024107@puncture> <6c9fcc2a0909070823k61db277bye5c5745ab3e40b3a@mail.gmail.com>
User-Agent: Alpine 2.00 (OSX 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
Cc: Enhancements to Internet email to support diverse service enivronments <lemonade@ietf.org>, Timo Sirainen <tss@iki.fi>
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 16:55:30 -0000

On Mon, 7 Sep 2009, Barry Leiba wrote:
> There's no reason to require it,

In your opinion.  Contrary opinions exist.

> but the spec DOES require it.

Correct

> Unless
> we can get consensus to change that in a rev of 3501, we need to be
> consistent with it.

Let me guess.  [...] will write up yet another IMAP extension -- that 
nobody will ever implement -- to have an ENABLE option to quell the text.

> We can't assume that all implementations ignore a
> requirement of the spec, and, as Dan says, there's at least one that
> doesn't.

More than one.

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

From cking@mumbo.ca  Mon Sep  7 14:19:39 2009
Return-Path: <cking@mumbo.ca>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E4B3B28C107 for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 14:19:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 8sV2VFwt3Kbo for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 14:19:39 -0700 (PDT)
Received: from renoir.mumbo.ca (renoir.mumbo.ca [67.223.232.134]) by core3.amsl.com (Postfix) with ESMTP id 4967B28C1EF for <lemonade@ietf.org>; Mon,  7 Sep 2009 14:19:39 -0700 (PDT)
Received: from [192.168.1.15] (S0106001b63f2007e.gv.shawcable.net [24.69.175.15]) by renoir.mumbo.ca (Postfix) with ESMTPA id 9D2A550018; Mon,  7 Sep 2009 14:20:07 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1075.2)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
From: Curtis King <cking@mumbo.ca>
In-Reply-To: <1252271633.4794.466.camel@timo-desktop>
Date: Mon, 7 Sep 2009 14:20:07 -0700
Content-Transfer-Encoding: 7bit
Message-Id: <C5518346-AC8D-47BD-A6EE-59BE8139745D@mumbo.ca>
References: <1252271633.4794.466.camel@timo-desktop>
To: Timo Sirainen <tss@iki.fi>
X-Mailer: Apple Mail (2.1075.2)
Cc: lemonade@ietf.org
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 21:19:40 -0000

On 2009-09-06, at 2:13 PM, Timo Sirainen wrote:

> From RFC 3501:
>
> resp-text       = ["[" resp-text-code "]" SP] text
> text            = 1*TEXT-CHAR
>
> So there should always be some text if resp-text-code is used. But  
> when
> looking at examples in CONDSTORE and QRESYNC RFCs you can see that  
> there
> is no text:
>
> S: * OK [HIGHESTMODSEQ 715194045007]
> S: * OK [CLOSED]
>
> I guess these examples are violating RFC 3501 and should be changed?

You can't see the text which is a single SP ;-) So, the examples are  
correct just not obvious.

ck


From tss@iki.fi  Mon Sep  7 14:25:04 2009
Return-Path: <tss@iki.fi>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7017528C15D for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 14:25:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[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 nsDDToUSBHyr for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 14:25:03 -0700 (PDT)
Received: from dovecot.org (dovecot.org [82.118.211.50]) by core3.amsl.com (Postfix) with ESMTP id A11B43A6AC4 for <lemonade@ietf.org>; Mon,  7 Sep 2009 14:25:03 -0700 (PDT)
Received: from [192.168.15.2] (c-24-127-39-135.hsd1.va.comcast.net [24.127.39.135]) by dovecot.org (Postfix) with ESMTP id 9C1E5FA8A0B; Tue,  8 Sep 2009 00:25:29 +0300 (EEST)
Message-Id: <BD64306D-6A73-4EEC-A7C7-534E55730E19@iki.fi>
From: Timo Sirainen <tss@iki.fi>
To: Curtis King <cking@mumbo.ca>
In-Reply-To: <C5518346-AC8D-47BD-A6EE-59BE8139745D@mumbo.ca>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Mon, 7 Sep 2009 17:25:27 -0400
References: <1252271633.4794.466.camel@timo-desktop> <C5518346-AC8D-47BD-A6EE-59BE8139745D@mumbo.ca>
X-Mailer: Apple Mail (2.935.3)
Cc: lemonade@ietf.org
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 21:25:04 -0000

On Sep 7, 2009, at 5:20 PM, Curtis King wrote:

>> From RFC 3501:
>>
>> resp-text       = ["[" resp-text-code "]" SP] text
>> text            = 1*TEXT-CHAR
>>
>> So there should always be some text if resp-text-code is used. But  
>> when
>> looking at examples in CONDSTORE and QRESYNC RFCs you can see that  
>> there
>> is no text:
>>
>> S: * OK [HIGHESTMODSEQ 715194045007]
>> S: * OK [CLOSED]
>>
>> I guess these examples are violating RFC 3501 and should be changed?
>
> You can't see the text which is a single SP ;-) So, the examples are  
> correct just not obvious.

No, there also should have been at least one TEXT-CHAR after the space.

From cking@mumbo.ca  Mon Sep  7 14:47:20 2009
Return-Path: <cking@mumbo.ca>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BD4CE3A69AE for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 14:47:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level: 
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 O-7GulPOUQES for <lemonade@core3.amsl.com>; Mon,  7 Sep 2009 14:47:20 -0700 (PDT)
Received: from renoir.mumbo.ca (renoir.mumbo.ca [67.223.232.134]) by core3.amsl.com (Postfix) with ESMTP id 2DFC13A689A for <lemonade@ietf.org>; Mon,  7 Sep 2009 14:47:20 -0700 (PDT)
Received: from [192.168.1.15] (S0106001b63f2007e.gv.shawcable.net [24.69.175.15]) by renoir.mumbo.ca (Postfix) with ESMTPA id 1798150018; Mon,  7 Sep 2009 14:47:49 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1075.2)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
From: Curtis King <cking@mumbo.ca>
In-Reply-To: <BD64306D-6A73-4EEC-A7C7-534E55730E19@iki.fi>
Date: Mon, 7 Sep 2009 14:47:48 -0700
Content-Transfer-Encoding: 7bit
Message-Id: <73B0F44B-EA7E-46F9-BF23-505B25A5DFF7@mumbo.ca>
References: <1252271633.4794.466.camel@timo-desktop> <C5518346-AC8D-47BD-A6EE-59BE8139745D@mumbo.ca> <BD64306D-6A73-4EEC-A7C7-534E55730E19@iki.fi>
To: Timo Sirainen <tss@iki.fi>
X-Mailer: Apple Mail (2.1075.2)
Cc: lemonade@ietf.org
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 21:47:20 -0000

On 2009-09-07, at 2:25 PM, Timo Sirainen wrote:

> On Sep 7, 2009, at 5:20 PM, Curtis King wrote:
>
>>> From RFC 3501:
>>>
>>> resp-text       = ["[" resp-text-code "]" SP] text
>>> text            = 1*TEXT-CHAR
>>>
>>> So there should always be some text if resp-text-code is used. But  
>>> when
>>> looking at examples in CONDSTORE and QRESYNC RFCs you can see that  
>>> there
>>> is no text:
>>>
>>> S: * OK [HIGHESTMODSEQ 715194045007]
>>> S: * OK [CLOSED]
>>>
>>> I guess these examples are violating RFC 3501 and should be changed?
>>
>> You can't see the text which is a single SP ;-) So, the examples  
>> are correct just not obvious.
>
> No, there also should have been at least one TEXT-CHAR after the  
> space.

I might be wrong as I'm no ABNF expert but I'm sure SP is a valid  
CHAR, so

TEXT-CHAR       = <any CHAR except CR and LF>

from RFC 5234

  CHAR           =  %x01-7F

So sending SP SP CRLF is valid protocol according to the ABNF. The  
example would look like,

* OK [CLOSED]  \r\n

cheers,

ck


From arnt@gulbrandsen.priv.no  Wed Sep  9 06:22:03 2009
Return-Path: <arnt@gulbrandsen.priv.no>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 93FFD3A6C10 for <lemonade@core3.amsl.com>; Wed,  9 Sep 2009 06:22:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.228
X-Spam-Level: 
X-Spam-Status: No, score=-2.228 tagged_above=-999 required=5 tests=[AWL=0.370,  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 mf73OKf9OtdX for <lemonade@core3.amsl.com>; Wed,  9 Sep 2009 06:22:02 -0700 (PDT)
Received: from strange.aox.org (strange.aox.org [80.244.248.170]) by core3.amsl.com (Postfix) with ESMTP id B93373A6B7C for <lemonade@ietf.org>; Wed,  9 Sep 2009 06:22:02 -0700 (PDT)
Received: from fri.gulbrandsen.priv.no (unknown [195.30.37.30]) by strange.aox.org (Postfix) with ESMTP id 92E1FFA0443; Wed,  9 Sep 2009 13:22:33 +0000 (UTC)
Received: from arnt@gulbrandsen.priv.no (HELO lochnagar) by fri.gulbrandsen.priv.no (Archiveopteryx 3.1.0) with esmtp id 1252502424-36277-36276/5/2 (2 recipients); Wed, 9 Sep 2009 15:20:24 +0200
Message-Id: <uiIhEykhBLZz/r2mmE5A2Q.md5@lochnagar>
Date: Wed, 9 Sep 2009 15:19:31 +0200
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: lemonade@ietf.org
References: <1252271633.4794.466.camel@timo-desktop> <3930.1252327740.024107@puncture> <6c9fcc2a0909070823k61db277bye5c5745ab3e40b3a@mail.gmail.com> <alpine.OSX.2.00.0909070949420.321@hsinghsing.panda.com>
In-Reply-To: <alpine.OSX.2.00.0909070949420.321@hsinghsing.panda.com>
Content-Type: text/plain; format=flowed
Mime-Version: 1.0
X-Mailman-Approved-At: Wed, 09 Sep 2009 08:03:23 -0700
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 13:22:03 -0000

1. I strongly suspect that there are clients that require text to be 
there. When the INN NNTP server appeared and sent a single ASCII space 
as text, a good few NNTP clients were surprised. I doubt IMAP client 
authors are more careful.

2. When compression is used, that text turns to just a few bits anyway 
since each particular server usually uses just a few stock phrases. 
Compression seems to be deployed fairly quickly (more via TLS than the 
Lemonade document, fine with me) so the text matters less and less.

Arnt

From cking@mumbo.ca  Wed Sep  9 09:29:36 2009
Return-Path: <cking@mumbo.ca>
X-Original-To: lemonade@core3.amsl.com
Delivered-To: lemonade@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E1533A6863 for <lemonade@core3.amsl.com>; Wed,  9 Sep 2009 09:29:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.521
X-Spam-Level: 
X-Spam-Status: No, score=-1.521 tagged_above=-999 required=5 tests=[AWL=-0.745, BAYES_05=-1.11, IP_NOT_FRIENDLY=0.334]
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 LkIVWQ-fTGUl for <lemonade@core3.amsl.com>; Wed,  9 Sep 2009 09:29:35 -0700 (PDT)
Received: from renoir.mumbo.ca (renoir.mumbo.ca [67.223.232.134]) by core3.amsl.com (Postfix) with ESMTP id AC4CE3A69DC for <lemonade@ietf.org>; Wed,  9 Sep 2009 09:29:35 -0700 (PDT)
Received: from [192.168.1.15] (S0106001b63f2007e.gv.shawcable.net [24.69.175.15]) by renoir.mumbo.ca (Postfix) with ESMTPA id D30AB50016; Wed,  9 Sep 2009 09:30:08 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1075.2)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
From: Curtis King <cking@mumbo.ca>
In-Reply-To: <uiIhEykhBLZz/r2mmE5A2Q.md5@lochnagar>
Date: Wed, 9 Sep 2009 09:30:08 -0700
Content-Transfer-Encoding: 7bit
Message-Id: <3D096D64-B258-4026-9D3C-40958EF45C95@mumbo.ca>
References: <1252271633.4794.466.camel@timo-desktop> <3930.1252327740.024107@puncture> <6c9fcc2a0909070823k61db277bye5c5745ab3e40b3a@mail.gmail.com> <alpine.OSX.2.00.0909070949420.321@hsinghsing.panda.com> <uiIhEykhBLZz/r2mmE5A2Q.md5@lochnagar>
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
X-Mailer: Apple Mail (2.1075.2)
Cc: lemonade@ietf.org
Subject: Re: [lemonade] Lack of text after resp-text-code
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/lemonade>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 16:29:36 -0000

On 2009-09-09, at 6:19 AM, Arnt Gulbrandsen wrote:

> 1. I strongly suspect that there are clients that require text to be  
> there. When the INN NNTP server appeared and sent a single ASCII  
> space as text, a good few NNTP clients were surprised. I doubt IMAP  
> client authors are more careful.

It's allowed by the ABNF and this whole topic was covered a few years  
ago.

ck

