Hi!
Let's imagine that my webmail is installed on webmail8.local.
From that installation I want to check email of domain2.com and domain3.com
I followed what's written here (Howto_Config ? Roundcube Webmail) on the last point.
That means that I added these rows to the main config file:
$rcmail_config['default_host'] = array(
'domain2.com' => 'local',
'domain3.com' => 'internet');
$rcmail_config['include_host_config'] = array(
'domain2.com' => 'domain2_config.inc.php',
'domain3.com' => 'domain3_config.inc.php'
);
Then I have created the file domain2_config.inc.php with this content:
<?php
// ----------------------------------
// IMAP
// ----------------------------------
$rcmail_config['smtp_server'] = 'domain2.com';
And I have created the file domain3_config.inc.php with this content:
<?php
// ----------------------------------
// IMAP
// ----------------------------------
$rcmail_config['smtp_server'] = 'domain3.com';
Then I tried to login with one of the accounts setted up on domain2.com or domain3.com but I cant login. Do I have to do anything more?
include_host_config is depends to $_SERVER['HTTP_HOST'] not $rcmail_config['default_host']
e.g.
Thanks in advance!