Bug 316425

Summary: kmail2 produces duplicated mails from POP account (even on disk)
Product: [Applications] kmail2 Reporter: Martin Koller <kollix>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: 4.10.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Koller 2013-03-09 18:28:29 UTC
Today I resumed my Laptop, kmail downloaded the mails from my POP accounts (I have ONLY POP accounts) and all mails in INBOX were there twice.
As I see this problem often, I just deleted the duplicate mails.
Then I read the "marketing blocker" thread on the kde-pim mailing list (which I store in a separate folder) and saw, that I have a lot of duplicated mails also there (often three or four times the same mail).
I wanted to see if this is only a "display" problem and "grep"ed for one of the duplicate mails in my ~/Mail folder and I found two BINARY IDENTICAL files.
E.g.
I have the folder "/home/koller/Mail/.z_div. privat.directory/KDE-PIM" and did

grep -R 'ObjectTreeParser::rawDecryptedBody' .
./cur/1362848125.R740.linux-d4d3.site:2,S:      ObjectTreeParser::rawDecryptedBody as deprecated
./cur/1362848470.R801.linux-d4d3.site:2,S:      ObjectTreeParser::rawDecryptedBody as deprecated

cmp ./cur/1362848125.R740.linux-d4d3.site:2,S ./cur/1362848470.R801.linux-d4d3.site:2,S

gives no result.

The mails in this KDE-PIM folder are moved there by a filter (but I thought I read something wrt. the filters
was fixed in 4.10.1 ?)

But I also have now the situation that I see two identical mails in KDE-PIM, where I only find ONE file on disk.

Very strange things happen here ...

Reproducible: Sometimes
Comment 1 Denis Kurz 2016-09-24 18:09:36 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 2 Denis Kurz 2017-01-07 21:39:44 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.