How to import mail with “read status”?
Can I get some help importing mail from Evolution and Kmail into TB (38)? I am not getting the “read status” with the mail. How can I export the mail from those clients with the read status included?
Linux Mint OS
Edeziri
All Replies (6)
Kmail can save in Mbox. I suggest you use that. THen you could use the import export add-on to import the mbox, or just place it in the Mail/Local Folders folder in Thunderbird profile. (Thunderbird used the RD sub format, I am not sure what kmail uses.
Evolution also appears to use mbox.
Some info here on evolution and Kmail import http://kb.mozillazine.org/Importing_and_exporting_your_mail#Specific_programs
Both Evolution and Kmail clients defaulted to maildir format when I set them up.
Evolution had "Save as mbox", which worked, but it flattened all messages' status to "unread".
Kmail documentation mentions copying messages between maildir/mbox folders, but I am not yet able to arrange that. Here too, previous imports did not keep the "read status".
With both clients, I want to migrate some mail folders to TB and keep the mail status data.
Edeziri
Using this link: Where is my kmail data stored? you can find the raw files in mbox format from evolution and kmail and place them in ~/.thunderbird/default/profile.xxyyzz (making sure to use the proper profile for the imported (to-be-imported) account in tbird.
I would assume the maildir is using eml format, so you might get some mileage out of the import export tools add-on. https://addons.mozilla.org/en-US/thunderbird/addon/importexporttools/
Yes, Import/Export Tools are required because the native TB import function doesn’t work; the dialog is blank, regardless if the other client is open.
The kmail storage link indicates “messages are typically in ~/.kde/share/apps/kmail/. “
I see ( ~/.kde/share/apps/kmail2/autosave/ ) on my system, but there are no files in kmail2 or autosave.
My kmail files are in ( /home/username/.local/share/local-mail/ ) with default directories:
inbox, .inbox.directory, sent-mail, outbox, drafts, tmp, new, cur trash, templates
...plus several of my own directories.
The files have names like:
1463185413.R943.machine name 1463185413.R712.machine name:2,S 1463428378.R839.machine name:2,RS
They are text data with copious metadata obscuring the messages. It really is confusing me now.
Evolution mail seems to be here:
/home/username/.local/share/evolution/mail/local/.mymailfiles.cmeta binary files /home/username/.local/share/evolution/mail/local/.mymailfiles/cur/maildir files
Again, I don’t know how to get a copy formatted different (well did get mbox copy, but did not preserve read status) or how to process the mail to send to TB Imp/Exp with read status intact.
Edeziri
Thunderbird does not import from kmail or Evolution. With IMAP, the number of applications Thunderbird imports from is becoming less and less a priority.
I think your chances of getting the status are about Zero. Thunderbird uses the X-mozilla-status for the read status. Is that in your eml files.