Exchange <-> Zimbra Free/Busy
Exchange -> Zimbra
To configure free/busy from Exchange-> Zimbra a role account needs to be created in Exchange that Zimbra can use.
Once the role account is created. Zimbra needs to be configured to connect to the Public folder free/busy interface:
mcf zimbraFreebusyExchangeAuthUsername [role account] mcf zimbraFreebusyExchangeAuthPassword [password] mcf zimbraFreebusyExchangeAuthScheme form # url to Exchange 2007 CAS server mcf zimbraFreebusyExchangeURL https://[cas server] # legacydn in Exchange 2007 mcf zimbraFreebusyExchangeUserOrg "/o=first organization/ou=exchange administrative group (fydibohf23spdlt)"
Zimbra -> Exchange
To configure free/busy from Zimbra->Exchange there needs to be a mail contact created for each Zimbra account. This mail contact should be created in the Exchange server’s Active Directory.
The role account also needs to be able to update the Free/Busy public folder:
add-publicfolderclientpermission -identity "\NON_IPM_SUBTREE\SCHEDULE+ FREE BUSY\EX:/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)" -user [role account] -accessrights ownerAn Exchange 2007 needs to be aware it needs to use public folders for the Zimbra domain:
Add-AvailabilityAddressSpace -forestname [zimbra domain] -accessmethod publicfolder
Create mail contact
# adding a suffix helps prevent namespace collisions
new-mailcontact -name [acccount]_zimbra -alias [account]_zimbra -ExternalEmailAddress [account]@[preferred domain] -OrganizationalUnit [location in active directory]
set-mailcontact -id [account]_zimbra -displayname "[display name]" -UseMapiRichTextFormat never
To hide from GAL add to set-mailcontact
-HiddenFromAddressListsEnabled $true
Once the mail contact has been created the Zimbra account needs to be configured to be aware of the mail contact via zmprov:
# add link to exchange mail contact
ma [zimbra account] +zimbraForeignPrincipal ad:[exchange mail contact]