Last updated: September 3, 2025
cur, new, tmp under /home/user/mail/domain/mailbox/..Sent, .Drafts, etc.).mail/domain.tld/user/. You should see cur, new, tmp and hidden folders like .Sent, .Drafts, .Trash, .Junk.dovecot.index* and dovecot-uid* files (indexes will rebuild). Click Compress → Zip (e.g., user_mailbox.zip).mail/domain.tld/user/.user_mailbox.zip and Extract. When prompted, choose to merge/overwrite the cur / new contents and any dot‑folders (.Sent, .Drafts, etc.).dovecot.index* files so Dovecot rebuilds them.Where exactly are the mails stored? For each mailbox: /home/<cpanel-user>/mail/<domain>/<mailbox>/. Inbox data lives in cur (read) and new (unread); temporary deliveries in tmp. Sub‑folders are hidden dot‑folders (e.g., .Sent).
Why remove dovecot.index*? They are per‑folder index/cache files. Deleting them after a manual copy forces a clean rebuild and avoids display inconsistencies.
Alternative method? You can try to migrate them by backing up the emails via an email client and importing them back after you re-created the accounts on the new cPanel. Feel free to refer to online guides for this.