Configuring the Global Address List

The Global Address List (GAL), also known as corporate address book or company directory, is a listing of all employees within an organization or department. GAL is a commonly used feature in mail systems so users can look up another user's information by first or last name, without having to know the complete email address.

GAL is configured on a per-domain basis. The GAL mode setting for each domain determines where the GAL lookup is performed. The GAL Configuration Wizard is used to configure the attributes. Select one of the following GAL configurations:

About External LDAP Settings

You configure the following External LDAP Settings

The following is an example of the filter string. Syntax "%s" represents the string the user types.

(&(|(cn=*%s*)(sn=*%s*)(gn=*%s*)(mail=*%s*)(zimbraMailDeliveryAddress=*%s*)
(zimbraMailAlias=*%s*)(zimbraMailAddress=*%s*))
(|(objectclass=zimbraAccount)(objectclass=zimbraDistributionList)))
  

This filter example, combines the basic search filters using the Boolean operation OR  to first search the various attributes (cn, gn, etc.), and then verifies that the entry matched is either a Zimbra account or distribution list.

Filter

Matches

cn=*%s*

Entries with a common name approximately equal to user's input

sn=*%s*

Entries with a surname approximately equal to user's input

gn=*%s*

Entries with a given name approximately equal to user's input

mail=*%s*

Entries with an email address.

zimbraMailDeliveryAddress=*%s*

Entries with a Zimbra email address

zimbraMailAlias=*%s*

Enter is a Zimbra alias

zimbraMailAddress=*%s*

Entries with a Zimbra distribution list address

objectclass=zimbraAccount

The matches found exist as a Zimbra account.

objectclass=zimbraDistributionList

The matches found exist as a Zimbra distribution list.

 

Note: If your LDAP server performance becomes an issue when the Autocomplete from GAL feature is configured, you can disable the Domain's GAL autocomplete feature in the COS and Account settings.