Sheet WRK-02

Moving 1,300+ business mailboxes between servers — and proving none were left behind

A 1,300+ mailbox estate migrated server-to-server, resynced in controlled waves and audited account by account: zero mailboxes behind, zero missing.

Record WRK-02
Client
Unicorn Infosolutions
Industry
Retail
Year
2026
Capability
Operate, Build, Protect
Stack
  • cPanel/WHM
  • Scripted mailbox sync
  • PHP 8.1
  • cPanel UAPI
  • SnappyMail
  • Roundcube
  • Cloudflare

Opening brief

At a glance

Client engagement

Problem / risk
Move a 1,300+ mailbox estate between servers without silent loss — and prove nothing was left behind.
Scope
Guarded wave sync, per-account message-count audit, mail ops console and HR lifecycle hooks.
Constraints
Destination already serving live users; sync must never reduce a mailbox's message count.
Timeframe
2026

Outcomes

  • MeasuredFinal audit: 1,344 accounts matching or ahead; 0 behind; 0 missing
  • Measured47 gap accounts resolved across 12 waves; one emptied inbox restored
  • QualitativeRole-based mail console so IT no longer shares hosting-panel access
Architecture of Moving 1,300+ business mailboxes between servers — and proving none were left behind6 components in 5 columns (Users, Legacy, Build, Operate, Protect) joined by 6 numbered connections, listed in the notes below the figure.1,300+ staffmailboxesSource cPanel mailserverMail ops console + HRlifecycleWave sync (guardedcopy)Destination + webmailPer-account audit →CSV123456
  1. Users1,300+ staff mailboxes
  2. LegacySource cPanel mail server
  3. BuildMail ops console + HR lifecycle; Wave sync (guarded copy)
  4. OperateDestination + webmail
  5. ProtectPer-account audit → CSV
Fig. 1Architecture. Dashed outlines sit outside the system boundary.
  1. 1,300+ staff mailboxes to Source cPanel mail server: hosted on
  2. Source cPanel mail server to Wave sync (guarded copy): copy
  3. Wave sync (guarded copy) to Destination + webmail: never decrement
  4. Source cPanel mail server to Per-account audit → CSV: counts
  5. Destination + webmail to Per-account audit → CSV: counts
  6. Mail ops console + HR lifecycle to Destination + webmail: admin API

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.

Related insights

Tell us what you run. We’ll tell you what we’d do first.

Tell us what you run and what keeps breaking. We will map it, tell you plainly what we would change, and quote it in writing.

support@kamyab.co.inWhatsApp +91 99877 77250