Documentation

Help for MailMigrata and the whole suite

Connect SOGo calendars (CalDAV)

SOGo from Inverse is the CalDAV and CardDAV front for many university IMAP stacks, so a calendar usually hides behind the mail login. The DAV root typically lives at https://mail.example.org/SOGo/dav/<user>/, so you must point a migration job at that longer address. The /SOGo/ path without dav serves the web interface instead, which means a browser link from that page will not work as an endpoint.

What You’ll Learn

  • This page explains how the DAV address differs from the plain /SOGo/ view that loads in a normal browser tab.
  • You will learn why a CAS or SSO session cookie fails where a DAV request needs real credentials.
  • This page shows which personal calendars and which shared calendars deserve a tick in the migration list.
  • You will learn what remains when a server runs Dovecot alone and no SOGo layer sits in front.

What you need

You need the IMAP or SOGo username, which is often the full email address, plus the matching password. The host must answer over HTTPS at the endpoint https://<host>/SOGo/dav/<user>/, because that is where CalendarMigrata sends its requests. The connection authenticates over CalDAV on that same address, so the web page plays no part in the migration.

Connect in CalendarMigrata

  1. Open CalendarMigrata and choose CalDAV as the source type, because SOGo speaks that protocol.
  2. Paste https://host/SOGo/dav/user@domain/ into the address field, because the account name sits inside that path.
  3. A working connection shows the personal calendar and each subscription that the login may write to.

Once that link works, the calendars on screen should match the ones in the provider’s own app. An empty list usually points to a wrong identity or a wrong URL rather than to a mysteriously empty account.

Which calendars should you pick?

Pick the personal calendar, because that collection holds the events the account owns. Add a shared SOGo calendar only when the ACL grants write access, since a read-only feed cannot accept a copy. Leave holiday overlays and subscribed calendars out of the job unless you know the destination can store them. Map work to a work calendar and personal data to a clearly named personal calendar, so that nobody has to guess later.

What copies, and what stays behind

CalendarMigrata copies events, repeating series with their exceptions, and the timezone definitions behind the times. Small attachments under about 512 KB travel with the event, while larger ones stay behind. Mail, contacts, and files belong on MailMigrata, ContactMigrata, and FileMigrata, because each product covers its own data type.

Read How RRULE series and exceptions survive a move and VTIMEZONE and why 9am stays 9am if you want the technical path.

A CAS or SSO login that works in a browser is not a DAV credential, because DAV wants HTTP basic with the LDAP password. A trailing slash may or may not be accepted, so follow whatever PROPFIND accepts on that host. If you only run Dovecot and no SOGo, then there is no calendar to copy unless another CalDAV server sits in front.

Common problems

401 Unauthorized means the server expected an SSO cookie, so you must use the LDAP or mailbox password on DAV.

404 on /SOGo/dav means that the alias is not enabled, so an administrator must turn DAV on.

Dovecot without SOGo offers no calendar unless another CalDAV service sits in front of it.

Next steps

When the calendars appear, continue with Run your first calendar migration. OAuth and app passwords is the auth cheat sheet, and Common calendar migrations lists the usual pairs.

CalendarMigrata is free to use for calendar data only, so this migration needs no paid plan at any stage. If you need mail as well, then MailMigrata handles that job.