Re: [lemonade] Regarding CONDSTORE IMAP extension

Samsung SVL <samsungsvl@yahoo.com> Tue, 03 December 2013 22:21 UTC

Return-Path: <samsungsvl@yahoo.com>
X-Original-To: lemonade@ietfa.amsl.com
Delivered-To: lemonade@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E6C691AE181 for <lemonade@ietfa.amsl.com>; Tue, 3 Dec 2013 14:21:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O-b4wrR36hY1 for <lemonade@ietfa.amsl.com>; Tue, 3 Dec 2013 14:21:28 -0800 (PST)
Received: from nm41-vm9.bullet.mail.bf1.yahoo.com (nm41-vm9.bullet.mail.bf1.yahoo.com [216.109.114.138]) by ietfa.amsl.com (Postfix) with SMTP id 9EB941AE1A6 for <lemonade@ietf.org>; Tue, 3 Dec 2013 14:21:20 -0800 (PST)
Received: from [66.196.81.173] by nm41.bullet.mail.bf1.yahoo.com with NNFMP; 03 Dec 2013 22:21:17 -0000
Received: from [98.139.212.219] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 03 Dec 2013 22:21:17 -0000
Received: from [127.0.0.1] by omp1028.mail.bf1.yahoo.com with NNFMP; 03 Dec 2013 22:21:17 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 692103.65357.bm@omp1028.mail.bf1.yahoo.com
Received: (qmail 73096 invoked by uid 60001); 3 Dec 2013 22:21:17 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1386109277; bh=LGh7SUlLCySCKg2TjSxTum3RKKLqHqPW4jUM50Vf4MI=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=bpNIgUID8v65yzqzFY/h6X+KtG/NxQtRg4iszyKzqF+/ui66oDpJqT4jsTAJi88bgy6DQARVioZvBYUIe2q/xjIdUy/o9Nrf6tOkm1QA963vVsgEN83AZNqMDTWtCTIL5aDCGKfIn29OHtQSMbEJbv8o7l/qSQbLrLwQWczOvQo=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=b414GiwhUgkpDt4TVOaPvmXddn+i2HFkKZVWxXV5Yf5HS/5PYKbjeTt72VwggHW/6uxsNutNHyQqv8q48i2wHiim7CHHbxqcxUIrjNfQ/mF0tiVrByZnDNLCIbwc2Sg0ggY4eMuC9cd5BK3NwRemjrMFuOkQDuk24MUsyqz/ovs=;
X-YMail-OSG: gDFAr8UVM1lTUJWTHDsRaNK04m8JNLYi51jiPmoH3MM3HF9 QsL6ehbiNRi8YJ.Nx3bpq0wl29T4OobKOQCi7aGebdt8sz.OoXoAhV_tPQs4 EdI.xcdic06eZyVvz4XlL0nTPgDOPcYvsk4IF9pxXa_r9Y.2KUkVpeifQcPJ AsiuPbdyz1clC.wKFDftIFk7vSSuPsBL.TzILCFTEBBBVNTE3q0zaaqImqXH QImP72bjyqFBnk_59Q9mgJTBjcgcb41eSAqSnrg7p_8wJmW_D3.e.7Ta5yUL k2nWrNo2KzSxHKy0Hcm2MT0VXBM5hjxu8W5sx4LSHLd7rx9EwO49eK7k.60f VINEm8bpJ7OcFop4sKVB6LsNVFkbo8m1brGWROPtl3JPbcH8zETcnbff_sgY dACkIyEAw7ThcjcTaGWgbeFQBCu6Tmd3zgJ3WhOIfGL5mEcd4Fa1Lkhw8MB4 beYtsEjwU_dCSZ8h9To5vV.BvVP.WDZpBCu37UCWwISFPTpIhcArjJYUEKBn h5CBjMMv7C4BQQF78nzdGVvPBtRYGHs9zKDOZxAELf4aVt6iE7g5dzxmIiYE Ld_iPcHordSR6ORELQpbWSEijp7rjYz7SYiDUaeIZ0K_gAleQYHbV0cs4tht eSoQJqA--
Received: from [63.166.115.40] by web160203.mail.bf1.yahoo.com via HTTP; Tue, 03 Dec 2013 14:21:17 PST
X-Rocket-MIMEInfo: 002.001, SGkgRGF2ZS9BbGV4eSwKCkkgaGF2ZSBnb25lIHRocm91Z2ggdGhlwqBodHRwczovL2lldGYub3JnL2RvYy9kcmFmdC1pZXRmLXFyZXN5bmMtcmZjNTE2MmJpcy_CoGRyYWZ0LiBSZWdhcmRpbmcgdGhlIGlzc3VlIHJlcG9ydGVkIGVhcmxpZXIsIHNvbWUgc2VydmVyIGV4cGxpY2l0bHkgZXhwZWN0cyBFTkFCTEUgY29tbWFuZCB0byBpbmNyZW1lbnQgdGhlIEhJR0hFU1RNT0RTRVEgYW5kIHNvbWUgc2VydmVyIGF1dG9tYXRpY2FsbHkgaW5jcmVtZW50cy4gVG8gbWFrZSB0aGUgdGhpbmcgY2xlYXIgYW5kIGFsc28BMAEBAQE-
X-Mailer: YahooMailWebService/0.8.167.602
References: <1386021084.78345.YahooMailNeo@web160203.mail.bf1.yahoo.com> <9576257CC412C5B483A28644@96B2F16665FF96BAE59E9B90> <1386028949.42306.YahooMailNeo@web160201.mail.bf1.yahoo.com> <CAKHUCzzFq_FCf6CBOTFH-rPJg_z72dttP9nuRRx9VsTJtM1Zsg@mail.gmail.com>
Message-ID: <1386109277.12951.YahooMailNeo@web160203.mail.bf1.yahoo.com>
Date: Tue, 03 Dec 2013 14:21:17 -0800
From: Samsung SVL <samsungsvl@yahoo.com>
To: Dave Cridland <dave@cridland.net>, "Alexey.Melnikov@isode.com" <Alexey.Melnikov@isode.com>
In-Reply-To: <CAKHUCzzFq_FCf6CBOTFH-rPJg_z72dttP9nuRRx9VsTJtM1Zsg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="-2111173271-216864622-1386109277=:12951"
Cc: "lemonade@ietf.org" <lemonade@ietf.org>, Chris Newman <chris.newman@oracle.com>, "j.sb@sta.samsung.com" <j.sb@sta.samsung.com>, "imapext@ietf.org" <imapext@ietf.org>
Subject: Re: [lemonade] Regarding CONDSTORE IMAP extension
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Samsung SVL <samsungsvl@yahoo.com>
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 03 Dec 2013 22:21:31 -0000

