hi, I am testing deliver with sieve support, and want to use it to filter chinese. But I found it doesn't work. an encoded subject: =?GB2312?B?aSBhbSBhIGNoaW5lc2U=?decoded content is: i am a chinese and i have such rules: require "fileinto"; if header :contains "Subject" "GB2312" { fileinto "Hello"; } if header :contains "Subject" "chinese" { fileinto "Trush"; } but the first one acts. if a delete the first rule, like this: require "fileinto"; if header :contains "Subject" "chinese" { fileinto "Trush"; } message was delived to INBOX. so, any help? Thanks! -- Xueron Nee <xueron at gmail.com>
On Thu, 2007-01-25 at 14:09 +0800, Xueron Nee wrote:> > I am testing deliver with sieve support, and want to use it to filter > chinese. But I found it doesn't work. > > an encoded subject: =?GB2312?B?aSBhbSBhIGNoaW5lc2U=?> decoded content is: i am a chineseYea, the code doesn't even try to decode anything. This is easier to implement with CVS HEAD codebase, so I think I'll wait until v1.0 to fix this.. -------------- 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: <dovecot.org/pipermail/dovecot/attachments/20070215/ad2b2db3/attachment.bin>