How migrating mailboxes to OX App Suite with imapsync works
imapsync copies mail folders and messages over IMAP, and nothing else. If your organization is leaving another mail platform for OX App Suite on Kubernetes, the mail backend behind it is Dovecot, and imapsync is the tool that pulls each mailbox from the source server into the matching Dovecot account. Contacts, calendars, server-side filters and end-user devices do not travel with it. Each of those follows its own path, and each needs a decision and an owner before cutover. Plan them alongside the mail copy, not after it.
The work itself is a sequence: create the target accounts with the same login names, run an initial full copy per mailbox, then repeat incremental syncs so that mail arriving during the migration reaches the new server before users switch. Recursive folder mapping, flag handling and the choice of which folders to exclude (for example, junk or trash folders) all need to be settled per source platform. Check the source server's IMAP capabilities and throttling limits early, because they set how many mailboxes can run in parallel.
Effort depends on mailbox count, total data volume, the source platform and how many parallel runs your infrastructure and the source server can sustain. None of these figures is fixed in advance, so no duration should be accepted without a written scope that names the mailboxes, folders, sync rounds and cutover window. Ask any partner, including DeployOpen, to state the assumptions behind a schedule and what would change it. Confirm your source server's IMAP limits and your storage capacity on the Dovecot side before you commit to a date, and see the OX App Suite requirements for the platform prerequisites your target cluster must meet.
What maps cleanly from an IMAP source and what does not
This table compares what an IMAP source carries against what the Dovecot backend behind OX App Suite keeps after a imapsync copy. Read each row as a migration decision: rows marked as needing a separate path or a manual decision will not arrive through mail transfer alone. The main takeaway is that folders, flags and message content usually copy well, while server-side rules, device sync state, contacts and calendars need their own checks.
| Source item | Dovecot and App Suite result | Migration note |
|---|---|---|
| Folders and mailbox hierarchy | Copied as IMAP folders with the hierarchy preserved | Confirm the hierarchy separator and namespace prefix on both sides before the first full sync, since mismatches create duplicate folder trees. |
| Message flags and states | Read, answered, flagged and draft flags carry over through IMAP | Verify flags on a sample after a test sync. Some clients store states outside IMAP, so spot-check both sides. |
| Folder subscriptions | Subscription lists are an IMAP-level setting | Subscriptions may not transfer with every tool option. Compare the subscribed folder list manually for each test account. |
| Shared and public folders | Depends on how the source exposes them and how Dovecot namespaces them | Manual decision. Map each shared folder to a sharing model in App Suite and confirm access rights are reapplied by hand. |
| Quotas | Quota limits are set per account on the new backend, not copied | Set quotas on the target before syncing, and confirm the target can hold the source volume with headroom. |
| Server-side rules and filters | Stored in the source server, not in the mailbox, so they do not travel with IMAP copy | Separate import path. Export and convert the rules into Sieve scripts, then review each one against the App Suite rules interface. |
| Contacts | Address books are not part of the IMAP mailbox | Separate import path. Export as vCard and import through App Suite, then check duplicates and groups. |
| Calendars and recurring events | Calendar data is not stored in IMAP folders | Separate import path. Export as ICS and check recurring events, exceptions and attendees after import. |
| Device sync state and push tokens | Phones and desktop clients keep their own sync state against the old server | Manual decision. Plan cutover for each device type, since clients may resync or need new credentials after the move. |
Documented import and copy tools for the move
A mailbox move into OX App Suite usually combines several paths: an IMAP copy for mail, a Sieve path for filters, and file-based imports for calendars and contacts. Each one moves a different kind of data, so each needs its own check before cutover.
Recursive and incremental IMAP copies
imapsync copies mail between IMAP servers folder by folder, and its incremental mode skips messages already present on the target. This is the core of the mail move. Check how it maps source folders to the Dovecot folder names OX App Suite expects, including the Sent, Drafts and Trash folders, and confirm the folder separator on both sides. Confirm the current version and options against the imapsync documentation for your environment.
OX App Suite requirementsRepeated passes before cutover
Run the first full copy weeks ahead, then repeat incremental passes so that the final pass during cutover only moves recent mail. Each pass re-reads both mailboxes, so the time a pass takes grows with mailbox size and change rate. Plan a short, frozen final pass and confirm with your change window how long it can run.
Sieve and ManageSieve for filters
Server-side filters are not part of an IMAP copy. OX App Suite stores rules as ordinary Sieve scripts that are written over ManageSieve, so existing Dovecot Pigeonhole scripts can be carried over when the target uses the same format. Rules from other systems need translation and testing. Confirm which script names, extensions and rule types your current server uses.
ICS import for calendars
Calendars do not move with imapsync. Exported ICS files carry events, recurrence rules and attendees, but import behavior differs between calendar clients and servers, especially for time zones and exceptions to recurring events. Import into a test account first, then check recurring series and invitations against the source before users see the data.
vCard import for contacts
Address books move through vCard exports, which are simple files but vary in field names, photo encoding and group labels. Duplicates are common when a user imports the same file twice or when a contact exists in both sources. Check a sample of contacts for lost fields, merged entries and character encoding problems before you import the full set.
Scope of documented paths
This page covers only documented paths, and it does not replace the vendor documentation. Confirm current imapsync versions, command options and OX App Suite import behavior for your release, and test each path in a lab with your own mailbox samples. Record which path moved which data type, since that record is your evidence for the cutover review.
App Suite 8 Operations GuideRunning a parallel sync and cutover in order
This sequence moves mail from the old IMAP source into the OX Dovecot backend in controlled passes, so that each cutover step has a named sign-off and retained evidence before the next one starts.
Inventory mailboxes, folders and sizes
The migration lead and the source mail administrator export the account list, folder tree, message counts and mailbox sizes from the old server, and map each source account to its target account on the OX Dovecot backend. They also record which accounts use shared mailboxes, delegated access or special folders that need separate handling. The step closes when the inventory is signed off by the customer's mail owner and the exception list is agreed, because every later count check is measured against it.
Run a pilot with a small set of accounts
Choose a few representative accounts, including one with large folders, one with shared access and one with heavy use of subfolders. Run imapsync against them, then have each pilot user log in to OX App Suite and check that folders, flags, read status and recent messages look correct. The pilot closes with a written list of defects and fixes, signed off by the mail owner, which decides whether the full run can proceed with the same command options.
Perform the first full copy
The migration engineer runs imapsync across all in-scope accounts in batches, recording each account's exit status and log file. Failed accounts are re-run until they complete or are moved to an exception list with a stated reason. The output is a per-account log set and a summary of completed, partial and failed accounts, reviewed by the migration lead before parallel operation starts. Users keep working on the source during this phase.
Run incremental syncs during parallel operation
During the parallel run, the engineer repeats imapsync for every account on a schedule the customer approves, so that mail arriving on the source reaches the target. Each pass is logged and reviewed for new errors, and the team confirms that the sync is incremental and does not duplicate messages. The step closes when the last two passes show no unexpected changes in folder counts, which the mail owner accepts as the readiness point for cutover.
Freeze the source and run the final delta sync
At the agreed cutover window, users stop sending or moving mail on the source, the source is set to read-only where the platform allows it, and a final imapsync pass copies remaining changes. Mail routing and DNS changes follow only after this pass completes cleanly. The evidence is the final log, the timestamp of the freeze and the change record approved by the change owner.
Validate folder counts and message totals
The migration engineer compares folder counts, message totals and total storage per account between source and target, using the inventory from the first step as the baseline. Discrepancies are investigated, explained or re-synced, and a sample of messages is opened in OX App Suite to check attachments and headers. The validation report lists each account with a pass, explained difference or open item, and the customer's mail owner signs off accounts individually before any user is released to production.
Decommission the old source after a holding period
Once validation is accepted, mail routing to the old server is removed and the source mailboxes are kept in read-only archive for a retention period set by the customer's records policy. Access credentials for the migration process are revoked and the imapsync logs are stored with the change record. The step closes when the security owner confirms in writing that the source is retired and the retained archive and logs are catalogued, which is the evidence auditors usually request.
How the source, imapsync and the App Suite backend connect during the parallel run
The run starts on the source IMAP server, which imapsync reads from a migration host that holds both source and destination credentials. The job writes mail into the Dovecot backend behind OX App Suite, and users reach that mail through the App Suite front end. Calendars and contacts take a separate path, because imapsync does not move them. Check the trust boundary around the migration host, confirm that the credentials it holds are scoped and removed after cutover, and verify that repeated syncs still reach the same mailboxes.
Parallel run: imapsync copies mail through a credentialed migration host, while calendars and contacts move by a separate import path.
Why contacts, calendars and devices need their own work
imapsync moves mail. It does not move address books, calendar objects or the sync state held by phones and desktop clients, so those three areas need their own plan before cutover. A successful mail copy can still leave a user with an empty contact list, a calendar that looks intact but has lost its recurrence rules, and a phone that keeps pointing at the old server. Treat each as a separate workstream with its own owner and its own sign-off.
Calendars and contacts require checks after import, not just a count of items. For calendars, confirm that recurring events keep their series and exceptions, that attendees and organizer fields survive, and that time zones display correctly for a sample of users. For contacts, check that contact groups (distribution lists) are recreated, since they are often stored outside the mail store and do not transfer through IMAP. Confirm the exact import path and its limits for your source system in the vendor documentation and in a pilot with a few mailboxes before you commit to a method.
Connected phones and desktop clients need a cutover plan of their own. Each device keeps local sync tokens and cached folders that refer to the old account, so a user may see duplicate mail, missing history or repeated password prompts after the switch. Decide early which protocol each client uses, whether that is Exchange ActiveSync, CalDAV and CardDAV, or application passwords, and list the users who will need hands-on help. The device steps are covered in the sibling topic on reconnecting clients, so use this section to make sure those steps are scheduled and owned.
What drives effort and cost in a mailbox migration
This table lists the inputs that change how much work an imapsync migration into OX App Suite takes and which costs are paid once versus repeated. Read each row as a question to answer in your own environment before asking a partner for a quote. The main takeaway is that mailbox count and data volume are only the starting point, while source server limits, repeated passes, and the scope of contacts, calendars, and device re-pairing usually decide the total.
| Driver or component | Why it changes effort or cost | One-time or recurring, and what to ask for in a quote |
|---|---|---|
| Mailbox count | Each mailbox needs its own account mapping, folder list, sync job, verification and user communication, so effort grows with the number of accounts even when they are small. | One-time. Ask the quote to state the mailbox count and how batches are grouped by wave. |
| Total data volume per mailbox | Large mailboxes take longer per pass and put more load on the source and target, so the first full copy is the longest step. | One-time for the initial copy. Ask for a measured total from your source server, not an estimate. |
| Folder depth and count | Deep or many folders multiply the folder mapping work and raise the chance of path or encoding mismatches that need manual fixes. | One-time mapping work. Ask how folder mapping is reviewed and signed off per mailbox type. |
| Shared mailboxes and delegations | Shared folders and delegated access need separate mapping and permission checks in the target, which are easy to miss in a per-user plan. | One-time setup, plus ongoing admin effort if shared accounts remain. Ask for the count and owners. |
| Source server throughput and rate limits | Many IMAP servers throttle connections or concurrent sessions, which can stretch copy windows well beyond what data volume alone suggests. | One-time for tuning, and it recurs with each sync pass. Confirm limits with your source vendor before scheduling. |
| Number of sync passes before cutover | Each incremental pass re-reads changed mail, so more passes add runtime and operator checks until the final delta is small enough for cutover. | Recurring until cutover. Ask how many passes are planned and the criteria for the final pass. |
| Filter and rule volume | Server-side rules, Sieve scripts and vacation settings need their own migration and testing, separate from the mail copy itself. | One-time, but tests may repeat after changes. Ask whether filter migration is in scope and who validates results. |
| Calendar and contact volume | IMAP tools do not move these items, so calendars and address books need ICS, vCard or CardDAV work plus checks of recurring events and attendees. | One-time import work. Ask for the item counts and which formats are in use on the source. |
| Client re-pairing and device cutover | Phones and desktop clients often need new accounts, passwords or profiles, which generates user support load during and after cutover. | One-time for the cutover wave, with support tail afterward. Ask how many device types and users are affected. |
| Kubernetes and storage readiness | A cluster that does not meet the required Helm, Kubernetes, Istio, Redis, MariaDB and distributed storage prerequisites delays every other step. | One-time readiness work, with recurring upgrade and patch effort. Ask what must be confirmed before migration starts. |
| Written scope and acceptance criteria | Clear scope on what is copied, verified, excluded and handed back decides whether change requests add cost late in the project. | One-time. Ask for the scope document, the exclusions list and the acceptance tests in writing before work starts. |
What usually goes wrong with imapsync cutovers and how to prevent it
Most imapsync migrations into OX App Suite fail in predictable places: names and encodings, flags, timing of the final sync, credentials, quotas, shared mailboxes and data that was never in the mail stream. Each card below names one failure and the check that prevents it before users see the new system.
Folder name and encoding mismatches
Source servers often use a different IMAP hierarchy separator, folder naming convention or modified UTF-7 encoding for non-ASCII names than the Dovecot backend expects. Folders can appear under the wrong parent, duplicate, or land in a path clients do not show. Run a dry run with the folder list, compare separators and special folders (Sent, Drafts, Trash, Junk) on both sides, and map them explicitly with the folder mapping options before the first full copy.
Message flags lost in transit
Read, answered, flagged and draft states are IMAP flags, and they are not always preserved by every copy path or every source server. Users notice a full inbox of unread mail after cutover and assume messages were lost. Test with a sample mailbox that has known flags on known messages, then compare flags on both sides after the copy. Confirm the option that preserves flags is enabled in the job you actually run.
Sync against live mail without a final delta
Incremental passes keep copying new mail while users are still working, but the last messages arrive after the first pass ends. A cutover that stops syncing at the last full copy leaves recent mail on the old server. Plan a repeated incremental run, then a final delta run during a short freeze when mail delivery and client sessions are stopped, and verify message counts per folder before pointing MX or client settings at OX App Suite.
Passwords and OAuth changes breaking jobs
Sync jobs authenticate as each user against the source server. A password reset, a forced MFA change, or a move to OAuth-only login on the source side will make the job fail silently for that account. Ask the source provider which authentication methods are enabled for IMAP, confirm which accounts use app passwords or tokens, and collect and test those credentials per mailbox before the first run. Keep a failure report per account so the gaps are visible before cutover.
Quota limits on the target mailbox
Target quotas are set on the Dovecot side, and a mailbox that fits on the source can still exceed the destination limit once folders, attachments and duplicates are counted together. A job that hits a quota mid-run can leave a partial folder copy. Compare source usage per account with the quota configured on the target, including headroom for mail that arrives during the sync, and raise limits or split large archives into a planned second pass before the cutover date.
Lost shared-mailbox permissions
Shared mailboxes, delegated folders and access rights on the source server are not automatically recreated by a per-user copy. After migration, a team inbox can open for its owner but disappear for delegates, or the reverse. Inventory every shared folder and its ACL entries on the source, decide which become shared accounts or folder sharing on the target, and test access with a delegate account from a client before cutover.
Calendars and contacts assumed to have moved
IMAP tools copy mail folders only. Calendar events, address books, and their recurrence rules and attendee data do not come across through a mail sync. Teams often discover this on cutover day when the calendar is empty. Export each user's calendars as ICS and contacts as vCard from the source, and plan their import into OX App Suite as a separate workstream with its own verification of recurring events and attendees.
Questions buyers ask before migrating mail to OX App Suite
How long does an imapsync mailbox migration to OX App Suite take?
The duration depends mainly on total mailbox size, the number of mailboxes, the speed of the source and target servers, and how many passes you run before cutover. No fixed timeline is supplied for this work, so ask the implementation partner to base the estimate on a measured sample of your largest mailboxes. Initial copies of large mailboxes take the longest, while later incremental passes only move messages that arrived or changed since the previous run. Plan for at least one full copy, several catch-up runs, and a short final sync during the change window. Confirm the throughput of your source IMAP server and the network path to the Dovecot backend before committing to dates.
Can our own team run imapsync without a partner?
Yes, if your team can operate a command-line tool, read logs, and verify results per mailbox. imapsync is a scripted tool, so the work is mostly planning the mailbox list, testing a few accounts, scheduling repeated runs, and checking folder counts and message totals afterward. The harder parts are usually the operational ones: handling source servers that throttle connections, mapping folder names between systems, and keeping passwords out of shell history. A partner is most useful when you need a fixed-scope migration with written deliverables, a rehearsal on a copy of the data, and a documented cutover runbook. Confirm internally who will own each step before deciding.
What do we need to provide before the migration starts?
Expect to provide four things: access to the source IMAP servers, a credential method for each mailbox, agreed change windows, and named owners for mailbox decisions. Confirm that the source server allows IMAP connections from the migration host and how many concurrent connections it permits. For credentials, decide whether you will use administrator impersonation, per-user passwords, or a temporary shared secret, and confirm which one your source platform supports. Change windows must cover the final sync and the DNS or client switch. Mailbox owners should confirm which folders to exclude, such as junk or trash, and sign off on test accounts. Missing owners are a common cause of delays.
What cost components should a migration quote list?
A quote should separate one-time work from recurring costs. One-time items include discovery of the source environment, migration tooling setup, test runs, the cutover runbook, the final sync effort, and verification reports. Recurring items, if any, include ongoing support, retained access to the Kubernetes platform, or retesting after upgrades. Costs rise with mailbox count, total data volume, the number of source platforms, the amount of custom folder logic, and the number of change windows. Ask the partner to state assumptions about source server limits and data cleanup, and to name what happens if those assumptions do not hold. DeployOpen does not publish a price list, so a quote follows from the written scope. Also confirm which OX App Suite licensing applies, since the Operations Guide notes that some modules may be licensed or priced separately.
Do contacts and calendars move with the mail?
No, imapsync copies mail folders over IMAP, so contacts and calendars are normally not included. Address books and calendar data usually live in separate stores on the source platform and need their own export and import path. Common routes are standard vCard and ICS files, or CardDAV and CalDAV clients that sync from the old system. Plan for recurring events, attendee lists, and time zones to be checked after import, because export formats differ between platforms. Confirm early what your source system can export, how many users have shared calendars, and who will validate a sample of records after the move. This work is covered by a sibling topic on calendars and contacts.
How do the Kubernetes backend and Dovecot readiness affect the start?
The migration cannot start until the target environment is running and reachable. OX App Suite v8 is delivered as Helm charts and requires Helm 3.17.0 or newer, and it is designed to run on Kubernetes, with supported Kubernetes versions described as N-1 and N-2. It also requires Istio, or the basic ingress-nginx option where Istio cannot be used. On the mail side, confirm that the Dovecot backend accepts IMAP connections, that mailbox storage and quotas are sized for the incoming data, and that test accounts can log in. Persistent storage for attachments needs a distributed file system such as NFS or object storage. Engineers should check these prerequisites in a lab before scheduling any mailbox copies.
What should we check before scheduling the first mailbox copy?
Run a small pilot with a few mailboxes that represent your largest, smallest and most unusual accounts. Confirm that folder hierarchies, special folders such as Sent and Drafts, and message flags transfer correctly, and compare message counts on both sides. Check that the target Dovecot accounts exist, have the right quotas, and accept the migration credentials. Record every run's log so repeated syncs can be compared. Agree a rollback plan in case the cutover fails, including how the source mailbox stays intact until owners confirm success. Finally, confirm which mailboxes will be excluded or archived, so the first full copy does not include data the business no longer needs.
How DeployOpen scopes and delivers a mailbox migration
DeployOpen deploys and migrates self-hosted open-source platforms inside the client's own infrastructure, and a mailbox migration follows the same pattern. Most engagements are fixed-scope, with the scope, deliverables and timelines agreed in writing before any work starts. For an imapsync move into OX App Suite, that written scope should name the source servers and mailbox count, the target Dovecot backend, the sync schedule up to cutover, the handling of folders and quotas, and the items outside imapsync's reach, such as contacts and calendars. It should also state who performs the final delta sync and who signs off each stage. Ask for the scope to list what is excluded, because gaps in exclusions are where migrations overrun.
The written scope also determines what the client receives. Expect a runbook with the exact imapsync invocations and options per batch, a verification method for message counts and folder structure, a rollback procedure, and a cutover checklist that links to the work on end-user devices. Where the client wants to keep the work in-house after cutover, the handover should cover the sync logs and the decisions behind any exclusions. Ongoing support, upgrades and continuous testing of the surrounding OX App Suite platform are available as retainers, which are a separate agreement from the migration itself.
DeployOpen does not publish a price list. A quote follows from the written scope, so the inputs that move the number are the same ones the reader should prepare: mailbox count and total data volume, the number of source platforms, how many repeated syncs the client expects before cutover, and how much contact and calendar conversion is needed. Ask each bidder, including DeployOpen, to price the migration, the handover and any retainer as separate lines, so that one-time and recurring costs are easy to compare with building the work in-house.

