Re: [lemonade] draft-gulbrandsen-imap-notify-01 use cases

Lingyan Wu <wulingyan_48795@huawei.com> Tue, 13 February 2007 02:05 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HGn3C-0005kR-4F; Mon, 12 Feb 2007 21:05:46 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HGn3A-0005kK-9j for lemonade@ietf.org; Mon, 12 Feb 2007 21:05:44 -0500
Received: from szxga01-in.huawei.com ([61.144.161.53]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HGn38-0003kq-Qs for lemonade@ietf.org; Mon, 12 Feb 2007 21:05:44 -0500
Received: from huawei.com (szxga01-in [172.24.2.3]) by szxga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0JDD00A46PSKJX@szxga01-in.huawei.com> for lemonade@ietf.org; Tue, 13 Feb 2007 10:05:08 +0800 (CST)
Received: from huawei.com ([172.24.1.24]) by szxga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTP id <0JDD00DLGPSJU0@szxga01-in.huawei.com> for lemonade@ietf.org; Tue, 13 Feb 2007 10:05:07 +0800 (CST)
Received: from w48795 ([10.164.120.78]) by szxml04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar 3 2004)) with ESMTPA id <0JDD00JCKPSIX6@szxml04-in.huawei.com> for lemonade@ietf.org; Tue, 13 Feb 2007 10:05:07 +0800 (CST)
Date: Tue, 13 Feb 2007 10:05:06 +0800
From: Lingyan Wu <wulingyan_48795@huawei.com>
Subject: Re: [lemonade] draft-gulbrandsen-imap-notify-01 use cases
To: Alexey Melnikov <alexey.melnikov@isode.com>
Message-id: <008501c74f13$61f0ea60$4e78a40a@china.huawei.com>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
Content-type: text/plain; reply-type="original"; charset="gb2312"; format="flowed"
Content-transfer-encoding: quoted-printable
X-Priority: 3
X-MSMail-priority: Normal
References: <200611221836.21718.martin.konold@erfrakon.de> <RZ5dEifJnCLTDhN/C2OqAw.md5@libertango.oryx.com> <p0624060ac1cb3a3c416b@[loud.qualcomm.com]> <56DkrdbKNkPtsPYeN+naTg.md5@libertango.oryx.com> <030701c73e22$76cbb3e0$4e78a40a@china.huawei.com> <poJ1JTIulbiirrImpwoj9g.md5@libertango.oryx.com> <007401c74e80$a8997c40$4e78a40a@china.huawei.com> <45D06B18.7060606@isode.com>
X-Spam-Score: 0.5 (/)
X-Scan-Signature: 52f7a77164458f8c7b36b66787c853da
Cc: lemonade@ietf.org
X-BeenThere: lemonade@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Lingyan Wu <wulingyan_48795@huawei.com>
List-Id: Enhancements to Internet email to support diverse service enivronments <lemonade.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:lemonade@ietf.org>
List-Help: <mailto:lemonade-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/lemonade>, <mailto:lemonade-request@ietf.org?subject=subscribe>
Errors-To: lemonade-bounces@ietf.org

----- Original Message ----- 
From: "Alexey Melnikov" <alexey.melnikov@isode.com>
To: "Lingyan Wu" <wulingyan_48795@huawei.com>
Cc: "Arnt Gulbrandsen" <arnt@oryx.com>; <lemonade@ietf.org>
Sent: Monday, February 12, 2007 9:26 PM
Subject: Re: [lemonade] draft-gulbrandsen-imap-notify-01 use cases


> Lingyan Wu wrote:
>
>>>> 2, After receiving Notify command, the server sends unsolicited
>>>> STATUS responses for all of the mailboxes to the client.
>>>
>>> For all of the mailboxes where NewMessage events would be sent, you
>>> mean? Maybe that's a good idea. Not 100% sure.
>>
>> For all of the mailboxes.
>> I meant the server sends STATUS responses for all of the mailboxes
>> without receiving large numbers of STATUS commands first. After
>> receiving the unsolicited STATUS responses, the client can determine
>> which mailboxes are out of sync.
>
> Hi Lingyan,
> Why should the server send STATUS responses for mailboxes not included
> in the NewMessage event? If the client didn't include some mailboxes in
> the NewEvent list, it means that the client is not interested in new
> mail notifications for such mailboxes.
>
>

Hi Alexey,

Maybe I misunderstood what Arnt said.
It should be mailboxes whose events the client wants to get.

1、As the following paragraph (beginning with "/////////") said, the client 
sends large numbers of STATUS commands for mailboxes immediately after 
starting NOTIFY and the server sends large numbers of STATUS responses for 
these mailboxes.
2、What I said meant that the server sends the unsolicited STATUS responses 
for these mailboxes directly without receiving the large numbers of STATUS 
commands.

//////////////////////////
The NOTIFY command handles that nicely, just one wildcard and hardly any 
responses, but the client also has to send 1000 STATUS commands immediately 
after starting NOTIFY, so for a two-hour IMAP connection that's 1001 
commands and 2006 responses in order to notify the client of 4 events. 




_______________________________________________
lemonade mailing list
lemonade@ietf.org
https://www1.ietf.org/mailman/listinfo/lemonade