To enable interdomain communication with prefilled contact-lists(rosters)

To enable interdomain communication with prefilled contact-lists (rosters)



Problem:

To enable interdomain communication with prefilled contact-lists (rosters)

Solution:

In case you want to communicate between users on a Multi-Tenancy Zimbra-Installation across domains, you have two options how to achieve this :

Option1:

Fill up the distribution lists correctly

To display other domain's users, you need to fullfill the following requirements :

  • To be able to see other domain's users, they need to be in a distribution list of your domain, which puts them into your roster, when the name suits your ldap-filer, which per default is set to all.
  • to see their online state, the other domain's user must have your account in its roster as well, meaning your account must be member of a distribution list in their domain.

This can be done by adding the remote domain users in the distribution list where your account is member in or, when you like to have them in another group, create another dl, named _<desired-groupname>@yourdomain.tld and add the remote domain accounts there.

The same must be done with your domain's accounts to a distribution-list of the remote domain, which then will appear a group in the remote domain users contact list.

Example

let's assume we have domain1.com and domain2.com as domains with the two example users :

alice@domain1.com
bob@domain2.com

To see each other in the contact list, a setup could look like this:

 _________________________________________________
|Distribution-list           |  member            |
|____________________________|____________________| 
|users@domain1.com           |  alice@domain1.com |
|____________________________|____________________|
|users@domain2.com	     |  bob@domain2.com   |
|____________________________|____________________|
|domain2-users@domain1.com   |	bob@domain2.com   |
|____________________________|____________________|
|domain1-users@domain2.com   |	alice@domain1.com |
|____________________________|____________________|

This way you have the users grouped in the contact-lists per domain.

Option2:

Extent ldap-search to assemble the roster beyond own domain

  • Assuming again we have the two domains:
domain1.com
domain2.com
  • Modify the two files:
sudo vi /etc/prosody/conf.d/domain1.com.cfg.lua
sudo vi /etc/prosody/conf.d/domain2.com.cfg.lua
  • Look for the line
ldap_base =

and replace the value by a comon sub-domain. Since your domains have nothing in common, except the "com", just replace in each config file that value by "dc=com" or just "" to cover all domains on the zimbra-environment.

For domain1.com.cfg.lua, replace

"dc=domain1,dc=com" 

by

"dc=com"

after saving the file(s), just apply the changes by restarting prosody:

sudo service prosody restart


Raunaq Malik

"Raunaq Malik" <rmalik@zimbra.com>

Jump to: navigation, search