Move all mail from one account to another on same domain

ssgill

Verified User
Joined
May 9, 2012
Messages
173
Hello i have to move mail from account with multiple folders to another account on same domain. I can drag and drop via Thunderbird but both accounts are huge and will take time and chances of things going wrong are high. I tested doveadm copy on test account

doveadm copy -u [email protected] INBOX user [email protected] mailbox Inbox ALL

This command only copy emails in inbox but not the folders and their content. Any help would be appreciated.
Thanks
 
I was able to move mail using imapsync, it was straightforward and moved 14000 mail without any issues. Installation and usage available on github. Thanks all for your suggestions.
 
Back
Top