[Dovecot] Bug report: "doveadm rename" encodes special characters wrongly in mUTF-7 (in fs)

megodin at inboxalias.com megodin at inboxalias.com
Mon Sep 23 16:52:47 EEST 2013

Hi there Timo,
first of all thank you for taking your time for support!

> Forget about mUTF-7 with Dovecot. It's an IMAP-protocol relic, and
> Dovecot is trying to get rid of it in as many places as possible. 
> Although by default the filesystem users mUTF-7, but that can also 
> be changed with a setting.

Thanks for clarifying this.

> I suspect your shell is breaking the 8bit chars into invalid UTF-8. I
> just tried and it works fine with me.

Sorry, we got confusion here... apparently my (lousy) freemail provider 
which I use to post on this mailinglist doesn't send some special 
characters etc. unaltered exactly as I typed  - so I made a console 
screenshot of the doveadm rename problem to make things clear.
Please have a look here, it will reveal the doveadm rename problem 
(and that my shell is working fine): 

> > To get things worse, when renaming the mailfolder in Thunderbird to 
> > "geschäftliches" it gets correctly written in the filesystem as 
> > "gesch&AOQ-ftliches"- but afterwards it's NOT found anymore in the 
> > dovecot index, e.g. when trying doveadm force-resync -u user it is 
> > not listed anymore (untilback-renaming in fs to the name it was 
> > indexed before).

> Folders aren't indexed by default (mailbox_list_index=no) and
> force-resync doesn't affect them. Are you saying
> "doveadm mailbox list -u user" doesn't show some folder? I'm not
> aware of any bugs related to this.

No, the "doveadm mailbox list -u user" works just fine.

BUT - I'm still wondering about the resync issue - As I understand the 
"doveadm force-resync -u user *" command rebuilds the index for the 
MAILS within the mailfolders? If so, how can the resync be done if the 
mailfolder itself is not found by doveadm anymore?

> I'd need to get some more specifics. Show show exists in filesystems
> and what commands don't produce expected results (and what they 
> produce instead).

For clearing up my point, I made another console screenshot with 
red markings to point out the problem (bug). 
Please have another look here:

Thanks for your support,

Alle Postfächer an einem Ort. Jetzt wechseln und E-Mail-Adresse mitnehmen! http://email.freenet.de/basic/Informationen

Send and receive anonymous emails to your inbox with InboxAlias.

More information about the dovecot mailing list