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 gmx.de
Thu May 5 07:59:29 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
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 gmx.de> 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/accounts.py", line 308, in syncfolder
>     if localfolder.getuidvalidity() == None:
>   File "/Users/xxx/bin/offlineimap/offlineimap/folder/IMAP.py", line 73, in getuidvalidity
>     self.selectro(imapobj)
>   File "/Users/xxx/bin/offlineimap/offlineimap/folder/IMAP.py", line 50, in selectro
>     imapobj.select(self.getfullname())
>   File "/Users/xxx/bin/offlineimap/offlineimap/imaplibutil.py", 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!

Regards,
OJ
- -- 
The one who doesn't know the answer is wiser than the one who knows the
wrong answer.
(unknown)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3CWOEACgkQeghBUmrA8gl0JQCfQIfZuFy3SOIbe1FrfKY6QaCs
GlcAn01FZ2645Bdn2nZUgErt9DUioCS5
=QNUN
-----END PGP SIGNATURE-----



More information about the OfflineIMAP-project mailing list