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 08:59:29 BST 2011

Hash: SHA1

Hi Sebastian,

On 05.05.11 09:51 Sebastian Spaeth wrote:
> On Thu, 05 May 2011 08:30:33 +0200, Johannes Kastl <ojkastl at> wrote:
>> Which brings me back to my problem: How to get offlineimap to sync these
>> "non-existing" folders?
> Well, your nametrans specified that all folders on the iblue side start
> with GMX/, so you need to adapt your nametrans rules. ie. each box on
> the REMOTE side needs to match a box name on the local side, so that
> syncing goes both ways.

I'm sorry, but your mixing up the to problems I had. One (thread "Double
nametrans required in a imap-imap-Sync?") was the issue of the
2-way-sync, where I was not sure if the folders from the local server
get synced to the remote server, and if I need a second nametrans for that.

The second problem I have is that I have some folders, that exist on the
remote side (GMX-server) and got created on the local side (1blu-server
as subfolders of GMX/), as I can see them in the webinterface. But I
always get the following error when syncing:

> Folder sync [GMXzu1blu]:
>  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'])

And no mails are synced into these folders. I just have empty folders on
the local side (1blu-server).

Pretty confusing, I hope I could point out the problem. If not, feel
free to ask.

Thanks for your help!

- -- 
The one who doesn't know the answer is wiser than the one who knows the
wrong answer.
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla -


More information about the OfflineIMAP-project mailing list