Mail can be copied between IMAP servers using a graphical client such as Outlook or Thunderbird. However, these tend to be quite unreliable, often resulting in duplicates or missing messages.
An alternative is to use the imapsync script. For example, the following command copies all your mail from Fred’s INBOX folder at example.com to the Old-Mail folder at example.net:
imapsync --host1 mail.example.com --user1 fred --ssl1 --password1 secret1 \
--host2 mail.example.net --user2 fred --ssl2 --password2 secret2 \
--folder INBOX --prefix1 INBOX --prefix2 Old-Mail --dry
The –dry option prevents imapsync actually making any changes. Once you are sure you have all the options right, you can remove it to perform the sync.
VirtualBox compiles kernel modules against the running kernel. This means you should update your system before you start as otherwise the Guest Additions will stop working when you upgrade in the future.
I recommend doing this in a virtual terminal of the guest machine (press CTRL-ALT-F2) as in graphical mode VirtualBox seems to have a habit of making the kernel of the host OS panic. Once you are updated, make sure to reboot so that you are actually running the latest kernel:
Now install the headers and compilers needed by VirtualBox Guest Additions:
yum install kernel-devel kernel-headers gcc
And install the guest additions by choosing ‘Install Guest Additions…’ from VirtualBox’s menus. Reboot again and your systems should come up with the guest additions working.