<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt>A tool to determine the encoding of a file is 'file -bi
<filename>' This command is not perfect though.</tt><span
style="color:#008000;font-weight:bold;"><br>
</span></p>
<div class="moz-cite-prefix">On 3/12/19 2:20 PM, Felipe Gasper via
dovecot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5A3831E7-A296-4006-821C-E1FC6B672EC4@felipegasper.com">
<pre class="moz-quote-pre" wrap="">Hello,
I’ve got a strange misconfiguration where the following command:
doveadm -f pager mailbox status -u spamutf8 'messages vsize guid' INBOX 'INBOX.*'
… fails with error code 68, saying that it can’t find one of the mailboxes. (It lists the user’s other mailboxes.) The name of the mailbox in question is saved to disk in UTF-8 rather than mUTF-7, but strace shows that doveadm is stat()ing the mUTF-7 path; the failure of that stat() is, assumedly, what causes doveadm to report the error status.
I’ve tried to paw through the source code to see what might be causing this but haven’t made much headway. Can someone here point out where the misconfiguration might be that is causing doveadm to stat() the mUTF-7 path rather than UTF-8? Or perhaps offer any tips as to how I might diagnose what’s going on? What causes doveadm to stat() one path or the other?
Thank you!
-Felipe Gasper
Mississauga, ON</pre>
</blockquote>
</body>
</html>