Hi!
Let's imagine that my webmail is installed on wm.domain1.com.
From that installation I want to check email of domain2.com.
I followed what's written here (Howto_Config ? Roundcube Webmail (http://trac.roundcube.net/wiki/Howto_Config)) on the last point.
That means that I added these rows to the main config file:
$rcmail_config['include_host_config'] = array(
'mail.domain1.com' => 'domain1_config.inc.php',
'mail.domain2.com' => 'domain2_config.inc.php'
);
Then I have created the file domain2_config.inc.php with this content:
// ----------------------------------
// IMAP
// ----------------------------------
$rcmail_config['default_host'] = 'imap.domain2.com';
?>
Then I tried to login with one of the accounts setted up on domain2.com butI cant login. Do I have to do anything more?
Thanks in advance!
d
QuoteThen I tried to login with one of the accounts setted up on domain2.com butI cant login.
Please provide more information.... is there anything in the rc error log ([rc root]/logs/errors)? is there anything in your imap server log? can you login to the same server using the same creds from a different client?
include_host_config is depends to $_SERVER['HTTP_HOST'] not $rcmail_config['default_host']
e.g.
$rcmail_config['include_host_config'] = array(
'mail.domain1.tld' => 'mail.domain1.tld.inc.php',
'mail.domain2.tld' => 'mail.domain2.tld.inc.php'
);
When you enter the site http://mail.domain1.tld mail.domain1.tld.inc.php file is read. And when you enter the site http://mail.domain2.tld then mail.domain2 file is read.