Move Email to Bluehost
Download the mail from GoDaddy
getmail is a mail retriever designed to allow you to get your mail from one or more mail accounts on various mail servers to your local machine for reading with a minimum of fuss. getmail is designed to be secure, flexible, reliable, and easy-to-use. getmail is designed to replace other mail retrievers such as fetchmail.
Configuration file is ~/.getmail/getmails
[retriever] type = SimplePOP3Retriever server = pop.theserver.net username = firstname.lastname@example.org password = strongpassword [destination] type = Maildir path = ~/.getmail/maildir/
It was necessary to move the emails from the saved folder to the inbox, run getmail to grab them and then move them back to the saved folder.
Upload to Bluehost
Perhaps use software like this, imap-upload
Apparently Thunderbird can drag and drop to an imap server.
Maildir Directory Structure
Dovecot uses Maildir++ directory layout for organizing mailbox directories. This means that all the folders are directly inside ~/Maildir directory:
~/Maildir/new, ~/Maildir/cur and ~/Maildir/tmp directories contain the messages for INBOX. The tmp directory is used during delivery, new messages arrive in new and read shall be moved to cur by the clients.
~/Maildir/.folder/ is a mailbox folder
~/Maildir/.folder.subfolder/ is a subfolder of a folder (ie. “folder/subfolder”)
Most importantly this means that if your maildir folders exist in eg. ~/Maildir/folder and ~/Maildir/folder/subfolder, Dovecot won’t see them unless you rename them to Maildir++ layout. v1.1 supports them by adding :LAYOUT=fs to mail_location.
~/godaddy_export/cur/ ~/godaddy_export/new/ ~/godaddy_export/tmp/ ~/godaddy_export/.craig/cur/ ~/godaddy_export/.craig/new/ ~/godaddy_export/.craig/tmp/ ~/godaddy_export/.gcs/cur/ ~/godaddy_export/.gcs/new/ ~/godaddy_export/.gcs/tmp/
I could rsync to these folders on Bluehost .
cd ~/godaddy_export/ scp -r .gcs email@example.com:mail/coot.net/godaddy_gcs scp -r .craig firstname.lastname@example.org:mail/coot.net/craig/.godaddy_craig
Then in Roundcube the folder must be subscribed to.