Hi,
I am running Postfix, Dovecot and MySQL on my Ubuntu Server 12.04. I'd like to use RoundCube mail as my webmail. I have already installed it on my system. I am using virtual users, I need to configure it for virtual users. I read in Howto_Config page, I found it saying (I quote) "Since 0.4 this requires enabling of appropriate plugins". My question is whether or not I need to install plugin for virtual users OR can i just type the following in main.inc.php file
$rcmail_config['virtuser_file'] = '';
$rcmail_config['virtuser_query'] = "SELECT email_address FROM USERS WHERE login = '%u'";
For a test purpose, I have inserted a new user into USERS in MySQL.
Any help would be greatly appreciated.
Thank you in advance
I'm not an expert in the virtual user setup, but you'll need to enable the virtuser_file or virtuser_query plugin depending on your setup.
Thank you for your reply.
Sorry, could I clarify with you? are you saying that both virtuser_file and virtuser_query plugins are already installed and it's just a matter of enabling them. Am I correct? Sorry for being slow to understand you.
My setup is pretty standard. I haven't done anything apart from configuring SMTP and IMAP. The rest settings I left them as they are by default.
Thank you once again
Both plugins come with the default install of RoundCube they just have to be enabled. I'm not sure you need to enable both of them I think you just need to enable to method your using (ie. if you using the database enable the virtuser_query plugin) To enable it add the plugin name to the plugins array in the main.inc.php file.
Hi!
As i understand the two plugins one is for a non-mysql-postfix installation and one is for a mysql-postfix-installation.
Currently i am using a non-mysql-postfix installation so i got a file for the virtual users and only one plugin enabled...
Rgds.
Thank you all.
Got it to work already. Yes, I just need one plugin which is virtuser_query.
Thanks again
You are welcome...
;)