Roundcube Community Forum

 

What is the virtuser table

Started by bugler, February 24, 2007, 03:03:15 AM

Previous topic - Next topic

bugler

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.

bpat1434

The virtuser table "maps" aliases to email addresses. This way users can log in with "bugler" instead of "[email protected]"

I'm not sure how to even create one as it's typically a linux thing.
 
 

bugler


Les

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, [email protected]' 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

bpat1434

Thanks for the input. I didn't know about that!!