Adding domains to Carbonio GAL

Previously, we talked about how Carbonio organizes the connection of a global address book – a list of users of the entire domain, so that users can effectively correspond with each other, finding the necessary contacts using various parameters and without remembering long email addresses. But what if the administrator is faced with the task of expanding the list of contacts available to users by adding users from other domains? In this manual we will look at how this is done in Carbonio.

These instructions are suitable for users of the commercial version of Carbonio and for users of the free Carbonio Community Edition.

Let us remind you that in Carbonio, in each created domain, a technical account galsync@%domain% automatically appears, which already has an address book _InternalGAL, to which all new accounts appearing in the domain are automatically added. Access to this address book is automatically granted to all domain users and they can all manually mount this address book in their account.

Connecting GAL with all server users

One of the most common situations, especially in an on-premise environment, is connecting a global address book that includes users from all mail domains that exist on the Carbonio server.

This task can be solved quite simply by editing an already existing InternalGal data source. The fact is that the parameter is responsible for searching in this data source zimbraGalInternalSearchBasewhose default value is set to DOMAIN.

This means that only those users who are in the domain will be included in the GAL. In order for all users to be included in the GAL, you must change the value of this parameter to ROOT. This is done using the following command:

carbonio prov modifyDomain carbonio.local zimbraGalInternalSearchBase ROOT

When running the command on your infrastructure, replace carbonio.local with your domain name.

After running this command, force the galsync address book to synchronize.

zmgsautil forceSync -a galsync@carbonio.local -n InternalGAL

Immediately after this, the list of accounts in the _InternalGAL address book will be updated. It will also be updated for users who have connected this address book to their account.

If you want users in all domains to see server-wide users in the GAL, you can automate this process by setting the global setting to the appropriate value.

carbonio prov modifyConfig zimbraGalInternalSearchBase ROOT

After this, the GAL of all domains created on the server will automatically display all users on the server

Connecting GAL with subdomain users

If you need to add users from subdomains to the domain GAL, you can use an approach similar to what was done before, changing the zimbraGalInternalSearchBase setting value to SUBDOMAINS:

carbonio prov modifyDomain carbonio.local zimbraGalInternalSearchBase SUBDOMAINS

After this, users of child domains, such as, for example, mail.carbonio.local, will be added to the GAL of the carbonio.local domain.

Force a galsync address book sync to see changes instantly.

zmgsautil forceSync -a galsync@carbonio.local -n InternalGAL

This approach can be used in hierarchically structured enterprises, such as companies with branches and a head office. The mail domain of the head office can be the main one, and the branch domains can be subdomains, which will ensure visibility of contacts for branches within their domain, and for the head office a complete list of contacts in all branches of the company.

To automate the process, you can also use a global setting so that all domains and subdomains that are created are automatically built into the GAL hierarchy.

carbonio prov modifyConfig zimbraGalInternalSearchBase SUBDOMAINS

The SUBDOMAINS value includes the domain itself, so if you assign it to a mail domain that has no subdomains, the effect of using it will be no different from the DOMAIN value

Connecting GAL with users of different domains

If domain users need to organize access to the GAL of two different domains on one server, the easiest way to implement this would be to grant access rights to the desired address book to the entire domain.

For example, let's grant read rights to the global address book of the test.domain domain to users of the carbonio.local domain using the following command:

zmmailbox -z -m galsync@test.domain mfg "/_InternalGAL" domain carbonio.local r

The result will be an address book available for connection in the account of each domain user

Note that rights to additional GAL address books can be granted not only to a domain, but also to individual users, as well as to static and dynamic distribution lists, which allows the administrator to flexibly configure the availability of additional GALs to users.

Thus, GAL management in Carbonio is quite flexible and convenient for the administrator, since it allows you to freely connect global address lists to different domains and even automate their mounting in user mailboxes.

For questions regarding testing, purchasing, licensing and consultations, please contact sales@svzcloud.ru to exclusive partner Zextras.

You can get information and exchange information about Carbonio CE in Telegram groups CarbonioMail And Carbonio CE Unofficial

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *