[Dovecot] Sieve and locale (Japanese)

Timo Sirainen tss at iki.fi
Fri Sep 11 05:36:33 EEST 2009


On Sep 10, 2009, at 10:18 PM, Jorgen Lundman wrote:

> 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).

All text, including subject, is converted to UTF-8 with iconv before  
comparing, as long as Dovecot was compiled with iconv support  
(automatically as long as iconv devel files were found).



More information about the dovecot mailing list