Re: mbpath and utf-7 encodes folder names

Jean Charles Delépine via Info <[email protected]> Tue, 05 May 2026 15:20:22 +0200
Newsgroups gmane.mail.imap.cyrus
Message-ID <20260505152022.Horde.UP5MJzs4VWx7r8UMNgiHRE7@webmail.u-picardie.fr>
Quoting Frank Richter <[email protected]>:

> Hello,
>
> in our migration=C2=A0 from 3.2 to 3.10 (Debian 11 to 13) I observe a=20=
=20
> change with the tool mbpath and folder names encoded with utf-7:
>
> I have a folder "user.fri.T=C3=A4st" (umlaut a) =E2=80=93 the folder is c=
reated=20=20
> as 'user.fri.T&AOQ-st'.
> ctl_mboxlist -d shows: "user.fri.T&AOQ-st": {"name": "user.fri.T&AOQ-st"
> Using mbpath 'user.fri.T&AOQ-st' shows: Invalid mailbox name:=20=20
> 'user.fri.T&AOQ-st'
> I have to use: mbpath user.fri.T=C3=A4st
>
> Has this changed from 3.2.X, did I miss something (again)?

I miss it too.

On my modified debian 3.8 package :
ii  cyrus-imapd    3.8.4-1.3    amd64        Cyrus mail system - IMAP suppo=
rt

mbpath has a new option -7 :
-7 mailbox arguments are in modified UTF7 rather than UTF8

But the default is still UTF7 and UTF8 will give an error.

On Debian's 3.10 you need to use -7 option to UTF7 mailbox names, UTF8=20=20
is the default.

          Jean Charles
--=20
Service syst=C3=A8mes et r=C3=A9seaux - DISI

Universit=C3=A9 de Picardie Jules Verne
5, rue du moulin neuf - 80000 Amiens


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T056be696a83ae06f-Md49654=
aac730eeecc5af04e5
Delivery options: https://cyrus.topicbox.com/groups/info/subscription