Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
Minor spelling and grammatical corrections.
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).
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.
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.
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.
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"