Roundcube Community Forum

 

how to add more than one domain name on roundcube

Started by tik@nast, July 28, 2009, 01:08:18 AM

Previous topic - Next topic

tik@nast

i'm a new member and also new for using roundcube, i installed roundcube with xampp(database) and Hmailserver. due to my work place that need to provide account in many domain so i don't know the step to configure my roundcube to run for many domains in one server.

tik@nast

when i try to configure 2 domain in the main.inc.php file by put the command below:
$rcmail_config['include_host_config'] = array(
  'mail.tik.net' => 'tik.inc.php',
  'mail.nast.com' => 'nast.inc.php'
);

and then i copy the main.inc.php file and remame is as tik.inc.php and nast.inc.php and change a little bit configure such as:
1. $rcmail_config['default_host'] = 'mail.tik.net';
2.$rcmail_config['username_domain'] = 'tik.net';
3.$rcmail_config['smtp_server'] = 'mail.tik.net';
4.$rcmail_config['smtp_helo_host'] = 'mail.tik.net';
by now i can't not go to the phpmyadmin page so it's getting error to connect with the database. please give me some advice

JohnDoh

i dont really see how changing your RC config would affect access to phpmyadmin could you give us some more info?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

tik@nast

now, i reinstall all again, so i would like you to give me some advice how to configure RC if i want it to use for multiple domain, my RC work with XAMPP and hmailserver

thanks

JohnDoh

do all your domains connect to the same imap server? if they do then probably all you need to change is:
$rcmail_config['username_domain']
$rcmail_config['mail_domain']
and you can use a little bit of php to generate the values for those based on the URL used to access the site. If you are not sure how to do that please search the forum there are lots of examples.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...