Bug 5838 - KMail only downloads mail headers
Summary: KMail only downloads mail headers
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: MGA2TOO
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2012-05-10 23:32 CEST by Neil Darlow
Modified: 2015-03-29 04:26 CEST (History)
4 users (show)

See Also:
Source RPM: kdepim4-4.8.2-3.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Neil Darlow 2012-05-10 23:32:21 CEST
Description of problem:

I upgraded Mageia 1 to Cauldron following instructions on the Mageia wiki.
My mail account was not migrated and I had to recreate it.
All my existing mails from before the upgrade are complete but all mails received to Inbox after the upgrade only show headers. The mail body is empty.
Mails filtered to other folders on the server (by sieve) have headers and body.
Mails filtered as Spam to Junk folder only have headers also.

Version-Release number of selected component (if applicable):
kmail-2:4.8.2-3,mga2.i586.rpm

How reproducible:
Consistently. It appears that mail arriving via Inbox does not have body text.


Steps to Reproduce:
1. Select a mail in Inbox.
2. Observe that headers are present but not body text.
3. Select a mail filtered to another folder by server mechanism.
4. Observe that headers and body text are present.
Manuel Hiebel 2012-05-11 00:51:36 CEST

CC: (none) => balcaen.john, lmenut

Comment 1 John Balcaen 2012-05-11 01:24:12 CEST
I can't reproduce here.
Which type of account did you create ? imap ? pop3 ?
I'm using imap here & mails are also filtered on my mail server using sieve.
Comment 2 Neil Darlow 2012-05-11 11:12:38 CEST
It is an IMAP account.

The symptoms look like bugs.kde.org #298393 and I do have the bogofilter Spam filters enabled.

I've just deleted those filters and I will see if it resolves the issue.

It seems to affect only unread mail. I read one of my latest e-mails first on my Android phone and when I opened it in KMail the body was there. The other, unread, mails opened with empty bodies.
Comment 3 Neil Darlow 2012-05-11 13:05:21 CEST
It is the bogofilter Spam filter!

I did the following to ensure a clean KMail setup:

1) Deleted akonadi directories from ~/.config and ~/.local/share
2) Removed all kaddressbook, kmail, kontact, korganizer, knotes and kres-migrator stuff from ~/.kde4/share/config and ~/.kde4/share/apps
3) Restarted KDE to recreate akonadi agent resources
4) Re-added resources through KDE Personal Settings control module
5) Re-created my local addressbook
6) Started KMail and reconfigured accounts and settings

Then I performed the following tests:

1) Sent a test mail to myself - mail was received and displayed correctly!
2) Ran the Anti-Spam wizard and configured for bogofilter
3) Restarted KMail to ensure configuration was adopted
4) Sent a test mail to myself - mail was received but body was not present!
5) Disabled and deleted the 4 filters created by Anti-Spam wizard
6) Restarted KMail to ensure configuration was adopted
7) Sent a test mail to myself - mail was received and displayed correctly!

So, it appears that bogofilter Spam filter strips body from incoming unread mails.
Comment 4 John Balcaen 2012-05-11 13:47:03 CEST
Seems a know issue upstream : 
http://comments.gmane.org/gmane.comp.kde.devel.pim/32830

Keywords: (none) => UPSTREAM

John Balcaen 2012-05-11 13:55:41 CEST

See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=298393

Comment 5 Marja Van Waes 2012-05-26 13:02:04 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 6 John Balcaen 2012-05-26 14:13:46 CEST
(In reply to comment #5)
This is an upstream bug (issue with bogofilter spam) & it's affecting kmail 4.8.x

Hardware: i586 => All
Version: Cauldron => 2

Manuel Hiebel 2012-05-27 17:18:55 CEST

Keywords: NEEDINFO => (none)

Marja Van Waes 2012-06-03 08:55:12 CEST

CC: (none) => marja11
Version: 2 => Cauldron
Whiteboard: (none) => MGA2TOO

Comment 7 Nic Baxter 2015-03-10 04:21:52 CET
I can't reproduce in 5Beta3 using kmail (kdepim4-4.14.5-1.mga5. Presumably it has been fixed up stream. Close?

CC: (none) => nic

Comment 8 Nic Baxter 2015-03-29 04:26:43 CEST
Ok

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.