From: Matthias A. <mat...@gm...> - 2005-09-21 10:43:33
|
Sunil Shetye <sh...@bo...> writes: > 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. I have merged your patch for -rc4, thank you! -- Matthias Andree |