Documentation

Migrata Systems help

Connect Zimbra contacts via CardDAV

Zimbra exposes contact data through the CardDAV protocol, and the usual endpoint takes the form https://mail.example.com/dav/<user>/Contacts. The /zimbra/ endpoint returns ordinary HTML pages rather than address book data, so a CardDAV client cannot read that particular path. The GAL is not your personal book, and copying the entire company directory into one single Outlook folder requires an explicit written request from Legal. This guide addresses administrators who are moving their users to Google or Microsoft 365.

What You’ll Learn

  • The guide first explains how the /dav collection path differs from the regular web client path that Zimbra offers.
  • A second point covers the practical difference between the mailbox password and the SSO web password that users sign in with.
  • The third item describes how personal Contacts differ from the company GAL directory during a normal migration.
  • Finally, the fourth item explains what a proxy that does not serve DAV looks like to a connecting client.



What you need

You need the mailbox name together with its password, because CardDAV authenticates against the mailbox rather than against the web session. You also need an HTTPS Zimbra proxy that actually serves DAV requests for that mailbox. The contact address follows the shape of /dav/<email>/Contacts, or whatever variant the installed Zimbra version publishes.



Connect in ContactMigrata

  1. In ContactMigrata, you choose the CardDAV / Zimbra connection type before you enter any server details.
  2. You paste the DAV URL into the address field, and you never paste /zimbra/mail because that path serves the web client rather than DAV.
  3. You then confirm that Contacts and the extra address books owned by the mailbox appear in the connection list.



Which address books to pick

You should pick the personal Contacts book first, because that book matches the address book each user already knows and trusts. The GAL and distribution lists form a separate decision, and they usually should stay behind on the Zimbra server.



What ContactMigrata copies here

ContactMigrata copies people, and the fields it carries include names, emails, phones, postal addresses, organisation, job title, notes, websites and birthday. Each of those fields travels only when the destination address book has a place to store it. Named groups such as Vendors or Family copy only if the target can hold an equivalent list. Photos under about 512 KB copy with the person, while ContactMigrata skips larger pictures and still delivers the rest of that contact. The pages on contact photos and fields that survive explain those limits in more detail.

ContactMigrata does not copy Gmail, calendars or files, because those items belong to MailMigrata, CalendarMigrata and FileMigrata. ContactMigrata also leaves the company directory (GAL) behind, because that directory stays outside any personal address book. Card merging never happens on a shared display name, because ContactMigrata is not a CRM. Matching relies on each contact’s hidden id (UID) inside a single run, so cards with matching labels stay apart. The troubleshooting note on duplicates and UIDs explains how ContactMigrata applies that identifier within one job.

A spreadsheet export looks like a shortcut, yet a CSV file drops groups and photos and it mints new ids as well. Because those ids are new, a later job cannot tell that two rows describe the same people. The helpdesk page on Why not just export CSV? sets out the full reasoning behind that warning.



Things that go wrong on this host

Split-domain setups sometimes use one host for DAV and a different host for IMAP, because the two services can sit behind separate proxy servers. You should copy the DAV host from the Zimbra configuration, and never reuse a host name from an old mail job. A 401 response often means you supplied an SSO web password, because CardDAV expects the mailbox password instead. A 404 response on /dav means the proxy is not serving DAV, so you must enable CardDAV on that proxy. Zimbra mail belongs to MailMigrata, while the address books in this job stay on ContactMigrata. See also the page on Common contact migrations for related scenarios that other admins have handled.