On Wed, 2010-10-13 at 14:04 -0400, Edward Carraro wrote:
If I directly modify the sieve file and place the actual utf8 version of the folder in it
require ["fileinto"]; if header :contains ["From"] "user@domain.com" { fileinto "ññoéé"; }
This should work.
main_script: line 1: error: folder name specified for fileinto command is not utf-8: ññoéé.
Like others said, this really looks as if you're running older Dovecot version. Is it possible that only e.g. your dovecot-lda is an older version or something? Or that you weren't actually typing valid UTF-8 in the script?
[tss@kurkku] ~% cat > .dovecot.sieve require ["fileinto"]; if header :contains ["From"] "user@domain.com" { fileinto "ññoéé"; }
[tss@kurkku] ~% file .dovecot.sieve .dovecot.sieve: UTF-8 Unicode text
[tss@kurkku] ~% printf "From: user@domain.com\n\nplop\n" | dovecot-lda
And the result:
Oct 14 15:20:59 lda(29534 tss): Info: sieve: msgid=unspecified: subject=: stored mail into mailbox 'ññoéé' (&APEA8Q-o&AOkA6Q-)