[Dovecot] Make user name CaSe Insensitive
Timo Sirainen
tss at iki.fi
Mon Aug 7 23:49:38 EEST 2006
On 7.8.2006, at 23.45, FlashWebHost.com wrote:
>> password_query = select user, password, ..
>> ie. make it return the "user" field as in the database.
>
> I have tried this.
>
> password_query = SELECT username as user, password FROM mailbox WHERE
> username = '%u' AND active=1
>
> But it do not make the user name case insensitive. I can login with
> CAPITAL and small letter user names and getting two different inboxes.
Well, that should have worked. What Dovecot version are you using?
Probably won't work with 0.99, but should work with 1.0rcs. Or what
do you use as user_query? Maybe try enabling auth_debug and see what
it shows.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060807/d5e12d1f/attachment.pgp
More information about the dovecot
mailing list