My imap system accepts any e-mail address tied to my domains. It's quite efficient that way. But now the user has to enter the full e-mail address to sign in. Instead I want them to enter the username and select the domain, defaulting to the main domain. However I got confused when I went to Roundcube's login object... so I don't know exactly how to accomplish this.
Any ideas?