From: Sunil S. <sh...@bo...> - 2005-09-20 13:35:26
|
Hi, The fixes to recentcount and count (r3938) is interpreting the response from imap server to EXPUNGE wrongly. IMAP> A0448 EXPUNGE IMAP< * 20 EXPUNGE IMAP< * 20 EXPUNGE IMAP< * 20 EXPUNGE IMAP< A0448 OK EXPUNGE completed means that just three mails have been deleted, not 60! Of course, in the typical response: IMAP> A0455 EXPUNGE IMAP< * 1 EXPUNGE IMAP< * 1 EXPUNGE IMAP< * 1 EXPUNGE IMAP< * 1 EXPUNGE IMAP< A0455 OK EXPUNGE completed the wrong interpretation works out correctly. The attached patch fixes this problem. This patch also fixes another problem related to a missing expunge between separate folders. In this configuration: poll server protocol imap folders "INBOX" "INBOX.test" expunge 100 deleted mails from "INBOX" do not get expunged just before "INBOX.test" is selected. The attached patch fixes both the problems. -- Sunil Shetye. |