Author Topic: What is the virtuser table  (Read 5934 times)

Offline bugler

  • Jr. Member
  • **
  • Posts: 54
What is the virtuser table
« 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.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: What is the virtuser table
« Reply #1 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.
 
  

Offline bugler

  • Jr. Member
  • **
  • Posts: 54
Re: What is the virtuser table
« Reply #2 on: February 27, 2007, 04:19:38 AM »
Hi,

thanks for your answer.

Ed.

Offline Les

  • Newbie
  • *
  • Posts: 1
Re: What is the virtuser table
« Reply #3 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

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: What is the virtuser table
« Reply #4 on: May 05, 2007, 04:55:45 PM »
Thanks for the input. I didn't know about that!!