Documentation

ContactMigrata help

Connect SOGo contacts (CardDAV)

SOGo typically publishes its CardDAV root at https://mail.example.org/SOGo/dav/<user>/. ContactMigrata asks you to paste that full path into its wizard, because the address decides which collection answers. The shorter /SOGo/ address without dav serves the SOGo web interface instead. A working browser login there proves nothing about card access, because the two services hold separate sessions.

SOGo usually asks for the LDAP or mailbox password on DAV. A browser single sign-on cookie does not travel as HTTP basic credentials, so the CAS password from the web form fails on that path. This guide addresses universities and ISPs that run SOGo and want to move personal and shared address books.

What You’ll Learn

  • This page explains which requests reach /SOGo/dav and which ones land on the SOGo webmail interface.
  • The two paths answer different kinds of traffic, because SOGo treats webmail and card access as separate services.
  • You will learn why SOGo expects the LDAP or mailbox password on DAV.
  • A CAS cookie from the browser rarely works as a basic credential, so the web login and the DAV login differ.
  • The sections below separate personal address books from the company directory, because SOGo stores each one in a different place.
  • You will also find the step to take when DAV stays disabled on the alias, so an administrator can enable it before the copy starts.



What you need

  • You need the IMAP or SOGo username, because ContactMigrata signs in to CardDAV with that identity.
  • The password that belongs to that account is also required, because SOGo rejects a wrong credential before any address book appears.
  • You also need the HTTPS root at /SOGo/dav/, because the plain web path does not expose contact data.

ContactMigrata connects as a separate client, so it cannot reuse the browser session you already opened. Your browser may show the books while the wizard still fails, because the two clients hold different credentials.



Connect in ContactMigrata

  1. Open ContactMigrata and choose CardDAV, because that protocol carries the address books this page describes.
  2. Paste https://host/SOGo/dav/user@domain/ into the server field, and keep the trailing slash so SOGo resolves the full collection.
  3. Confirm that the personal address book appears together with the shared books that allow writes.
  4. A missing book usually means a wrong password or a disabled DAV service, so check both before you continue.



Which address books to pick

  • Pick the personal book first, because that collection belongs to the signed-in user and accepts writes from the copy.
  • Add a shared SOGo book only when the account holds write access to it, because a read-only book cannot receive the contacts you selected.
  • Leave the GAL out of the selection, because the company directory is not a personal address book and ContactMigrata cannot write to it.



What ContactMigrata copies here

ContactMigrata copies people and the details attached to them: names, emails, phones, postal addresses, organisation, job title, notes, and websites. A birthday copies only if the destination provides a matching field, because a missing field leaves nowhere to store the date. Groups, meaning the lists you named such as Vendors or Family, copy only when the destination can store an equivalent object. A plain contact store has no group concept, so those lists fail on such a destination. A photo under about 512 KB travels with its person, while a larger picture is skipped and the remaining details of that contact still arrive. See contact photos and fields that survive.

ContactMigrata does not copy Gmail, calendars, or files, because those data types belong to MailMigrata, CalendarMigrata, and FileMigrata as separate products. The company directory (GAL) stays out of scope as well, because SOGo serves it from LDAP rather than from a writable book. ContactMigrata is not a CRM, and it does not merge two cards that share a display name. The matching rule follows each contact’s hidden id (UID) inside one job, because that identifier is stable across the two servers. The guide on duplicates and UIDs explains how that matching rule works, so read it before you expect any merge.

A spreadsheet export is a poor shortcut, because CSV drops groups and photos and mints new ids for every person. Those new ids mean a later job cannot tell that two records describe the same contact. Read Why not just export CSV? before you take that route, because the export changes more than the file format.



Things that go wrong on this host

CAS or single sign-on works in a browser but does not always work as HTTP basic authentication on DAV. The two channels accept different credentials, and only one of them fits the DAV login. The GAL is not the personal book, because the directory listing follows LDAP rules and refuses writes from a card client.

A 401 usually means the server expected an SSO cookie, so use the LDAP or mailbox password on DAV instead. A 404 on /SOGo/dav means the alias has DAV switched off. An administrator must enable that service before any copy can reach the books, because no client can open a disabled endpoint. Dovecot alone, with no SOGo in front, has no address-book API at all, unless another CardDAV service sits in front of the mail store.

The companion walkthrough in Run your first address-book migration covers the wizard order. A first copy is easier once the password question is settled, because every later step depends on that same sign-in.