Roundcube Community Forum
Recycle Bin => Recycle Bin => Topic started by: bugler on February 24, 2007, 03:03:15 AM
-
Hello all roundcube lovers.
When logging in you find code like this:
// try to resolve email address from virtuser table
if (!empty($CONFIG['virtuser_file']) && strstr($user, '@'))
$user = rcmail_email2user($user);
Anyone can tell me what the virtuser table is about?
Thanks.
-
The virtuser table "maps" aliases to email addresses. This way users can log in with "bugler" instead of "boogiewoogybuglerboyofcompanyb@military.net"
I'm not sure how to even create one as it's typically a linux thing.
-
Hi,
thanks for your answer.
Ed.
-
I realize this is an older topic but the virtusers table can be used in a more useful way than just aliases.
Currently, the virtuser table is the only way you can integrate roundcube in with a virtual user email address setup. It'll pull out the username from the database 'ie, foo@bar.org' and send it off to the email systems authentication system along with the password provided.
Its the only way to get roundcube to work for those of us who have setup so-called 'isp-style' email systems!
Very simple but powerful features I'd miss if it wasn't there :)
-- Les
-
Thanks for the input. I didn't know about that!!