Hi Wietse

Great! So it looks like it has been fixed in later versions of Postfix...

I'm guessing the Postfix version in Debian won't receive this fix anytime
soon? Still at 3.1.8 there.
Not sure if this bug is something that they would/should backport?
But perhaps that's a question for some kind of Debian mailing list instead..

Thank you for figuring out my problem.

Kind regards
Wesley S.

Op vr 28 dec. 2018 om 00:29 schreef Wietse Venema <wie...@porcupine.org>:

> Fixed in Postfix 3.4, but for some reason never made it into
> the Postfix stable releases. Fixed by adding one set of ().
>
> 20180707
>
>         Bugfix (introduced: Postfix 3.0): with smtputf8_enable=yes,
>         table lookups could casefold the search string when searching
>         a lookup table that does not use fixed-string keys (regexp,
>         pcre, tcp, etc.). Historically, Postfix would not case-fold
>         the search string with such tables. File: util/dict_utf8.c.
>
> --- dict_utf8.c 2015-02-03 11:19:19.000000000 -0500
> +++ ../../../postfix-3.4-20181226/src/util/dict_utf8.c  2018-07-07
> 17:07:00.000000000 -0400
> @@ -104,8 +109,9 @@
>      /*
>       * Casefold UTF-8.
>       */
> -    if (fold_flag != 0 && (fold_flag & (dict->flags & DICT_FLAG_FIXED) ?
> -                          DICT_FLAG_FOLD_FIX : DICT_FLAG_FOLD_MUL)) {
> +    if (fold_flag != 0
> +       && (fold_flag & ((dict->flags & DICT_FLAG_FIXED) ?
> +                        DICT_FLAG_FOLD_FIX : DICT_FLAG_FOLD_MUL))) {
>         if (dict->fold_buf == 0)
>             dict->fold_buf = vstring_alloc(10);
>         return (casefold(dict->fold_buf, string));
>
>

-- 
*Synio*
*Ilgatlaan 9*
*3500 Hasselt*
*0477 71 79 25*

Reply via email to