Recently my computer had to be hard-reset, and fsck ran on
After reset I don't see all my saved emails in KMail (KDE 3.5.3), at least those that were present in folder that was opened when computer crashed. The files are there physically in
The configuration files got damaged -- beside not seeing all saved emails, I have lost configuration of all my email accounts.
Is it possible to fix KMail configuration to make those saved emails visible again?
asked 03 Aug '11, 13:23
If you look at the KDE KMail page you see it stores email in mailbox format by default. At the bottom of that page, see "Other Tools and Patches", there's a configuration file excerpt that shows you how to mount a mailbox. So if for example you have a Gmail account with a mailbox called "Gmail.mbx" then its configuration part could read:
Putting one and one together: 'chmod 0440' your existing mailboxes in ~/Mail/folder/cur/ to ensure they don't get changed by reconfiguration, in KMail configure your accounts and mailboxes, close KMail to save configuration and then check if its account and mailbox configuration matches what you have in ~/Mail/folder/cur/ (adjust configuration with a text editor). Run KMail and see if it opens the files.
* If it doesn't it could be the mailboxes were damaged. Check by running 'file ~/Mail/folder/cur/*' on the files. Magic should return something along the lines of "ASCII text" (not "data") and the files should be human readable using any command line or GUI editor or text viewer. If they aren't you've just found out why making backups is important.
answered 22 Nov '11, 08:45