AnnexGroup

Documentation

Switching from Exchange — parallel operation and cutover

This page describes the process from the first migration run to switching the MX. Which data the server migrates item by item and how the migration wizard works is covered on the page Exchange migration.

1. First run, then repeat runs until cutover

  1. First run: The wizard migrates mailbox, calendar, contacts, tasks and notes plus — depending on the switches — signatures, inbox rules, out-of-office, delegation, distribution lists, public-folder mail and public-folder permissions. The run ends with a migration proof containing the counts.
  2. Repeat runs until cutover, because the old server keeps running and receiving new mail in the meantime. The rules for repeat runs:
    • Skipped: anything already known — no run creates migrated mails twice, the import never overwrites the "Exchange" signature, and migrated rules are not created again.
    • Pulled along: changes at the source — read, flagged and category markers of known mails.
    • Does not come back: mails and rules deleted at the destination. Mails moved in Exchange get a new ID there and arrive as new mails.
  3. Cutover: MX points to AnnexGroup (with parallel operation, see step 2 below), workplaces move to AnnexOffice, one final repeat run, and only then switch the old server off — after counting.

Every run fetches the source in full and skips what is known — a delta fetch (EWS SyncFolderItems) is not wired up. With large mailboxes, schedule the runs for quiet times.

2. Parallel operation: handover domain in split mode

The MX already points to AnnexGroup, but not all mailboxes have moved:

  • If a recipient does not exist here, the mail goes into the queue and is delivered to the old server — nothing is lost.
  • Once you create the mailbox here, local delivery takes over by itself at the next delivery attempt.

This way you migrate mailbox by mailbox instead of scheduling one date for everyone.

3. Backup MX: backup mode and hold time

So that no mail is lost during cutover if one side is briefly down:

  • Backup MX (backup): This server is the secondary MX of a foreign instance and holds its mail in the queue; as soon as the primary server is reachable again, it delivers the mail there. Delivery goes only to fixed, configured target hosts, never via MX lookup; this is not an open relay.
  • Hold time: The queue holds by age, default 5 days (queue_max_age, 120h). After 4 hours the sender receives a one-time "Delivery delayed" notice.

Warning: A backup MX without a recipient list accepts every address of the domain. If the primary server later rejects, a bounce goes to a possibly forged sender (backscatter spam). Maintain the recipient list. The server has no greylisting and no IP blocklists.

4. What comes along

  • Signatures (OWA): The server-stored OWA signature per mailbox from Exchange 2013/2016/2019 arrives as the "Exchange" signature; defaults are only set where none exist yet. The server does not append anything for programs sending via SMTP — the web interface and the API do.
  • Inbox rules, with a report: Each rule is listed individually: fully mapped, migrated with a difference, migrated switched off, or skipped. Rules with a non-mappable action and forwarding to outside addresses or to another tenant are migrated switched off (never switched on, for security). The report is in the migration log.
  • Out of office: With time period (read as UTC) and restricted audience. An existing personal reply stays in place.
  • Delegation: Only if the delegate has an account here in the same domain; every delegate gets "send on behalf" (send_on_behalf), as Outlook writes it.
  • Public-folder permissions: For named users with an account here; "Default" and "Anonymous" have no counterpart and are named in the log, not mapped. Permissions end at the domain boundary.
  • X500 addresses: The migration enters the internal Exchange address (legacyExchangeDN) of the moving mailbox itself, so replies to old mails arrive. Further addresses are added by the administrator (/api/v1/admin/users/{id}/x500).

5. What does not come along

  • Signatures: Roaming signatures of Exchange Online and anything via Microsoft Graph (no signature API) are not readable; Outlook desktop signatures (local files) are not fetched. The placeholders title, department and mobile resolve empty, because the store does not know these fields.
  • Rules: Sender conditions are "sender contains", not "exactly this address"; after "Move" the chain ends (Exchange continues it); "Forward" becomes "Redirect". Client-side Outlook rules, rules from Exchange 2007 and older, and reply templates do not come along.
  • Out of office: HTML becomes plain text. The safe and blocked sender lists (junk email) are not readable via EWS and do not come along.
  • Public folders: Calendars, contacts, tasks and notes migrate flat (the path stays in the name); mail keeps the folder path. Folders without a folder class do not count as mail and remain a named omission.
  • Distribution lists become contact groups; Apple Contacts does not resolve the group members (MEMBER).
  • Delegation: The permissions cover calendar, tasks, address book and inbox; notes and the plain text of private events are not part of it. Delegates without an account in the same domain stay skipped — repeat the migration after the delegate has moved.
  • X500: Replies to old internal addresses of groups, rooms and agents do not resolve — the bridge covers users only.
  • Everything in this section has been shown against simulated counterparts and is covered by tests, not yet against a real Exchange cutover.

6. Configuration via the administration API

You configure handover domains and X500 addresses via the administration API today:

  • GET/POST /api/v1/admin/uebergabe, PUT/DELETE /api/v1/admin/uebergabe/{id} — create and maintain a handover domain (backup only for foreign domains, split only for local ones; target hosts, TLS mode, recipient list).
  • GET/POST/DELETE /api/v1/admin/users/{id}/x500 — read, add and remove a user's X500 addresses; X500 addresses are also available on the command line (annexgroup x500 list|add|remove --user …).

There is no dedicated page in the administration for this yet.

Something unclear or described wrong? Tell us — we will fix it. Your question shows us where the text falls short.