On Mon, 2008-08-25 at 01:53 +0200, Björn Persson wrote:
I originally created the mail folders with Kmail, and Dovecot created the directories with their names encoded in modified UTF-7, like in IMAP. The Sieve script is encoded in UTF-8, in accordance with RFC 3028. When the Sieve script specifies a mail folder with non-English letters in the name, the LDA doesn't put the messages in the corresponding modified-UTF-7-encoded directory. Instead it creates a new directory with the same name but encoded in UTF-8. That directory doesn't show up as a mail folder in Kmail, presumably because Dovecot considers the UTF-8-encoded name invalid.
Dovecot isn't working right here, but since there's currently no UTF8->mUTF7 conversion code in Dovecot it's not too simple to fix this. I added it to my TODO.
The Dovecot I got with Debian isn't exactly the most recent version. I searched for "Maildir", "deliver" and "Sieve" in the changelog, and didn't find anything about this. Should I consider upgrading anyway, abandoning the Debian package?
Here are the details:
Debian Etch (4.0) Dovecot 1.0.rc15
You could (and probably should) get a newer version from backports.org.