Bug 311495

Summary: Kmail2: Maildir synchronization causes several copies of emails sent and received (KDE 4.8.5 in Mageia 2)
Product: [Applications] kmail2 Reporter: Macxi <terraagua>
Component: commands and actionsAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: sskyman, xms-00
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
URL: https://forums.mageia.org/en/viewtopic.php?f=7&t=3325&p=28344&hilit=kmail2#p28344
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Macxi 2012-12-11 04:10:19 UTC
I installed Kmail2 in Mageia 2, KDE 4.8.5, 64bit.
I used the packages from the official repository of Mageia 2.

Some times, when I sending or receiving email:
1-  first the emails are sent or downloaded. 
2 - Then, when the maildir folder syncs emails, several copies of emails are created (10 ou 12 copies). 

This error does not always occur. I can not repeat it. It occurs randomly
in most cases it works well without errors
_____________________________

Initially this error (multiple copies) was going with a few emails, but every time. always.

I deleted the folder location Maildir, accessed the Kmail2 on "settings" under "Configure Kmail" and "Accounts" tab "receipt", I selected "Remove".

Once deleted, created automaticaly another folder "Maildir". Folders and emails are synced again. After that, I thought it would not happen more errors, but errors again occur sporadically and infrequently, but still happening.

Reproducible: Sometimes

Steps to Reproduce:
1. Some times, when I sending or receiving email:
2. first the emails are sent or downloaded. 
3.Then, when the maildir folder syncs emails, several copies of emails are created (10 ou 12 copies). 
Actual Results:  
Some times, when I sending or receiving email,  several copies of emails are created (10 ou 12 copies). 

Expected Results:  
Any update to fix this bug

I did a migration of emails from Kmail in Mageia 1 for Kmail2 in Mageia 2, importing multiple emails and folders.

https://bugs.kde.org/show_bug.cgi?id=305526
Comment 1 XMs 2013-01-20 14:42:37 UTC
I have it too. Recreating the mailbox helps for some time.

Gentoo x86-64, KDE 4.9.3
Comment 2 Tobias 2013-03-21 17:29:08 UTC
I can confirm this behaviour with KMail 4.10.1 on Kubuntu 12.04.02 x86-64. KDE 4.10.1.
Comment 3 Denis Kurz 2016-09-24 18:13:12 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 4 Denis Kurz 2017-01-07 22:46:46 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.