Problem with special characters (Umlaute ä, ...) and "/" in folder Names
Jan Bickel
jan.bickel at datenkollektiv.net
Fri Aug 6 09:00:15 BST 2021
Hey there,
I'm trying to use offlineimap for batch migrating a ton of accounts from
one server to another. This works quite well (though it could be a
little faster ^^) but sometimes I have Problems with special characters,
specifically german "umlaute" (ö,ä,ü, and also ß) in folder names.
Folder 'YYY/XXX&-AOQ-XXX&-APw-XXX'[RepoRemote-Account-2] could not be
created. Server responded: ('NO', ['Invalid mailbox name'])
I thought maybe the destination server has problems with it, since the
encoding seems to be right, but I could create such folders there manually.
I also tried to enable "utf8foldernames" but this didn't help.
Also "decodefoldernames" was tried wich lead to a loop:
ERROR: INFINITE FOLDER CREATION DETECTED! Folder
'INBOX.YYY.XXX&-AOQ-XXX&-APw-XXX'' (repository 'RepoSource-Account-2')
would be created as folder 'YYY/XXXäXXXüXXX' (repository
'RepoRemote-Account-2'). The latter becomes 'INBOX.YYY.XXXäXXXüXXX' in
return, leading to infinite folder creation cycles.
Which kinda makes send since first and last folder is clearly not the same.
Another Problem I have is with "/" in folder Names. Even though I have
one repo (source) readonly offlineimap tries to replace it there and
detects an "infinite loop".
ERROR: INFINITE FOLDER CREATION DETECTED! Folder 'INBOX.FOO / BAR
(repository 'RepoSource-Account-2') would be created as folder 'FOO /
BAR' (repository 'RepoRemote-Account-2'). The latter becomes 'INBOX.FOO
. BAR' in return, leading to infinite folder creation cycles.
(If you are confused: I have a nametrans which gets rid of INBOX.)
Can someone please help me.
Have a nice day!
Best regards,
Jan
More information about the OfflineIMAP-project
mailing list