Importing 10GB Mbox format Email

azadhussnain

Well-Known Member
May 28, 2020
66
0
6
India
cPanel Access Level
Root Administrator
Hi,

We have exported GMail backup, the backup format is Mbox and the size is almost 10GB.
We want to import it to our cPanel E-mail Account.

As I can see in the roundcube import option, the maximum upload size is 2GB.
In the tweak setting also, the Maximum upload size we can do is 2GB.

So is there any way to import that 10 GB Mbox file from UI or either command line?
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,780
331
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
I don't know if there is a way to directly import this, but, while it would be slow, you could use a tool like imapsync


To import it. We have used it a lot on smaller accounts, but I cannot attest to something like 10 gb. It might be worth some time to clear out some items from there first. I know that some people never purge their sent items and they could have years of data in there.

Perhaps someone else will chime in on how to do a direct import.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,618
2,625
363
cPanel Access Level
Root Administrator
I looked into this a bit on my end, and I'm not finding a better way to import that amount of data. Imapsync would grab everything for sure, but would take some time.

I'll leave this marked as new for a bit to see if anyone else has ideas.