[Dovecot] How dovecot treats UTF8 mailbox names in sieve scripts and `namespace' section
Hello.
I read on upgrading page that one can use UTF8 mailbox names for plugins. As i understand i do not need to convert UTF8 names to mUTF-7 and can use raw UTF8 in plugins section, e.g.: /etc/dovecot/dovecot.conf ... plugin { ... # Autocreate \Spam folder autocreate = Спам autosubscribe = Спам ...
But what about sieve scripts and other configuration sections:
Do i need to convert UTF8 mailbox names in `namespace' section? namespace inbox { ... mailbox &BCEEPwQwBDw- { special_use = \Junk }
Do i need to convert UTF8 mailbox names in sieve scripts? /etc/dovecot/dovecot_before.sieve ... require ["reject","fileinto"];
Put all spam into separete IMAP folder
if header :contains "X-Spam-Flag" "YES" { fileinto "&BCEEPwQwBDw-"; }
On 8/21/2012 7:51 PM, Igor Zinovik wrote:
- Do i need to convert UTF8 mailbox names in sieve scripts? /etc/dovecot/dovecot_before.sieve
require ["reject","fileinto"];
# Put all spam into separete IMAP folder if header :contains "X-Spam-Flag" "YES" { fileinto "&BCEEPwQwBDw-"; }
The Sieve language only accepts UTF-8, making the above example wrong. That is also what Pigeonhole Sieve requires. The much older cmusieve plugin did use mUTF7, but I'm hoping that very few people are still using that.
Regards,
Stephan
On Tue, 2012-08-21 at 21:51 +0400, Igor Zinovik wrote:
I read on upgrading page that one can use UTF8 mailbox names for plugins. As i understand i do not need to convert UTF8 names to mUTF-7 and can use raw UTF8 in plugins section, e.g.: /etc/dovecot/dovecot.conf
You couldn't need to use mUTF7 anywhere at all anymore. If you do, it's a bug.
participants (3)
-
Igor Zinovik
-
Stephan Bosch
-
Timo Sirainen