Igor Zinovik
2011-Apr-05 12:31 UTC
[Dovecot] is it posible to autocreate imap folders with non ascii chars?
Hello. I'm migrating from cyrus to dovecot and now after i converted mailboxes to Maildir. Some users already has imap folders with cyrillic chars. How could i autocreate folders with cyrillic chars? When i type something like: ... autocreate = utf8_chars autosubscribe = utf8_chars ... In logs i see that dovecot complains: Apr 05 16:21:43 imap(pavelkor): Debug: autocreate: Failed to create mailbox utf8_chars: Invalid mailbox name It is even possible to achieve?
Timo Sirainen
2011-Apr-05 13:29 UTC
[Dovecot] is it posible to autocreate imap folders with non ascii chars?
On 5.4.2011, at 15.31, Igor Zinovik wrote:> autocreate = utf8_chars > autosubscribe = utf8_chars > ... > > In logs i see that dovecot complains: > Apr 05 16:21:43 imap(pavelkor): Debug: autocreate: Failed to create mailbox utf8_chars: Invalid mailbox nameWith v2.1 you can directly UTF-8 characters there. With older versions you need to convert the mailbox names to mUTF-7. With v2.0 you can do this with doveadm: doveadm mailbox mutf7 utf8_chars Use the result as the mailbox name.
Igor Zinovik
2011-Apr-05 13:54 UTC
[Dovecot] is it posible to autocreate imap folders with non ascii chars?
On Apr 05, Timo Sirainen wrote:> With v2.1 you can directly UTF-8 characters there. With older versions you need to convert the mailbox names to mUTF-7. With v2.0 you can do this with doveadm: > > doveadm mailbox mutf7 utf8_chars > > Use the result as the mailbox name.Thanks Timo. That works for me. Forgot to mention that I use dovecot 2.0.11