These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to avoid users to receive old emails if migrate from one server to another server on the new forum.
I had to migrate my main server a couple of times recently and didn't experience that (using IMAP). I followed the guide at https://www.virtualmin.com/documentation/system/migrate. What method did you use?