Hi Dave/Alexy,

I have gone through the https://ietf.org/doc/draft-ietf-qresync-rfc5162bis/ draft. Regarding the issue reported earlier, some server explicitly expects ENABLE command to increment the HIGHESTMODSEQ and some server automatically increments. To make the thing clear and also to follow the consistent behavior across various IMAP clients. It would be better to insist a point about enabling the CONDSTORE service in the server by sending ENABLE CONDSTORE command.

So, even-though server advertises the supported capability, its client responsibility to send ENABLE CONDSTORE command to enable the service. In case, if IMAP server did not support the ENABLE extension, then how client should enable the service can also mentioned to make it clear for client implementation. 

Please consider and if you feel its worthy, kindly update the draft. 

Regards,
Jay

>________________________________
> From: Dave Cridland <dave@cridland.net>
>To: Samsung SVL <samsungsvl@yahoo.com> 
>Cc: Chris Newman <chris.newman@oracle.com>; "lemonade@ietf.org" <lemonade@ietf.org> 
>Sent: Tuesday, 3 December 2013, 0:52
>Subject: Re: [lemonade] Regarding CONDSTORE IMAP extension
> 
>
>
>Just to remind folk, the update to RFC 4551 - now also documenting QRESYNC as well - is currently in Working Group Last Call, which ends on the 6th of December.
>
>
>https://ietf.org/doc/draft-ietf-qresync-rfc5162bis/
>
>
>
>If you think this needs to be clearer in the new document, please let the document authors, and the mailing list at imapext@ietf.org know.
>
>
>
>On Tue, Dec 3, 2013 at 12:02 AM, Samsung SVL <samsungsvl@yahoo.com> wrote:
>
>Hi Chris,
>>
>>
>>Thanks for your clarification.
>>
>>
>>Regards,
>>Jay
>>
>>
>>
>>>________________________________
>>> From: Chris Newman <chris.newman@oracle.com>
>>>To: Samsung SVL <samsungsvl@yahoo.com>; lemonade@ietf.org 
>>>Sent: Monday, 2 December 2013, 18:10
>>>
>>>Subject: Re: [lemonade] Regarding CONDSTORE IMAP extension
>>>
>>>
>>>
>>>--On December 2, 2013 13:51:24 -0800 Samsung SVL <samsungsvl@yahoo.com> 
>>>
>>>wrote:
>>>
>>>> Hi All,
>>>>
>>>> Kindly clarify my below query regarding "CONDSTORE" IMAP Extension.
>>>>
>>>> When IMAP server advertises the "CONDSTORE" support as part of
>>>> CAPABILITIES, client assumes that server support IMAP CONSTORE
>>>> extension. 
>>>>
>>>> As
 per RFC 4551,  client issues SELECT command  for a mailbox in the
