7 Aug
2006
7 Aug
'06
11:18 p.m.
On 7.8.2006, at 23.11, FlashWebHost.com wrote:
I have mail box info@mydomain.com stored in MySQL db.
But dovecot is allowing me to login as both
INFO@MYDOMAIN.COM info@mydomain.com
Shows two mail boxes. The small letter account is the one mail server really deliver all mails.
Is there any way i can specify all login names are small letters, so that user always access real mail box ?
One way would be to allow both, but change the username to the
correct case:
password_query = select user, password, ..
ie. make it return the "user" field as in the database.
Another way would be to change the SQL query to do case sensitive
comparision instead of .. where user = '%u'. I don't remember how
exactly this was done with MySQL, see its documentation.