[Dovecot] sieve delivery to utf folders
Nikita Koshikov
koshikov at gmail.com
Fri Jul 31 12:50:17 EEST 2009
On Fri, 31 Jul 2009 09:06:04 +0200
Stephan Bosch <stephan at rename-it.nl> wrote:
> Well, I guess the final situation is caused by the fact that the folder
> name is encoded in mUTF7 two times.
>
> At my end the following Sieve script works as expected:
>
> require "fileinto";
>
> fileinto "тест";
>
> Result:
>
> Jul 31 09:01:02 xi dovecot: deliver(stephan): sieve:
> msgid=<20090729182144.4c9baf96 at jimbo>: stored mail into mailbox
> '&BEIENQRBBEI-'
>
> I guess you are doing:
>
> require "fileinto";
>
> fileinto "&BEIENQRBBEI-";
>
> Result:
>
> Jul 31 09:04:53 xi dovecot: deliver(stephan): sieve:
> msgid=<20090729182144.4c9baf96 at jimbo>: stored mail into mailbox
> '&-BEIENQRBBEI-'
>
> So, use the "тест" UTF-8 string in your scripts directly.
Thank you, Stephan.
The problem was with managesieve plugin to rouncube webmail, which construct "fileinto" rules with non-decoding utf-7 values. I should fix this in php.
Thanks again.
>
> Regards,
>
> --
> Stephan Bosch
> stephan at rename-it.nl
More information about the dovecot
mailing list