mbox files

Asked by Renato

How can I import .mbox files into my Kontact?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu kdepim Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Philip Lowman (philip-yhbt) said :
#1

First check to make sure your mail appears to be stored in ~/.kde/share/apps/kmail/mail/
If it is make a full backup of the entire kmail folder just to be safe:
$ cp -a ~/.kde/share/apps/kmail ~/my_kmail_backup

Then try this (replace "whatever" with whatever you are going to call the mailbox)

1. Make an mbox folder called "whatever" by right clicking on Inbox and choosing New Subfolder. Be sure to pick mbox from the dropdown dialog and not maildir.
2. You should now have a ~/.kde/share/apps/kmail/mail/.inbox.directory/whatever file of size 0 bytes
3. Quit out of Kmail
4. Place the MBOX file with all of your mail on it on top of "whatever" by using the "mv" command
   $ mv my_mailbox.mbox ~/.kde/share/apps/kmail/mail/.inbox.directory/whatever
5. Restart Kmail

Your mail should appear in a folder underneath the Inbox called "whatever"

Can you help with this problem?

Provide an answer of your own, or ask Renato for more information if necessary.

To post a message you must log in.