[Dovecot] Case sensitive nightmare

Timo Sirainen tss at iki.fi
Mon Dec 12 19:48:35 EET 2005


On Sun, 2005-12-11 at 16:34 -0800, Erik Petersen wrote:
> password_query = SELECT password FROM mailbox WHERE username='%u'

One way to solve this would be to use:

password_query = select password, username as user from mailbox where
username = '%u'

Then Dovecot internally changes the username to same casing as it's in
the SQL database.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051212/b54de05e/attachment.pgp


More information about the dovecot mailing list