Syncing IMAP to IMAP: "Error from select: ('NO', ['Mailbox does not exist'])" or "Error from select: ('NO', ['Mailbox does not exist'])"

Johannes Kastl ojkastl at
Thu May 5 21:31:25 BST 2011

Hash: SHA1

Good evening,

On 05.05.11 17:41 Johannes Kastl wrote:

> Seems like I was a little to enthusiastic. After doing the sync some
> more times, and running into some problems with mails in these folders,
> I no get the exact error again.

I ran offlineimap with the "-d imap -1" option:

> Folder sync [GMXzu1blu]:
>  DEBUG[imap]:   22:33.97 Folder sync [GMXzu1blu] [sync] SELECT ('GMX/Archives',)
>  DEBUG[imap]:   22:33.97 Folder sync [GMXzu1blu] _request_push(MJIG11, SELECT, {})
>  DEBUG[imap]:   22:33.97 Folder sync [GMXzu1blu] data=MJIG11 SELECT GMX/Archives
> writer:
>  DEBUG[imap]:   22:33.97 writer > MJIG11 SELECT GMX/Archives\r\n
> reader:
>  DEBUG[imap]:   22:34.02 reader select => [6], [], []
>  DEBUG[imap]:   22:34.02 reader rcvd 34
>  DEBUG[imap]:   22:34.02 reader < MJIG11 NO Mailbox does not exist\r\n
> handler:
>  DEBUG[imap]:   22:34.02 handler _request_pop(MJIG11, ('NO', ['Mailbox does not exist']))
>  DEBUG[imap]:   22:34.02 handler NO response: Mailbox does not exist
> Folder sync [GMXzu1blu]:
>  DEBUG[imap]:   22:34.02 Folder sync [GMXzu1blu] state => AUTH
>  WARNING: ERROR in syncfolder for GMXzu1blu folder GMX/Archives: Traceback (most recent call last):
>   File "/Users/xxx/bin/offlineimap/offlineimap/", line 308, in syncfolder
>     if localfolder.getuidvalidity() == None:
>   File "/Users/xxx/bin/offlineimap/offlineimap/folder/", line 73, in getuidvalidity
>     self.selectro(imapobj)
>   File "/Users/xxx/bin/offlineimap/offlineimap/folder/", line 50, in selectro
>   File "/Users/xxx/bin/offlineimap/offlineimap/", line 54, in select
>     raise ValueError, "Error from select: %s" % str(result)
> ValueError: Error from select: ('NO', ['Mailbox does not exist'])

Unfortunately I can not read anything in there, as I am not an IMAP expert.

BTW, I just found out the problematic server is a "Cyrus
IMAP4 Murder v2.1.18-IPv6-Debian-2.1.18-1+sarge2", dont know if there is
any special option needed for such a server (why should there?)?.

- -- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla -


More information about the OfflineIMAP-project mailing list