On Fri, 31 Jul 2009 09:06:04 +0200 Stephan Bosch <[email protected]> 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.4c9ba...@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.4c9ba...@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 > [email protected]
