imapsync special character in folder name

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
Post Reply
tom2810
Posts: 8
Joined: Wed Sep 06, 2017 8:45 am

imapsync special character in folder name

Post by tom2810 »

Hi all,
as I told you we going to migrate from Zarafa to Zimbra.
Now we got following issue.

A lot of our users have folder names with special characters lik "/". eg (Test/ new customer)

Zimbra does not allow those characters. The issue now, I am not able to migrate those folders.
Host1 Folder Testnewcustomer: Could not select: 299 NO SELECT error getting mails in folder.

Does anyone know how can I fix that? We want to avoid that users need to change every folder.

Thanks,
Tom
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: imapsync special character in folder name

Post by fs.schmidt »

Hi,

I think you should use "--regextrans2". Here is an example:

--regextrans2 's/[^ +,\-.0-9:=\ at A-Z_a-z~&]//g' \

Best regards.
Post Reply