I have a large 20 GB Mbox file with emails since 2001, which I want to be searchable.
I wanted to import it into Mailinabox and I am still undecided if I want to run this big mailbox just as a searchable online backup or as daily account.
The server is with fast SSDs and CPU (it run an ethereum node without any problems).
My questions:
how to import the mbox from the command line?
is mailinbox even able to search fast enough (if the hardware is not the limit)?
I dont personally like that a 3rd party tools are moving my mail for me so I tend to just configure Mozilla Thunderbird with the old email server (gmail or whatever) and the new email server (MIAB) and then manually move messages with CTRL-A and drag and drop to the new miab location.
I’m not sure there is a direct tool to go from MBOX format to maildir
Mail in a Box should be able to search via roundcube web-ui however with a 20G Mailbox I think no matter which hardware is under the covers it will be challenging. Connecting it to Thunderbird or another mail client (like outlook) might provide a faster searching as some of these applications support indexing.
As I understand it, your objective is to be able to search a large file of emails.
MIAB’s IMAP server is Dovecot. A default installation of Dovecot doesn’t support indexing of mail. Therefore when you search, the routine will have to examine every email in turn. Even with fast disk, that could take some time across 20GB of mail I suspect.
There is a email indexing add on available for Dovecot but as far as I know that is not configured in MIAB.
See here for some information on this with Cloudron’s email solution with regard to searching large email stores.