zmmailbox can't process folders which have unicode name?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

zmmailbox can't process folders which have unicode name?

Post by 13546dalmate »

if I have a folder has a name: "Công cộng" - in unicode

and I want to use zmmailbox to delete it:

zmmailbox -z -m account@domain.com df "/Công cộng"

and I had an error:

ERROR: zclient.CLIENT_ERROR (Unknow folder: ....)

Is it a bug?
ArcaneMagus
Elite member
Elite member
Posts: 1138
Joined: Fri Sep 12, 2014 10:25 pm

zmmailbox can't process folders which have unicode name?

Post by ArcaneMagus »

Is your SSH session using unicode character set?
Also I am moving this thread to the Administrators forum.
13546dalmate
Outstanding Member
Outstanding Member
Posts: 360
Joined: Fri Sep 12, 2014 11:59 pm

zmmailbox can't process folders which have unicode name?

Post by 13546dalmate »

How to set ssh session using unicode character set?

Can you guide me?

Because now, it can't process with unicode name

I checked, every thing is ok when I use ssh with unicode, but zmmailbox still can't recognize it
veronica
Outstanding Member
Outstanding Member
Posts: 592
Joined: Fri Sep 12, 2014 11:35 pm

zmmailbox can't process folders which have unicode name?

Post by veronica »

I tried the same what you did. See below : -
mbox test1@test.com> cf "/Công c.ng"

283

mbox test1@test.com> gaf

Id View Unread Msg Count Path

---------- ---- ---------- ---------- ----------

1 conv 0 0 /

16 docu 0 0 /Briefcase

10 appo 0 0 /Calendar

14 mess 0 0 /Chats

7 cont 0 0 /Contacts

6 mess 0 0 /Drafts

13 cont 0 2 /Emailed Contacts

2 mess 2 2 /Inbox

4 mess 0 0 /Junk

12 wiki 0 0 /Notebook

5 mess 0 4 /Sent

15 task 0 0 /Tasks

3 conv 0 0 /Trash

283 conv 0 0 /C�ng c.ng
Now deleting using :-
zmmailbox -z -m test1@test.com df "/C�ng c.ng"

ERROR: zclient.CLIENT_ERROR (unknown folder: /C���ng c.ng)
But if I do this :-
zmmailbox -z -m test1@test.com

mailbox: test1@test.com, size: 4.31 KB, messages: 8, unread: 2

mbox test1@test.com> gaf

Id View Unread Msg Count Path

---------- ---- ---------- ---------- ----------

1 conv 0 0 /

16 docu 0 0 /Briefcase

10 appo 0 0 /Calendar

14 mess 0 0 /Chats

7 cont 0 0 /Contacts

283 conv 0 0 /C�ng c.ng

6 mess 0 0 /Drafts

13 cont 0 2 /Emailed Contacts

2 mess 2 2 /Inbox

4 mess 0 0 /Junk

12 wiki 0 0 /Notebook

5 mess 0 4 /Sent

15 task 0 0 /Tasks

3 conv 0 0 /Trash
mbox test1@test.com> df "/C�ng c.ng"
It works
User avatar
dominix
Advanced member
Advanced member
Posts: 51
Joined: Sat Sep 13, 2014 1:07 am
Location: Pacific sud
ZCS/ZD Version: 7.2.7 ... 8.8.15 ... 9.0.0

Re: zmmailbox can't process folders which have unicode name?

Post by dominix »

Hi, I have exact same problem, but this is impossible to do in centos 6 running 8.8.15_ Patch 6

Code: Select all

zmmailbox -z -m arotini@sep.pf ef "/Éléments supprimés"
ERROR: zclient.CLIENT_ERROR (unknown folder: /��l��ments supprim��s)
in zmmailbox I can not type with accent, it display only questions marks "?"
User avatar
dominix
Advanced member
Advanced member
Posts: 51
Joined: Sat Sep 13, 2014 1:07 am
Location: Pacific sud
ZCS/ZD Version: 7.2.7 ... 8.8.15 ... 9.0.0

Re: zmmailbox can't process folders which have unicode name?

Post by dominix »

look like it is a locale problem.
solved for me with

Code: Select all

export LC_ALL=fr_FR.UTF-8
Post Reply