[Dovecot] How dovecot treats UTF8 mailbox names in sieve scripts and `namespace' section

Stephan Bosch stephan at rename-it.nl
Tue Aug 21 22:10:03 EEST 2012


On 8/21/2012 7:51 PM, Igor Zinovik wrote:
> 2. 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



More information about the dovecot mailing list