>>>> below format and receives the response with HIGHESTMODSEQ value as  "1"
>>>>
>>>> C: A142 SELECT INBOX
>>>>
>>>> During the subsequent SELECT command, client receives "HIGHESTMODSEQ"
>>>> value always set to "1". Its not getting incremented with respect to the
>>>> changes in the mailbox. 
>>>>
>>>> Some IMAP server changes the HIGHESTMODSEQ value only when client issues
>>>> SELECT command in the below format.
>>>>
>>>> C:A142 SELECT "INBOX" (QRESYNC ("UIDVALIDITY" "HIGHESTMODSEQ"))
>>>>
>>>> Kindly clarify which format is right one, because most of the IMAP server
>>>> behaves differently. 
>>>
>>>Technically, the former command is correct only if you've previously issued 
>>>a condstore-enabling command (or don't want to use condstore) and the 
>>>latter is correct only if the server advertises QRESYNC and you have issued 
>>>"ENABLE QRESYNC" previously. For more details see RFC 4551 and RFC 5162.
>>>
>>>Have you tried using:
>>>
>>>C: A142 SELECT INBOX (CONDSTORE)
>>>
>>>That's a condstore-enabling command that servers advertising the CONDSTORE 
>>>capability are required to support. Servers are free to not return 
>>>HIGHESTMODSEQ at all until a condstore-enabling command occurs, and then 
>>>they MUST return either HIGHESTMODSEQ or NOMODSEQ.
>>>
>>>Of course, if a server is returning HIGHESTMODSEQ and not updating it after 
>>>flag
 changes, that server may have a bug, so you may have to fallback to 
>>>not using CONDSTORE with that server and just do a full resync every time. 
>>>You might want to report that bug to the server vendor so they have the 
>>>opportunity to fix it in a subsequent release.
>>>
>>>        - Chris
>>>
>>>
>>>
>>>
>>_______________________________________________
>>lemonade mailing list
>>lemonade@ietf.org
>>https://www.ietf.org/mailman/listinfo/lemonade
>>Supplemental Web Site:
>>http://www.standardstrack.com/ietf/lemonade
>>
>
>
>