Roundcube Community Forum

Recycle Bin => Recycle Bin => Topic started by: bugler on February 24, 2007, 03:03:15 AM

Title: What is the virtuser table
Post by: bugler on February 24, 2007, 03:03:15 AM
Hello all roundcube lovers.

When logging in you find code like this:

Code: [Select]
// 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.
Title: Re: What is the virtuser table
Post by: bpat1434 on February 26, 2007, 08:21:34 AM
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.
Title: Re: What is the virtuser table
Post by: bugler on February 27, 2007, 04:19:38 AM
Hi,

thanks for your answer.

Ed.
Title: Re: What is the virtuser table
Post by: Les on April 11, 2007, 04:02:38 AM
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
Title: Re: What is the virtuser table
Post by: bpat1434 on May 05, 2007, 04:55:45 PM
Thanks for the input. I didn't know about that!!