SVN Releases > Issues & Bugs

Virtual users

(1/1)

amaze646:
Hello,

im trying to get virtual users to work. I would like to achive that user could have only identities that are clients address or aliases. Those are in different database, not roundcube one.

Bellow is what I have in my config.inc.php. I have debug enabled for sql also but I cant see any errors, nore querys on mail database.

$config['virtuser_query_dsn'] = 'mysql://mailrc:asdasdasd@1.1.1.1/mail';
$config['virtuser_query'] = 'SELECT address FROM mail.users WHERE username=%u';

$config['plugins'] = array(
        ....
        'virtuser_query',
        ....
);

I also tryed like:
$config['virtuser_query'] = array('email' => 'SELECT address FROM mail.users WHERE username=%u');

Nothing works.

Thank you and kind regards

JohnDoh:

--- Quote ---I would like to achive that user could have only identities that are clients address or aliases
--- End quote ---
Are you talking about logins or identitites? The virtuser_query plugin is for login aliases.

Navigation

[0] Message Index

Go to full version