Roundcube Community Forum

Third Party Contributions => Old Style Plug-Ins => Topic started by: rmbl on December 25, 2007, 11:14:38 AM

Title: Login with username + password and (theoretically) multiple imap/smtp accounts
Post by: rmbl on December 25, 2007, 11:14:38 AM
This is only a Proof of Concept at the moment!

Hi,

I hacked around with roundcube over the holidays because I don't like the current login system with email/login + password for each server, and tried to change the login to a (standard) username + password one. Because of the changed SQL format I used there is also the possibility to add several imap/smtp accounts to a single user.
At the moment, this is only a small proof of concept without any helping administration functions. So if you want to add a user or an email account you need to do this by hand (through phpmyadmin or raw sql). Adding such tools is the next item on my to-do list.

So why do i even post this in such an early state?
I am only using rc since a week and haven't done much php stuff in the last year (and not much before that :D). Because of that i am happy if anyone is taking a look at my code and can give me tipps or help me fix a bug.

And how can i test it (aka install it)?
The .zip attachment contains a patch file and a SQL file. The patch contains all changes to the roundcube code (SVN r944) and the SQL file is a changed version of mysql5.initial.sql (mysql5 is the only sql i currently got installed so i am only supplying this file). The probably best thing is to use a fresh installation of roundcube, patch it and create a new database with the sql file.

Updates:

v2:
- Fixed several display bugs
- Fixed folder settings (didn't display correctly because no imap connection could be established)
- Added Email account settings dialog to the Personal Settings menu
- Added some custom translation strings (only to the en_US translation atm)
Title: Re: Login with username + password and (theoretically) multiple imap/smtp accoun
Post by: udi111 on February 21, 2008, 07:49:22 PM
This is exactly what I need!
thx
Title: Re: Login with username + password and (theoretically) multiple imap/smtp accoun
Post by: francesco_r on March 11, 2008, 07:50:03 AM
I have patched my roundcube installation with this patch and works well, i can login using the user created with phpmyadmin, and i have also created an imap account to this user. How can i add other imap accounts to the same user?
Thank you
Title: Re: Login with username + password and (theoretically) multiple imap/smtp accounts
Post by: rmbl on March 16, 2008, 02:00:24 PM
This is currently not implemented because i havent got that much time lately. But i might work on this in the next week as i got some free days.
Title: Re: Login with username + password and (theoretically) multiple imap/smtp accoun
Post by: francesco_r on March 18, 2008, 05:58:13 PM
OK, thank you for your work.
Title: Re: Login with username + password and (theoretically) multiple imap/smtp accounts
Post by: jp2k on March 27, 2008, 08:29:45 AM
I'm currently fiddling around with a account switcher, based on "Display Imap User" (http://roundcubeforum.net/forum/index.php?topic=2768.0). I'll post the results as soon as it's finished ...
Title: Login with username + password and (theoretically) multiple imap/smtp accounts
Post by: dante33 on February 16, 2009, 02:04:14 PM
So finally, is anybody success to use a virtual user to log on several imap servers ?