Hi, Reading http://tools.ietf.org/html/rfc3028#section-2.7.2 I thought that out-of-the-box dovecot can filter messages by matching header in UTF-8. But when I tested it, it failed : (I'm using 1.0.5 with sieve plugin) Here is my .dovecot.sieve file : ---------- require ["fileinto", "imapflags"]; if allof(header :contains "subject" "filtre") { addflag "test_1"; } if allof(header :contains "subject" "l?") { addflag "test_2"; } if allof(header :comparator "i;ascii-casemap" :contains "subject" "h?") { addflag "test_3"; } ---------- Only the first of the three rules do work. When I try to match a subject string with accent encoded in ISO-8859 like "h?l?" : "=?ISO-8859-1?Q?h=E9l=E0?=" there is no match Am I doing something wrong ?
On Tue, 2007-11-06 at 17:54 +0100, Arthur P?try wrote:> Reading http://tools.ietf.org/html/rfc3028#section-2.7.2 I thought > that out-of-the-box dovecot can filter messages by matching header in > UTF-8. > > But when I tested it, it failed : > (I'm using 1.0.5 with sieve plugin)Doesn't work, and too much trouble to implement it. However v1.1 should support it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071110/aa8b3515/attachment-0002.bin>