Cyrus Sieve: filtering on headers with non-ascii encodings

Adam Mokhtari adam at
Fri Feb 23 20:34:42 EST 2018


I'm using Cyrus Sieve to filter some mail by :matching header contents,
but sometimes the encoding is not plain text, e.g. quoted-printable. Is
there a sensible way to do the matching independent of encoding?

Direct matching has the drawback that spaces are converted to
underscores in quoted-printable, so I would have to find some substring
replacement functionality on top of that (is that even possible?).

More information about the Info-cyrus mailing list