Faster way to import Thunderbird pop emails into dovecot imap Maildirs?
Until recently, I was using POP on my desktop and imap to access my email on my phone and laptop. Got tired of not having everything everywhere, so decided to go full imap.
Followed the suggestions online and created a new imap account for my site in Thunderbird and copied my pop folders over to the imap ones so that the emails would get uploaded to the dovecot server and Maildir folders.
That worked for some smaller folders, but in a couple of folders, I have in excess of 20,000 emails. Thunderbird/Dovecot seems to choke on that, apparently timing out at some point. I've tried doing about 1000 messages at a time, but even that is taking more than an hour and I have to be around for each chunk.
I'm sure someone here is going to point me to some eureka moment method of exporting the thunderbird folders to some format, sftp'ing them to the server and importing. Just want to be careful that I don't mess up the current batch of emails on the imap server.
Thanks for any suggestions.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 1 Mar 2017, Ian Evans wrote:
I'm sure someone here is going to point me to some eureka moment method of exporting the thunderbird folders to some format, sftp'ing them to the server and importing. Just want to be careful that I don't mess up the current batch of emails on the imap server.
Some time ago Thunderbird was using mbox-style format to store messages locally. It this is true today and for your installation, you can try the mb2md scripts:
http://wiki2.dovecot.org/Migration/MailFormat
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBWLfFnHz1H7kL/d9rAQL3nwf+JcpXPoGCBFuR+4yrvLy2Xwp0mvEjO/qN VET4UChEDUa2D6EeFDC59Jmun7YcBRal//Vkc7m+5qnhcRu84BuXe1OBlBD7lAzq 7izYKAgYXGIq1603z0NqsHAmopseo2qbGWUy00LGvqTSBNQV9FzdMYYuaCWWIVu6 FYf/8t2VVScwUhjTtkSNXLQzoxWhtIf5J1hkZHjGyFSMyVH1vcCxn8CwSyowNnbO vZm3I2tcwAvwghGF0w8F0zhNTG7CmbfZOGaIBKvvEvOgJuGo4Edh7Q2vSKG8LZoe YoVkZB0QH5/BVGShYnx3T9jyf2beUrlP1VbAPxfVVThJQPh6PFK3UA== =8cWo -----END PGP SIGNATURE-----
On Mar 2, 2017 2:11 AM, "Steffen Kaiser" skdovecot@smail.inf.fh-brs.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 1 Mar 2017, Ian Evans wrote:
I'm sure someone here is going to point me to some eureka moment method of
exporting the thunderbird folders to some format, sftp'ing them to the server and importing. Just want to be careful that I don't mess up the current batch of emails on the imap server.
Some time ago Thunderbird was using mbox-style format to store messages locally. It this is true today and for your installation, you can try the mb2md scripts:
http://wiki2.dovecot.org/Migration/MailFormat
Thanks, I'll take a look at it.
On 03/03/17 07:11, Ian Evans wrote:
Some time ago Thunderbird was using mbox-style format to store messages locally. It this is true today and for your installation, you can try the mb2md scripts: http://wiki2.dovecot.org/Migration/MailFormat
Recent versions of Thunderbird can store local messages in Maildir format...
https://wiki.mozilla.org/Thunderbird/Maildir
https://mail.mozilla.org/pipermail/tb-enterprise/2015-June/001112.html
participants (3)
-
Ian Evans
-
Mark Constable
-
Steffen Kaiser