LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-02-2003, 07:05 AM   #1
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Importing backed-up Kmail Emails


Hi LQ'ers,

I've reinstalled my Slack for reasons of increasing the partition size I apportioned to it. Everything is well and dandy except the fact that I can't get back my old emails.

Prior to deleting my old partition, I've backed up my ~/Mail dir, with the reasoning that I can just put it back in place after reinstalling... However, everything failed miserably.

Methods I've tried:
1) Copying back the directory and starting up kmail.
2) Started Kmail, created my POP & SMTP settings, quitting Kmail, put back the Mail dir, and restarting it again
3) Trying to use the Import mail menu (funny how there are options for many other clients *except* KMail).

Any help would be greatly appreciated.

Thanks in advance.

<Edit>
Minor spelling and grammatical corrections.
</Edit>

Last edited by Azmeen; 06-02-2003 at 07:07 AM.
 
Old 06-02-2003, 09:07 AM   #2
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Original Poster
Rep: Reputation: 46
bump
 
Old 06-02-2003, 09:12 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
he he,
Now that you killed your own 0 replies status, here I go:

I was there once, and for the life of me cannot remember exactly what I did to rectify. Try things in your kmail config menu. I think you might need to setup a new folder in kmail that points to the old messages. I can't remember right now, but will take a look later on when I go home (about 3 hours).

Cool
 
Old 06-03-2003, 02:15 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Original Poster
Rep: Reputation: 46
I give up... luckily I have most of my (important) mails still on my XP partition.

Note to other KMail users: perhaps you should backup your mails while KMail is still active. Why? Because once you close KMail, it will compact your mail files, and there's not much you can do with them after that.

Note to people who know KMail devs: KMail *SHOULD* implement an Export feature to ease the backing up process. It seems that just copying the ~/Mail directory is not enough.

 
Old 06-03-2003, 03:18 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
What format are your mailboxes in? Maildir or mbox? I do believe I have mine setup in mbox and the copy to ~/Mail directory works (just tried it). So maybe you just have to set them up (in the future) as mbox's for ease of recovery.

Cool
 
Old 06-04-2003, 07:32 PM   #6
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
I have never had a problem copying the /Mail dir for kmail and putting it back.. I always put back the dir before I start kmail for the first time.. when I open kmail all my old mail and old folders are still there and everything works just fine.. I have been doing this for years.
 
Old 07-15-2004, 10:22 AM   #7
Martin K.
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Thumbs up

hi!

sure, the answer is a little late but maybe usefull for someone else who tries to restore his (compacted) inbox:

1.) start & close kmail to let kmail generate the directory "Mail"
2.) delete the newly created folder "inbox" within the "Mail" directory
3.) copy the (compacted) file "inbox" to the direcotry "Mail"
4.) set read&write access using "chmod" to the file "inbox"
5.) start kmail - kmail will ask you to regenerate the index file

6.) after regenerating the index file you should see your mails within the folder "inbox"

greets, martin
 
  


Reply


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
importing Kmail Kontact to new hard drive Remo Linux - Software 1 11-28-2005 12:38 PM
Importing from Kmail to Mozilla MattShepherd Linux - Newbie 13 04-14-2005 07:30 AM
Importing/Moving Mail M2 Opera To Kmail ? Hell's Grannie Linux - Newbie 0 04-20-2004 07:16 PM
Importing Mozilla messages into KMail Whosrodney Linux - Software 2 09-26-2003 07:08 PM
Importing Outlook Express Emails jrdioko Linux - Newbie 1 06-14-2003 03:07 AM


All times are GMT -5. The time now is 08:44 AM.

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