Re: Can case-folding for lookup tables be disabled?

2021-11-21 Thread Viktor Dukhovni
On Sun, Nov 21, 2021 at 01:42:49PM -0800, Mel Pilgrim wrote: > > But at this point it is unclear who's relying on the current behaviour, > > so changing LDAP to not case by default does not seem like a safe > > choice. It would be easy to customise just the LDAP driver to > > take an extra named

Re: Can case-folding for lookup tables be disabled?

2021-11-21 Thread Mel Pilgrim
On 2021-11-20 22:03, Viktor Dukhovni wrote: On Sat, Nov 20, 2021 at 07:37:56PM -0800, Mel Pilgrim wrote: I need Postfix to be case-preserving. Postfix does not change the case of recipient addresses unless you rewrite them (virtual(5) or local aliases). Earlier you said you want

Re: Can case-folding for lookup tables be disabled?

2021-11-20 Thread Viktor Dukhovni
On Sat, Nov 20, 2021 at 07:37:56PM -0800, Mel Pilgrim wrote: > I need Postfix to be case-preserving. Postfix does not change the case of recipient addresses unless you rewrite them (virtual(5) or local aliases). Earlier you said you want case-sensitive map lookups (preserve case of table lookup

Re: Can case-folding for lookup tables be disabled?

2021-11-20 Thread Mel Pilgrim
On 2021-11-20 15:20, Wietse Venema wrote: Viktor Dukhovni: On Sat, Nov 20, 2021 at 11:05:25AM -0500, Wietse Venema wrote: - If you must use other tables, update src/util/dict.h #define DICT_FLAG_FOLD_FIX (0) /* case-fold key with fixed-case map */ #define DICT_FLAG_FOLD_MUL (0) /*

Re: Can case-folding for lookup tables be disabled?

2021-11-20 Thread Wietse Venema
Viktor Dukhovni: > On Sat, Nov 20, 2021 at 11:05:25AM -0500, Wietse Venema wrote: > > > - If you must use other tables, update src/util/dict.h > > > > #define DICT_FLAG_FOLD_FIX (0) /* case-fold key with fixed-case map */ > > #define DICT_FLAG_FOLD_MUL (0) /* case-fold key with

Re: Can case-folding for lookup tables be disabled?

2021-11-20 Thread Viktor Dukhovni
On Sat, Nov 20, 2021 at 11:05:25AM -0500, Wietse Venema wrote: > - If you must use other tables, update src/util/dict.h > > #define DICT_FLAG_FOLD_FIX (0) /* case-fold key with fixed-case map */ > #define DICT_FLAG_FOLD_MUL (0) /* case-fold key with fixed-case map */ > > This will

Re: Can case-folding for lookup tables be disabled?

2021-11-20 Thread Wietse Venema
Viktor Dukhovni: > On Fri, Nov 19, 2021 at 05:07:21PM -0800, Mel Pilgrim wrote: > > > I read in transport(5), virtual(5), et al that Postfix will case-fold > > query strings, but for one specific project I need it to not do that. > > Are there any tunables for this? I didn't see anything in

Re: Can case-folding for lookup tables be disabled?

2021-11-19 Thread Viktor Dukhovni
On Fri, Nov 19, 2021 at 05:07:21PM -0800, Mel Pilgrim wrote: > I read in transport(5), virtual(5), et al that Postfix will case-fold > query strings, but for one specific project I need it to not do that. > Are there any tunables for this? I didn't see anything in postconf -d > output that

Can case-folding for lookup tables be disabled?

2021-11-19 Thread Mel Pilgrim
I read in transport(5), virtual(5), et al that Postfix will case-fold query strings, but for one specific project I need it to not do that. Are there any tunables for this? I didn't see anything in postconf -d output that looked related. The short explanation is that I need to be able to do