[PATCH] Re: IMAP.cachemessagelist(): Protect against empty folders

Sebastian Spaeth Sebastian at SSpaeth.de
Wed Sep 7 13:41:25 BST 2011


On Tue, 6 Sep 2011 20:44:35 +0200, Nicolas Sebrecht <nicolas.s-dev at laposte.net> wrote:
> Unfotunately, I think I'll be somewhat bored by the current behaviour.
> It raises false positive in the sense that I have and want empty folders
> (to group subfolders).

>  ERROR: Aborting folder sync 'INBOX.DRAFT' [acc: 'dev']
>   FETCHING UIDs in folder [Remotedev]INBOX.DRAFT failed. Server responded '[NO] ['No matching messages']'

Ohh, interesting another server behavior. Gmail simply sent nothing in
the case of no messages, and we protected against that. Yours seems to
sens "NO" if there are no messages in the folder.

Yes, we don't want that behavior. Let me fix this. I'll see if I can
replicate the behavior on my server.

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110907/c11cef2e/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list