Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-03-2005, 01:35 PM   #1
Registered: Jun 2003
Location: Kalkar, Germany
Distribution: Slackware
Posts: 81

Rep: Reputation: 15
recovering mail archive under kmail

My HD crashed, and with it my mail archive which I held in KMail. Fortunately, I had a backup of these files. I reinstalled a new version of Slackware, and I decided to restore the mail directory from backup. However, KMail turns out to be configured differently, and it has a config file with only the standard folders in it, so I cannot simply replace the mail directory. How can I recover the rich array of folders which I had, without having to import them one by one?
Old 11-04-2005, 10:29 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,057

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
To get your emails back I'd suggest the following:

Run kmail once, to create the directory structure (You have already done this). Close kmail.
Copy ALL your old mail directories and files into the new mail directory.
Delete all the old *.index and *.index.ids files from the new mail directory (or do not copy them in the first place!).
Restart kmail, it may be slow in starting as it will have to re-create the index files.
Your mail should be readable.
Restoring filters and your address book is more complicated, and depends on which version of kmail you are trying to restore from and to.

Old 11-04-2005, 12:39 PM   #3
Registered: Jun 2003
Location: Kalkar, Germany
Distribution: Slackware
Posts: 81

Original Poster
Rep: Reputation: 15

Thanks a lot. I got it working. Not exactly the way you suggested, but near enough, and it certainly helped.

Thanks again!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmail welcome mail jabe Linux - Software 9 06-06-2006 09:43 PM
Recovering files from corrupt TAR archive... johnwyles Linux - Software 8 04-17-2006 04:44 AM
Mail Archive xedios Linux - Software 1 06-22-2005 03:18 PM
Importing mail from Kmail to Thunderbird or Mozilla mail equus Linux - Software 3 07-30-2004 03:52 PM
Kmail Send mail Maurice Arthur Linux - General 3 12-05-2001 09:45 PM

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration