Sieve test string and case sensitivity

Stephan Bosch stephan at rename-it.nl
Mon May 25 10:49:45 EEST 2020



On 22/05/2020 15:37, Kim Minh Kaplan wrote:
> Hello,
>
> I have found that Pigeonhole comes with an extensive testsuite against
> the Sieve RFCs. As I am working on a personal Sieve project I decided to
> run my tool on this testsuite and it stumbled on "Basic assignment:
> string test failed"[1].
>
> Pigeonhole defaults to comparator "i;octet"[2] for the string test. But
> Sieve says that the default comparator should be "i;ascii-casemap"[3].
> Did I miss some other part of the standard? Can you point me in the
> right direction?
>
> Thank you,
> Kim Minh.
>
>     [1]: https://github.com/dovecot/pigeonhole/blob/master/tests/extensions/variables/basic.svtest#L102
>     [2]: https://github.com/dovecot/pigeonhole/blob/master/src/lib-sieve/plugins/variables/tst-string.c#L92
>     [3]: https://tools.ietf.org/html/rfc5228#section-2.7.3

Looks like you found an ancient bug. Tracking internally as DOP-1902.

Regards,

Stephan.


More information about the dovecot mailing list