Roundcube Community Forum

Release Support => Pending Issues => Topic started by: pjamedia on March 18, 2009, 07:07:41 AM

Title: Having problem getting virtual users to work
Post by: pjamedia on March 18, 2009, 07:07:41 AM
I have created a virtuser table in my MySQL database with 2 fields:

Field            Type              Null       Key        Default
login                  varchar(20)  NO     PRI              NULL    
email_address    varchar(50)    NO                   NULL

I have one record with my virtual user name in the login field and my e-mail address (actual IMAP login name) in the email_address field

I have amended main.inc.php with the line:

$rcmail_config['virtuser_query'] = "SELECT email_address FROM db279794477.virtuser WHERE login = '%u'";

When I try to login using my virtual user name and normal password for this e-mail account, it refuses login with the popup message: Connection to IMAP server failed.

I also have the default IMAP server specified as:

$rcmail_config['default_host'] = 'imap.1and1.co.uk';

and:

$rcmail_config['auto_create_user'] = TRUE;

Any ideas?

Thanks, Paul
Title: Having problem getting virtual users to work
Post by: pjamedia on March 20, 2009, 12:42:08 PM
what noone have any advice?