[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



----- Original Message ----- From: "Alexey Melnikov" <alexey.melnikov at isode.com>
To: "Lingyan Wu" <wulingyan_48795 at huawei.com>
Cc: "Arnt Gulbrandsen" <arnt at oryx.com>; <lemonade at 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 at ietf.org https://www1.ietf.org/mailman/listinfo/lemonade