Bug 278717 - Can't read my email
Summary: Can't read my email
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 1.99.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 16:16 UTC by Darin McBride
Modified: 2017-01-07 22:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (124.42 KB, image/png)
2011-07-28 16:16 UTC, Darin McBride
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darin McBride 2011-07-28 16:16:33 UTC
Created attachment 62281 [details]
screenshot

Version:           1.99.0 (using KDE 4.7.0) 
OS:                Linux

Just upgraded KDE to 4.7.0, and can't read my email in kmail or kmail inside kontact.

Basically, the bottom-right, where the message should show up, does not show anything.  I've tried setting HTML-enabled, and turning it off.  Doesn't seem to do anything.

And now... I can't see my email. This is core, critical functionality, which probably deserves a higher severity (at least for me)

Reproducible: Always

Steps to Reproduce:
Bring up kmail.  Click on a message

Actual Results:  
Nothing shows up. Double-clicking doesn't bring it up in new window, "V" doesn't bring up the source. Nada, nothing.

Expected Results:  
I get to read my boring-life email.

OS: Linux (x86_64) release 2.6.38-gentoo-r6
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Darin McBride 2011-07-28 17:07:48 UTC
Ah, I can read *new* messages that come in, not any of my old messages.  There's a clue - I just don't know what that means.
Comment 2 Torgny Nyblom 2011-07-28 17:32:52 UTC
Try and start akonadiconsole, choose your account (agent) and select "Synchronize All"
Comment 3 Darin McBride 2011-07-28 17:50:52 UTC
I'm not seeing any change.  Mail that I already had (prior to migrating from kmail in kde 4.4 to kmail in kde 4.7) still doesn't want to show up.

My IMAP account (GMail) does work fine whether it's new email or old email.  Locally-stored old email is not displaying.
Comment 4 Martin Koller 2013-02-09 22:19:11 UTC
We are at 4.10 and I assume this is no longer a valid problem for the reporter (given the age of the report), and I do not have this problem here with 4.10 (and a lot of old mails)
Comment 5 Darin McBride 2013-02-10 05:17:41 UTC
Unfortunately, no, even with KDE 4.10.0, it still does NOT work for me.  Just going back to July 2007, for example, I can't read any of the emails, even though they show up in the index just fine.  I'm assuming, then, that these emails will simply be lost to me forever.
Comment 6 Martin Koller 2013-02-10 10:39:51 UTC
Thanks for your feedback, reopening then.
If I understand you correctly, then you see the header of the mail (e.g. in the message list the subject, date, sender, etc.) but you see no message content, right ?
What you could do is to grep for such a subject text in your local maildir folders and find the file which contains the message. Then look inside the file and tell us if the message body is also missing from the file itself, please.
Comment 7 Darin McBride 2013-02-10 17:31:28 UTC
$ grep -A 1 'Contact Information Update' ~/Mail/inbox
Subject: Contact Information Update
Date: Fri, 20 Jul 2007 17:07:00 -0400

And if I look in that file with "less", I see the email headers start on line 1301711 and end on 1301755, and the email contents (multi-part MIME message) starts on 1301757 (with the blank line in between, as expected), and goes to 1302164 (darned Member of Parliament with mixed text/html messages).  While the html is hard to read, the mime-encoded plain text seems to be fine.

I'm wondering if kmail decided to switch formats - because this inbox's last message is:

Date: Thu, 28 Jul 2011 02:15:02 -0600 (MDT)

whereas my real inbox in kmail has plenty of messages since that date.  Those seem to be in ~/.local/share/akonadi/file_db_data...
Comment 8 Martin Koller 2013-02-10 17:45:05 UTC
I think what you're missing is a resource which loads your old inbox mbox file.
What you find under ~/.local/share/akonadi/file_db_data... is just a _cache_ of the new mails (or part of the mails) not the mails themselves.

Please check your kmail settings under Accounts -> Receiving.
You should have (or add a new one) of type mbox which points to the old mbox file - then you should be able to see all your old mails.

To find your new mails (the ones you received from July 2011 on) should be somewhere else. Check your receiving accounts settings.
Comment 9 Darin McBride 2013-02-10 18:12:52 UTC
Ok, I've created that mbox... unfortunately, that means they're all going into a different folder, so the header info still shows up in my "KMail Folders / Inbox" but the header AND message shows up in a whole separate location :(  Maybe filtering would help, but that doesn't work anymore, either :(
Comment 10 Martin Koller 2013-02-10 19:08:00 UTC
Intresting ... If you did not have the mbox resource before, I wonder from where akonadi got the header info then ...

You probably should discard the akonadi database and start from scratch
Comment 11 Denis Kurz 2016-09-24 18:17:38 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 12 Denis Kurz 2017-01-07 22:28:14 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.