E-mail migration tools tested
Short answer
We copied the same test mailbox with five tools between five mail servers. Then we checked every message. Only mail2mail copied everything on all 20 server pairs, with no lost and no doubled messages.
- Messages lost
- 0 of 2,808
- Doubled messages
- 0
- Copies with nothing lost
- 20 of 20
- Time for all 20 copies
- about 20 min imapsync: over 2 h
Results
Each tool copied the same mailbox from every server to every other server. That makes 20 server pairs. Then each tool ran a second time on each pair, as you would to pick up new mail later.
| Tool | Lost | Doubled | Copies with nothing lost |
|---|---|---|---|
| mail2mail Recommended | 0 | 0 | 20 of 20 |
| imapsync 2.326 | 129 | 47 | 2 of 20 |
| mbsync 1.5.1 | 58 | 0 | 3 of 20 |
| OfflineIMAP 8.0.2 | 2,116 | 1 | 0 of 20 |
| doveadm (Dovecot) * | 558 | 0 | 4 of 8 |
* doveadm can only copy into a Dovecot server, so it ran on 8 pairs.
When a copy is interrupted
A move can be interrupted halfway. The connection to a mail server can drop, or the copy can stop suddenly, for example when a server restarts. We tested both.
First we cut the connection again and again, for 90 seconds each time. Then we stopped each tool suddenly, five times in a row. After that, each tool could run to the end.
For you, this means: if your move is interrupted, it can go on where it stopped. Messages already copied are skipped.
| Tool | After dropped connections | After sudden stops |
|---|---|---|
| mail2mail Recommended | All messages, unchanged | All messages, unchanged |
| imapsync | 6 lost, 8 doubled | 6 lost |
| mbsync | All, but every one changed | All, but every one changed |
| OfflineIMAP | About 40 lost | About 40 lost |
| doveadm | One run complete, one run empty | New mailbox empty |
Speed
The first copy on all 20 pairs took mail2mail about 20 minutes in total, and imapsync over 2 hours.
In this table, each tool ran alone, from one Dovecot server to another:
| Tool | First run | Second run |
|---|---|---|
| mail2mail Recommended | 39 s | 2.5 s |
| doveadm | 57 s | 3.6 s |
| mbsync | 70 s | 2.1 s |
| imapsync | 88 s | 22 s |
| OfflineIMAP | 306 s | 2.0 s |
What went wrong with the other tools
- imapsync skipped some messages: ones without an ID, and ones with the same ID as another message. Skipping these is imapsync’s documented default. It also missed mail in folders with unusual names. On 5 pairs it still reported no errors, so you would not notice. The second run added 47 doubled messages.
- mbsync adds a line of its own to almost every message. So 2,750 messages arrived changed.
- OfflineIMAP stopped at a message with an unusual date. Everything after it was not copied.
- doveadm was perfect from Dovecot to Dovecot. From other servers into Dovecot 2.4, the new mailbox stayed empty. It also stayed empty after a sudden stop.
Good to know
- Some servers don’t accept every folder name. Then mail2mail picks a similar name, so the folder and its mail still arrive.
- Some servers refuse a slightly broken message. mail2mail then repairs it a little so it can be stored. The report counts these messages.
- mail2mail changes one rare spam mark into the usual one.
- Single messages over 100 MB are not copied. The report shows the folder and size of each one.
Questions
Who ran the test?
We did, the makers of mail2mail. That is why a separate checker counted the results. It reads both mailboxes itself. The scripts and raw results are under “How we tested”.
Which servers were used?
Dovecot 2.3.19 and 2.4.1, Stalwart 1.1.1, Cyrus 3.10.2 and GreenMail. Every tool got the same mailbox and the settings its own documentation recommends.
Is this the same mail2mail as online?
Yes. We tested the same copy program that ran on mail2mail.link on 20 November 2026.
mail2mail copies a whole mailbox for free. Your old mailbox stays as it is.
Start your moveFree · No account
How we tested
The test mailbox has 1,062 folders and 143 messages. Depending on the server, 134 to 144 of them were stored. It is full of hard cases: 1,000 empty folders, deep folders, unusual folder names, messages without headers or with broken line endings, dates in 2038 and 2099, and one message of 10 MB.
The checker compares each message in the old and the new mailbox: content, marks, date and folder. A message counts as lost when it is missing, and as changed when its content is different.
Settings: imapsync --automap; mbsync Sync Pull, Create Near, CopyArrivalDate yes; OfflineIMAP with the old mailbox read-only; doveadm backup -R with imapc; mail2mail with its default settings.
For the speed table, one tool ran at a time, twice each.
Dropped connections: Toxiproxy cut, reset, slowed and stalled the connections. Sudden stops: we ended the tool’s process at a random moment, 1 to 20 seconds after it started.
Scripts and raw results: benchmark-2026-11-20.tar.gz. Tool websites: imapsync, mbsync, OfflineIMAP, doveadm.
Was this page helpful?
Thanks for letting us know.
Thanks for letting us know. What was missing or wrong? Write to benni@mail2mail.link, we read every message.