Skip to main content

Import emails from archive files on server

Comments

2 comments

  • cPRex Jurassic Moderator
    Hey there! While not part of cPanel exactly, Roundcube does have an Import feature on the main page: The MIME option uses .eml files, so that might be the easiest way to perform that work in a semi-automated fashion.
    0
  • Handssler Lopez
    I'm migrating an archive of mail from another mail provider into a cPanel imap account. The only formats they provide for exporting the archive is as a zip archive of .eml files or as a .pst. The archive is not accessible as an imap account so imapsync isn't an option. These are large files (1.5+ gigs each) and there are going to be quite a few of them, maybe 20-30+. It's going to take a v. long time to extract .eml's from zip locally and import via Thunderbird or similar and/or upload .pst using Outlook. I can get the files onto the server, but I'm struggling to find software (command line tool) or any other method of converting/importing them into a cPanel imap account on the server. Has anyone any advice, workarounds or found a way of either:
    • Converting the .zip of .eml's directly into a cPanel imap account inbox on the server; or
    • Inflating the .eml's from the .zip on the server and then doing the above; or
    • Converting the .pst on the server for import into cPanel imap account.
    Many thanks in advance.

    I read the question very late but based on my experience the best is use Horde, and import the files as .Mbox so you generate a single file to import not several as they would be .Eml and modify the maximum file upload size for the account and thus also horde Wiki :: FAQ/Admin/FileUploads ** important ** if you have problems with waiting or upload times then restore the emails first in any application of your choice I recommend mozilla thunderbird then export as .Mbox in small files of 100, 200, 300, 400, or up to 500MB and upload the emails little by little if you only have to restore 1GB of email per account this will be fast. the other option is to download all the files as .eml and restore them using mozilla thunderbird and configure the new account as imap, and just select and copy files to the new account that has surely been created through cPanel I have restored individual accounts up to 60GB. I hope I've helped!
    0

Please sign in to leave a comment.