sieve and utf-8 MIME/base64 content
rsto at fastmailteam.com
Fri Feb 16 05:37:14 EST 2018
Thanks for making this more clear to me :)
On Fri, Feb 16, 2018, at 11:07, Vladislav Kurz wrote:
> The problem is that headers with non-ascii chars are encoded in form
> like this:
> Subject: =?UTF-8?B?UmU6I.....gVG9v?=
> And also the body is sometimes completely in base64, even though it is
> just plaintext or HTML in UTF-8. Depends on sender's mail client.
AFAIK the Sieve implementation in Cyrus 2.5 fully implements RFC 5228, including the string comparison requirements of section 2.7 . That is, it implements the ascii-casemap and octet collations. It decodes MIME headers to UTF-8 before matching (e.g. see  and ). The RFC 5173 Sieve body extension is also supported .
Eugene, does that work for you?
More information about the Info-cyrus