Skip to content

Latest commit

 

History

History
230 lines (140 loc) · 8.09 KB

HAB.adoc

File metadata and controls

230 lines (140 loc) · 8.09 KB

Hierarchical Address Book (HAB) in {product-family}

What is a HAB?

The hierarchical address book (HAB) allows users to look for recipients in their address book using organizational hierarchy. Typically, users only see the default global address list (GAL) whose structure doesn’t help understand who reports to whom or to identify one John Doe from another. Being able to customize a HAB, which maps to your organization’s unique business structure, provides your users with an efficient method for locating internal recipients.

Using Hierarchical Address Book

In a Hierarchical Address Book (HAB), your root organization (e.g., {product-family}) is the top-level tier. Under this top-level tier, you can add several child tiers to create a customized HAB that is segmented by division, department, or any other organizational level you want to specify. The following figure illustrates a HAB for {product-family} with the following structure:

  • The top-level tier represents the root organization — {product-family}.

  • The second-level child tiers represent the business divisions within {product-family} — Corporate Office, Engineering, Product Support, and Sales & Marketing.

  • The third-level child tiers represent departments within the Corporate Office division — Human Resources, Accounts, and Administration.

HABHierarchy
Figure 1. Example Hierarchy

Seniority Index

Seniority Index provides an additional level in the hierarchy. When creating a HAB, use this parameter to rank individuals or organizational groups by seniority within these organizational tiers. This ranking specifies the order in which HAB displays recipients or groups. A higher seniority index ensures that a user or group appears above another with a lower seniority index.

  • 100 for Vice President

  • 50 for Administration Operations Manager

  • 25 for Business Administrator

Note
If the Seniority Index parameter isn’t set or is equal for two or more users, the HAB sorting order lists the users and groups in ascending alphabetical order.

Configuring hierarchical address books

Create an organizational unit (OU)

Format

zmprov createHABOrgUnit <domain name of OU> <OU Name>

Example

zmprov createHABOrgUnit example.com ZimbraOU

Explanation

{product-family}OU as an organizational unit created.

Create groups within this OU

You have to create a group and assign an email address for each department.

Format

zmprov createHABGroup <name of the group> <name of OU> <group email address>

Example

In this series of commands, we create 8 HAB groups — as per the Example Hierarchy.

zmprov createHABGroup Zimbra ZimbraOU [email protected]
zmprov createHABGroup CorporateOffice ZimbraOU [email protected]
zmprov createHABGroup Engineering ZimbraOU [email protected]
zmprov createHABGroup ProdSupport ZimbraOU [email protected]
zmprov createHABGroup SalesAndMarketing ZimbraOU [email protected]
zmprov createHABGroup HumanResources ZimbraOU [email protected]
zmprov createHABGroup Accounts ZimbraOU [email protected]
zmprov createHABGroup Administration ZimbraOU [email protected]

Create Hierarchy

Each of these groups (except Zimbra) needs to be assigned a parent group to create a hierarchy.

Format

zmprov addHABGroupMember ParentGroupEmailAddress ChildGroupEmailAddress

In this series of commands, we designate 7 HAB groups — except Zimbra because it is root — as per the hierarchy in the figure Example Hierarchy.

For this, we add Human Resources, Accounts, and Administration to Corporate Office; and add Corporate Office, Engineering, Product Support, and Sales & Marketing to Zimbra.

zmprov addHABGroupMember [email protected] [email protected]
zmprov addHABGroupMember [email protected] [email protected]
zmprov addHABGroupMember [email protected] [email protected]
zmprov addHABGroupMember [email protected] [email protected]
zmprov addHABGroupMember [email protected] [email protected]
zmprov addHABGroupMember [email protected] [email protected]
zmprov addHABGroupMember [email protected] [email protected]

Get Zimbra ID

zimbraId is a unique identifier associated with an email address. It is used to assign users to groups and to specify a group as root.

Important
For this example, and everywhere else we have used a placeholder (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) for zimbraId.

Format

zmprov gdl <group email address> zimbraId

Example

zmprov gdl [email protected] zimbraId

Example Output

# distributionList [email protected] memberCount=4
zimbraId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Explanation

[email protected] is the email address of the group which is to become root.

Add users to Groups

This example adds the users Jane Doe and John Smith to the group named CorporateOffice without affecting other existing members.

Format

zmprov addHABGroupMember <group email address> <user's email address>

Example

zmprov addHABGroupMember [email protected] [email protected]
zmprov addHABGroupMember [email protected] [email protected]
Important
Before adding users, make sure that they are are already created.

Set Sort Order

Configure the sort order for groups in the HAB. Groups with higher seniority index appear above groups with lower seniority index.

Format

zmprov modifyHABGroupSeniority <zimbra ID> <seniority index>

Example

To have Engineering appear above CorporateOffice — irrespective of their names and alphabetical order, get Zimbra ID, decide on a number in place of SeniorityIndexNumber, and run the below command.

Assign CorporateOffice a seniority index of 90

zmprov modifyHABGroupSeniority xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 90

Assign Engineering a seniority index of 100

zmprov modifyHABGroupSeniority xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 100
Important
Commands used to set seniority index for groups also set Seniority Index for users.

Specify the root organization for the HAB

A group needs to be specified as root so that other groups can be added as child groups to comply with the organizational hierarchy. Run below command to make [email protected] as root.

Format

zmprov md <domain name> zimbraHierarchicalAddressBookRoot <ZimbraID of the group to be made root>

Example

zmprov md 'example.com' zimbraHierarchicalAddressBookRoot xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Example Output

# distributionList [email protected] memberCount=4
zimbraId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Did it work?

  1. Log in to Zimbra client.

  2. Click New Message.

  3. In the Compose window, click the To field.

  4. On Select Addresses window, locate the Show Names from: drop-down on the top right corner.

  5. Choose Organizational Address Book.

  6. The address book in a hierarchical format appears in the left pane.

    HABStructure zimbra
  7. Click any group to view and select users of that group.

Manage Organisational Units (OUs)

List Organisational Units (OUs)

There can be multiple organizational units in a domain. This command lists all the OUs in a specified domain.

Format

zmprov listHABOrgUnit <domain name of OU>

Example

zmprov listHABOrgUnit example.com

Explanation

All OUs in example.com listed.

Rename Organisational Units (OUs)

This command renames the specified OU in a domain.

Format

zmprov renameHABOrgUnit <domain name of OU> <OU Name> <New name for OU>

Example

zmprov renameHABOrgUnit example.com ZimbraOU ZMXOU

Explanation

{product-family}OU renamed to ZMXOU.

Rename Organisational Units (OUs)

This command deletes the specified OU in a domain.

Format

zmprov renameHABOrgUnit <domain name of OU> <OU Name>

Example

zmprov renameHABOrgUnit example.com ZimbraOU

Explanation

{product-family}OU deleted.