Connect SOGo contacts (CardDAV)
This article explains how to connect SOGo contacts to ContactMigrata. It is aimed at universities and ISPs that run SOGo.
SOGo publishes its CardDAV root at https://mail.example.org/SOGo/dav/<user>/. The /SOGo/ path without dav is the web interface. A working browser sign-in there does not mean DAV access works.
Limitations
- Mail, calendars, and files are not migrated. Use MailMigrata, CalendarMigrata, and FileMigrata.
- The company directory (GAL) is not migrated.
- ContactMigrata is not a CRM. It does not merge two contacts that share a display name.
- Duplicate detection uses each contact's hidden ID (UID) and works within one job only. A second job into the same address book creates duplicates. See Duplicates and UIDs.
- CAS or SSO sign-in works in a browser but not as HTTP Basic authentication on DAV. Use the LDAP or mailbox password.
- The GAL is served from LDAP and cannot be written to. Leave it out.
- Shared SOGo address books can be selected only if the account has write access.
- Dovecot without SOGo has no address book API, unless another CardDAV service sits in front.
What is migrated
- People: names, email addresses, phone numbers, postal addresses, organisation, job title, notes, websites, and birthday, where the destination has a matching field. See vCard fields that survive.
- Groups: named lists, such as Vendors or Family, where the destination can store an equivalent.
- Photos: up to about 512 KB. Larger photos are skipped; the rest of the contact is copied. See Contact photos and size limits.
Prerequisites
- The IMAP or SOGo username.
- The LDAP or mailbox password for that account.
- The HTTPS root at
/SOGo/dav/.
ContactMigrata connects as a separate client and cannot reuse your browser session.
Steps
- Open ContactMigrata and select CardDAV.
- Enter
https://host/SOGo/dav/user@domain/. Keep the trailing slash. - Confirm that the personal address book and any writable shared address books appear. If one is missing, check the password and whether DAV is enabled.
- Select the personal address book, and any shared address books you can write to.
Troubleshooting
- 401 error: The server expected an SSO cookie. Use the LDAP or mailbox password.
- 404 on
/SOGo/dav: DAV is disabled for the alias. An administrator must enable it.