Mike Constabel
2011-Dec-12 09:46 UTC
[Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Hi, now the umlauts problem with sieve: # cat /mailspool1/in-preetz.de/test1/.dovecot.sieve ## Generated by Roundcube Webmail SieveRules Plugin ## require ["fileinto"]; # rule:[Test] if anyof (header :contains "Subject" "test") { fileinto "m&APY-"; } Error: DBBjDsXL5U7mIAAA/TNBsA: sieve: execution of script /mailspool1/in-preetz.de/test1/.dovecot.sieve failed, but implicit keep was successful (user logfile /mailspool1/in-preetz.de/test1/.dovecot.sieve.log may reveal additional details) # cat /mailspool1/in-preetz.de/test1/.dovecot.sieve.log sieve: info: started log at Dec 12 10:40:04. error: msgid=<20111212094004.DB86918594 at mx4.constabel-it.de>: failed to store into mailbox 'm&APY-': Mailbox doesn't exist: m&-APY-. Here the same: 'm&APY-' != "m&-APY-" Mike
Timo Sirainen
2011-Dec-12 09:58 UTC
[Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
On 12.12.2011, at 11.46, Mike Constabel wrote:> now the umlauts problem with sieve:..> ## Generated by Roundcube Webmail SieveRules Plugin ##Roundcube bug/"feature".> fileinto "m&APY-";Sieve uses UTF-8 mailbox names. The reason why Roundcube doesn't use them, is because some old Cyrus Sieve versions didn't use UTF-8.
Stephan Bosch
2011-Dec-12 10:00 UTC
[Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Op 12/12/2011 10:46 AM, Mike Constabel schreef:> Hi, > > now the umlauts problem with sieve: > > # cat /mailspool1/in-preetz.de/test1/.dovecot.sieve > ## Generated by Roundcube Webmail SieveRules Plugin ## > require ["fileinto"]; > > # rule:[Test] > if anyof (header :contains "Subject" "test") > { > fileinto "m&APY-"; > }And here it is actually correct. Sieve fileinto expects the argument to be in utf8 and you are passing the IMAP mutf7. Use fileinto "m?"; instead. Regards, Stephan.
Mike Constabel
2011-Dec-12 10:10 UTC
[Dovecot] dovecot 2.1.rc1: sieve and folders with umlauts
Hello Stephan, On 2011-12-12 at 11:00 CET Stephan Bosch wrote:> Op 12/12/2011 10:46 AM, Mike Constabel schreef: > >Hi, > > > >now the umlauts problem with sieve: > > > ># cat /mailspool1/in-preetz.de/test1/.dovecot.sieve > >## Generated by Roundcube Webmail SieveRules Plugin ## > >require ["fileinto"]; > > > ># rule:[Test] > >if anyof (header :contains "Subject" "test") > >{ > > fileinto "m&APY-"; > >} > > And here it is actually correct. Sieve fileinto expects the argument > to be in utf8 and you are passing the IMAP mutf7. > > Use > > fileinto "m?"; > > instead.Thanks for the hint, now it works. :) Mike