<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<br><br>Waiting for some response about how to solve the problem accessing roundcube under multidomain installation, I've made the following modification to "simulate" the behaviour I'm looking for.<br><br>I've added the following code at the beginning of config.inc.php and kolab_auth.inc.php<br><br><blockquote>$server = $_SERVER["HTTP_HOST"];<br>$dn = explode('.',$server); <br>$count = count($dn);<br>$domain_base_dn = "dc=$dn[0]";<br>$i = 1;<br>while ($i < $count){<br>   $domain_base_dn = $domain_base_dn . ",dc=$dn[$i]";<br>   $i++;<br>}<br></blockquote><br>this provides me the $domain_base_dn I'm looking for depending on the "HTTP_HOST".<br><br>Do you think this kind of code is not correct to have inside these files? <br><br>Thanks & Regards.<br><br>Manel<br><br><div><hr id="stopSpelling">From: magiza83@hotmail.com<br>To: kolab-devel@kolab.org<br>Date: Mon, 28 Oct 2013 09:38:26 +0100<br>Subject: [Kolab-devel] roundcube 1.0-0.16 multidomain kolab 3.1<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Hello,<br><br>I've installed last development version with packages:<br><br>roundcubemail-plugins-kolab-3.1.5-2.el6.kolab_3.1.noarch<br>roundcubemail-1.0-0.16.dev20131016.git26830d.el6.kolab_3.1.noarch<br><br>and I'm not able to run a hosted domain solution with this version. I've followed two kolab 3.0 guides trying to adapt it for kolab 3.1 changes<br><br>http://docs.kolab.org/es-ES/Kolab_Groupware/3.0/html/Administrator_Guide/chap-Administrator_Guide-Hosted_Kolab_Groupware_Setup.html<br><br><a href="http://bmts.us/wiki/article:kolab:multidomain" target="_blank"></a><a href="http://bmts.us/wiki/article:kolab:multidomain" target="_blank"></a><a href="http://bmts.us/wiki/article:kolab:multidomain" target="_blank">http://bmts.us/wiki/article:kolab:multidomain</a><br><br>the changes made are:<br><br><ul><li>In roundcube directory, create directories with hosted hostname name<br></li><li>create files config.inc.php and kolab_auth.inc.php inside new directories:</li><ul><li><?php $domain_base_dn='dc=example,dc=domain,dc=es';<br></li></ul><li>edit config.inc.php and kolab_auth.inc.php and replace domains to point:  $domain_base_dn</li><li>add domain config in /etc/kolab/kolab.conf<br><br></li></ul>NOTE: it looks like it not necessary change RCMAIL_CONFIG_DIR for RCUBE_CONFIG_DIR.<br><br>Any help about how to configure it correctly?<br><br>Thanks<br><br>Manel<br>                                        </div>
<br>_______________________________________________
devel mailing list
devel@lists.kolab.org
https://lists.kolab.org/mailman/listinfo/devel</div>                                        </div></body>
</html>