[Dovecot] Sieve and locale (Japanese)

Jorgen Lundman lundman at lundman.net
Fri Sep 11 05:18:19 EEST 2009


I have setup Dovecot-1.2 'delivery' to use Dovecot's Sieve as well (both 
versions are latest from dovecot.org).

I am curious if sieve can handle Japanese, or locale, in general in the 
language. In particular, the subject which is encoded even more complicated.

if header :contains "subject" ["test", "テスト"] {

So if I want to file based on above, test, and tesuto (utf-8). Most Japanese 
mail is send in iso-2022-jp, will it use iconv to change to utf-8 before the 
test? Then handle the Subject encoding? (It's also possible to be in EUC-JP, but 
that is unusual).

Or is it something on TODO?




-- 
Jorgen Lundman       | <lundman at lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)


More information about the dovecot mailing list