I think it would work better for us if there was only one user record 
per actual user, but then any number of mail accounts associated with 
that user record.  However I suspect that your current setup also works 
well for others who are not in the same setup as a university, but 
instead they are maybe a hosting provider (because then they don't need 
to worry about name space collisions).

Todd


A.L.E.C wrote:
> http://trac.roundcube.net/ticket/1486386
>
> What do you think about that. We're storing username and mail_host in 
> users table and then checking both. This is problematic. I assume that 
> it's done this way because in some environments username is a login not 
> email address, but maybe  (in rcube_user::query) instead of
>
> SELECT * FROM users
> WHERE mail_host=? AND username=?
>
> we should use
>
> SELECT * FROM users
> WHERE username=?
>
> when username is an email address.
>
>   

-- 
------------------------------------------
Todd Trann, B.E., B.Sc.
Portal Technical Lead
Information Technology Services
University of Saskatchewan
Ph. (306) 966-2610
Fax (306) 966-4938

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to