There's certainly a lot of work to be done in order to properly implement such a features. The killer question I'd like to ask: how do you log into such a multi-imap-account account? Would you log-in to, let's say, a "primary" account which then has some "child" IMAP accounts configured including their passwords? Currently, Roundcube doesn't store account passwords (except in session data) and there are good reasons not to do so. But on the other hand, typing in several passwords when logging into Roundcube doesn't seem to be very user friendly either.
One other question: what products do you mean when saying "it's the only way to be a valid alternative to others webmail products". I don't know of many OSS webmail solutions that support multiple accounts.
~Thomas
On Tue, Oct 18, 2011 at 16:44, Enrico Bassetti enrico.bassetti@q4q5.it wrote:
Hi *,
in my company we are about to switching from desktop client to Roundcube. I've no problem at all with Roundcube, except when talking about users with multiple imap accounts.
Now, following the Plugin Repository page and the ticket #1484075 I installed a plugin to achieve this and it works very well, with one big "problem": how it works.
Let me explain: the plugin works with session info, replacing them when the user choose a different account from the drop-down list (and consequently the browser refresh the page), like logout->autologon. I know that's the only way to do this switch with a plugin, and this is not a criticism to this useful code, but it's a workaround.
So I think that Roundcube needs to change how it's structured to allow N server connections. And we can also use an abstraction layer in order to allow people to write "server plugin" to retrieve e-mails (I'm thinking about the bad IMAP implementation of Google, or POP3 leave-on-the-server
- useful when you don't have IMAP, or other protocols - like MS
Exchange).
I know that it sounds like trasform Roundcube into a complex webapp instead of a simple webmail, but I think that it's the only way to be a valid alternative to others webmail products.
I've hacked a bit of Roundcube code to build a custom version that allows switching IMAP connections like the plugin above, but also shows the folder list and take that updated with unreaded message count, like a real desktop software (there is no really multiple connections, my code switch between IMAPs account like the plugin mentioned when the user click on a folder). The problem is that I've added hooks and a bit of code outside the plugin (there is no other way), so it's very ugly and non-portable solution.
I can help with programming, so if you think that RC core can be modified to allow multiple account, I can write down some code.
Enrico
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Q2/oZkn1AKO/signature.asc Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/ BT/0ddf6350
List info: http://lists.roundcube.net/dev/ BT/aba52c80