Challenge
Unicorn Infosolutions, a multi-location consumer-electronics retailer, had its business email on a single shared-hosting account holding well over a thousand mailboxes for staff across its locations. The estate had to move to a new server without the business noticing — and with a defensible answer to the question every migration eventually faces: are we sure nothing was lost?
Scale made the usual approach unreliable. A one-pass copy of an estate this size runs into filesystem quotas, throttling and long-running mailboxes, and the failures are silent: a mailbox can look migrated while missing thousands of messages. The client’s IT team also needed a safer way to run the estate day to day than handing out hosting-panel access.
Engineering approach
- Migrate, then measure. After the initial migration we compared message counts for every account on source and destination, server to server, and classified each as matching, ahead (new mail received since cut-over), behind or missing.
- Find the cause before re-running. The behind accounts traced back to filesystem quota limits hit during the first pass, which had silently stopped some copies. The quota constraint was lifted for the duration of the resync.
- Resync in controlled waves. The 47 affected accounts were caught up in 12 sequential waves — one large and three small mailboxes per wave — so the destination server, which was already serving live users, was never overloaded.
- Guard against making things worse. The sync script refused any operation that would reduce a destination mailbox’s message count.
- Treat outliers individually. One mailbox was found with an emptied inbox after migration; it was restored separately rather than averaged into the wave results.
Solution
Alongside the migration we built a mail operations console for the client’s IT team, working through the cPanel API rather than shared panel logins:
- account creation, suspension and quota management, with bulk operations and CSV import/export;
- forwarders, mailing lists and auto-responders;
- deliverability health checks (SPF, DKIM, DMARC, MX) and blocklist monitoring, plus mail-log diagnostics;
- TOTP two-factor login, role-based access (super admin, admin, operator), an approval queue for sensitive actions, and a filterable audit log of every administrative change.
We also built an HR-driven lifecycle integration: hire, transfer and separation events from the client’s HR platform trigger mailbox creation, mailing-list changes and a staged de-provisioning sequence (stop outgoing mail, forward to the manager, then queue deletion for human approval). On webmail, accounts that had not reset their password after migration were locked to the change-password screen until they did.
Outcome
- The final server-to-server audit covered every account: 1,344 accounts matching or ahead on the destination, 0 behind, 0 missing, plus 22 accounts created new on the destination after cut-over.
- Of the 47 accounts flagged with message gaps, 46 were caught up across 12 waves with no sync failures and one was found already current; the one emptied inbox had its 4,800 messages restored.
- An account-by-account verification report was produced as the migration’s evidence of completion.
- The client’s IT team has an audited, role-based console for mailbox administration, removing the need to share hosting-panel access.