<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'><div>>Before you start, maybe it's a good idea to look at the current 3.1 documentation which is being rewritten. The old 3.0 doesn't cover >the multi domain setup that clear.<div><a href="http://hosted.kolabsys.com/~vanmeeuwen/build/html/index.html" target="_blank">>http://hosted.kolabsys.com/~vanmeeuwen/build/html/index.html</a><br>><br>>You should look into the scripts if Timotheus as well, to see what kind of config changes are needed for an initial multi domain setup >(like cyrus canonization, ldap changes, etc)</div><div><a href="http://www.tbits.net/tbits-opensource/kolab3multipledomains.html" target="_blank">>http://www.tbits.net/tbits-opensource/kolab3multipledomains.html</a></div><div><a href="https://github.com/tpokorra/kolab3_tbits_scripts/tree/master/kolab3.1" target="_blank">>https://github.com/tpokorra/kolab3_tbits_scripts/tree/master/kolab3.1</a></div><div><br>Thanks for your response, but I've already created a hosted environment following all this guides, but it was under kolab 3.0. And everything was working perfectly.<br><br>Now I'm trying to recreated the same environment but with packages from kolab 3.1. <br><br>As far as I now, roundcube has been updated to roundcubemail-1.0-0. It looks like some files have changed, for example, main.inc.php does not exists anymore and it has been replaced by config.inc.php.<br>After this update It seems something have changed and creating subfolders with domain name to point the domain_base_dn does not work anymore, at least, it's not working in my installation.<br><br>My question is, has someone created a hosted environment with kolab 3.1 dev? how roundcube multidomain management works? There is no info in kolab 3.1 documentacion, neither in ruondcube documentation.<br><br>Anyway, I find a way to simulate the behaviour I'm looking for, it is including this code:<br><br>$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><br>it create dinamically the $domain_base_dn based on the $_SERVER["HTTP_HOST"];<br><br> <a href="http://domani.example.com" target="_blank">http://domain.example.com</a> will become dc=domain,dc=example,dc=com<br><br>I think it has some advantages, for example, if I create a new domain in my environment I dont' have to create a new directory in roundcube folder each time. But I'm not sure if it's good to add this kind of code in roundcube config files.<br><br>Thanks & Regards.<br><br>Manel.<br></div><br></div> </div></body>
</html>