I am currently migrating a website, and my usual method is working with mail clients, and copy the old mailbox to the new server mailbox.
But, if you have a website, with multiple mailboxes, and those mailboxes have numerous folders, the work usually takes all day.
I have searched the Internet for a far more easy and faster way, preferably open-source, but most tools are ancient, and the Q/A here are years old.
Wat is the faster and easier way of migrating mailboxes?
Paid tool:
Free Tool
Note:
I have root access on the destination server, and not on the source.
I downloaded the e-mails with the following settings
mail.DONAINNAME.com
: IMAP (for receiving)smtp.DOMAINNAME.com
: SMTP (for sending)
Are both IMAP daemons the same? Do they have the same mailbox format?
If you have administrative control over these servers and their mailbox format is the same, you do not need special tools as noted by
bodgit
in the comments. You can just tar/compress the data and transfer it or rsync it, etc... just like any other data.There's no need for special tools
I do suggest using compression as email is generally highly compressible. That should save you some time. Those imap tools you're using may not use compression.
If you have special requirements, please update your question for further assistance.