Different handling of upper and lower case while indexing/searching with Solr

Aki Tuomi aki.tuomi at open-xchange.com
Thu Feb 10 10:25:42 UTC 2022


> On 10/02/2022 11:58 Patrik Peng <patrik.peng at hostpoint.ch> wrote:
> 
>  
> On 10.02.22 10:43, Aki Tuomi wrote:
> > Probably easiest fix is to fix the users in database to all lowercase, as you are likely returning `user` attribute in your SQL queries.
> We thought about this as well, but there are 500+ affected accounts and 
> they are used by our customers which would mean for each of them to 
> reconfigure all their clients.

You can configure dovecot with

auth_username_format=%Lu

which downcases the username provided by the customer, as well.

Aki


More information about the dovecot mailing list