connect to imap backend via login name
|Reported by:||ncopa||Owned by:|
Would be nice if it would be possible to use one roundcube install for multiple imap backends based on the email address.
When connecting to the imap backend you pick the domain part of login name (which is email address), prefixes it with a configrable prefix and use the result as the imap server backend.
Lets for example say that you have the subdomains:
And $imap_prefix is set to 'imaps.'
When user@ sub1.example.com logs in, the imap backend will be 'imaps.sub1.example.com' and wen bob@ sub2.example.com logs in the imap backend will be 'imaps.sub2.example.com'.
There could be a configurable whitelist regex or something so you can say only try to connect to '*.example.com'.
This feature could help large organisations with many subdomains and many imap servers.
PS. I tested this some time ago. Was fairly easy to get it working. biggest issue is the configuration part.