thunderbird / import-export-tools-ng

Import Export Tools that supports Thunderbird v68-v128
Other
296 stars 31 forks source link

Import into IMAP account #506

Open sylvainfaivre opened 1 year ago

sylvainfaivre commented 1 year ago

Using 14.0.1, as far as I understand, there is no way to import mbox files into an IMAP account, you can only import into local folders.

Creating this issue to track this feature.

cleidigh commented 1 year ago

@sylvainfaivre You are correct. ImportExportTools has never allowed direct imports to imap folders. It's by design because the stress and possible server communication would make this potentially unreliable. @cleidigh

bentolor commented 10 months ago

Thanks for the clarification @cleidigh !

I've the situation where I gathered around 25 years of email in my local Thunderbird archive. Now I want to copy them (including hundres of folders) onto an IMAP server.

Any hints or maybe related tool to achieve this? Or related tool?

I just tried import-export-tools-ng and was expecting an import to IMAP option. I'm also using imap-backup which unfortunately only offers export to Thunderbird Archive.

Update: I found the little Python-Script https://github.com/rgladwell/imap-upload/ does the job, though a little fiddly and one needs to rename the mbox export files in the directory structure with find . -type f -exec mv \{\} to \{\}.mbox \; first.