[opensuse-factory] Kmail 5.4 and duplicated emails going back 2 months
![](https://seccdn.libravatar.org/avatar/7491ea623a334fec64fba10b9f1ea62e.jpg?s=120&d=mm&r=g)
HI Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working. Regards -- opensuse:tumbleweed:20161217 Qt: 5.7.0 KDE Frameworks: 5.29.0 KDE Plasma: 5.8.4 kwin5-5.8.4-171.1.x86_64 Kernel: 4.8.13-1-default Nouveau: 1.0.13_2.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/ac3724fd0e27e7ce3de5b5bd2c85a8b4.jpg?s=120&d=mm&r=g)
Same here, writing (sorry for tofu) this email in a web-application, because kmail is unusable. It downloaded thousands of emails, but »forgot« to filter them. I marked them all (!) and made C-j many hours ago. One detail: All emails were downloaded from a pop3 account. Maybe this kind of amok doesn't happen with IMAP accounts. -----Original-Nachricht----- Betreff: [opensuse-factory] Kmail 5.4 and duplicated emails going back 2 months Datum: 2016-12-19T20:05:34+0100 Von: "ianseeks" <bingmybong@btinternet.com> An: "opensuse-factory@opensuse.org" <opensuse-factory@opensuse.org> HI Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working. Regards -- opensuse:tumbleweed:20161217 Qt: 5.7.0 KDE Frameworks: 5.29.0 KDE Plasma: 5.8.4 kwin5-5.8.4-171.1.x86_64 Kernel: 4.8.13-1-default Nouveau: 1.0.13_2.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/576391bd11ddfd711cdb528aeca24927.jpg?s=120&d=mm&r=g)
Il giorno Mon, 19 Dec 2016 22:20:35 +0100 (MET) "Alexander.Willand@t-online.de" <Alexander.Willand@t-online.de> ha scritto:
One detail: All emails were downloaded from a pop3 account. Maybe this kind of amok doesn't happen with IMAP accounts.
FTR, I don't see anything of the sort with IMAP / Kolab. -- Luca Beltrame - KDE Forums team GPG key ID: A29D259B
![](https://seccdn.libravatar.org/avatar/7491ea623a334fec64fba10b9f1ea62e.jpg?s=120&d=mm&r=g)
On Monday, 19 December 2016 22:39:36 GMT Luca Beltrame wrote:
Il giorno Mon, 19 Dec 2016 22:20:35 +0100 (MET) "Alexander.Willand@t-online.de" <Alexander.Willand@t-online.de> ha
scritto:
One detail: All emails were downloaded from a pop3 account. Maybe this kind of amok doesn't happen with IMAP accounts.
FTR, I don't see anything of the sort with IMAP / Kolab. I think akonadi server is having problems as well as its blown up a couple of times, kmail is back to its old tricks of "wait forever while it retrieves" on a couple of folders
-- opensuse:tumbleweed:20161217 Qt: 5.7.0 KDE Frameworks: 5.29.0 KDE Plasma: 5.8.4 kwin5-5.8.4-171.1.x86_64 Kernel: 4.8.13-1-default Nouveau: 1.0.13_2.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/576391bd11ddfd711cdb528aeca24927.jpg?s=120&d=mm&r=g)
Il giorno Mon, 19 Dec 2016 22:53:46 +0000 ianseeks <bingmybong@btinternet.com> ha scritto:
I think akonadi server is having problems as well as its blown up a couple of times, kmail is back to its old tricks of "wait forever while it retrieves" on a couple of folders
Are you fully up to date? Because an unexpected build failure in TW caused a critical part of PIM not to be published, breaking KMail. An update was pushed to the update repo to undo the breakage. -- Luca Beltrame - KDE Forums team GPG key ID: A29D259B
![](https://seccdn.libravatar.org/avatar/7491ea623a334fec64fba10b9f1ea62e.jpg?s=120&d=mm&r=g)
On Tuesday, 20 December 2016 07:10:18 GMT Luca Beltrame wrote:
Il giorno Mon, 19 Dec 2016 22:53:46 +0000
ianseeks <bingmybong@btinternet.com> ha scritto:
I think akonadi server is having problems as well as its blown up a couple of times, kmail is back to its old tricks of "wait forever while it retrieves" on a couple of folders
Are you fully up to date? Because an unexpected build failure in TW caused a critical part of PIM not to be published, breaking KMail. An update was pushed to the update repo to undo the breakage.
Yes, it kmail 5.4 initially failed as per the reports in the list, i did another zypper and got the pim runtime update and then it worked for a while. It was the second time i used it after logging out and back in later when the duplication happened. The retrieving forever seems to trigger when i click on a particular unread duplicated email and then it seems to effect other folders that i was previously using okay. The only way i can seem to get to recover is to stop and start akonadiserver but it will fail again if i click on these particular unread emails. Here are a few messages on the terminal during the retrieving forever phase org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" org.kde.pim.akonadiserver: Cannot resume a timer that is not paused. org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40481 "" false org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" org.kde.pim.akonadiserver: Cannot resume a timer that is not paused. org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 40489 "" false -- opensuse:tumbleweed:20161217 Qt: 5.7.0 KDE Frameworks: 5.29.0 KDE Plasma: 5.8.4 kwin5-5.8.4-171.1.x86_64 Kernel: 4.8.13-1-default Nouveau: 1.0.13_2.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2016-12-19 22:20, Alexander.Willand@t-online.de wrote:
One detail: All emails were downloaded from a pop3 account. Maybe this kind of amok doesn't happen with IMAP accounts.
Yes, imap is more resilient to that particular problem. I read a recent thread on the fetchmail list where the poster had problems with fetchmail downloading the same emails everyday. There it was related to usage of LAST or UIDL commands on the server (yahoo). Apparently fetchmail can store a list of the UIDs of all downloaded messages so as to not download them again. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlhYVWkACgkQja8UbcUWM1wM+gD+LTXW7B307D+c1BS0CoZYUePx uSwJLf6Et/Ug5mVCl/MA/25ppasmCec3unPviABjK6BeIvwUWzmuKf9IHEpjHAdE =HoCm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/85f5c39aea1e2959b6ce766ea3239268.jpg?s=120&d=mm&r=g)
2016-12-19 20:05 GMT+01:00 ianseeks <bingmybong@btinternet.com>:
HI
Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working.
As far as I can remember this problem on an IMAP account, I got rid of it after changing some weird combination of default folders and filter settings introduced after migrating from an older KMail version causing a circular filtering from Inbox back to Inbox. Therefore, the problem happened just in KMail, but not for other mail readers, like Thunderbird or Evolution. The mails were duplicated on the remote account each time I connected using KMail. Please check default folders and filter settings: - Configure KMail -> for all Identities -> Modify -> Advanced whether all folders refer to the correct local folders (or remote folders on IMAP), not to Inbox, and do not cause cycles along with a filter on them by mistake - Configure KMail -> Accounts -> Receiving -> for all IMAP accounts -> Modify -> Advanced -> Trash folder whether the folder (or remote folder on IMAP) is correct and causes no cycle along with a filter on it by mistake - Settings -> Configure Filters... whether there is a combination of filter rules leading back to Inbox by mistake. Unfortunately I don't remember the exact wrong combination of settings here, but it works fine now (no duplicates any longer at least for IMAP and Local Folders resources). So it is at least worth to check, but no guarantee. René -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7491ea623a334fec64fba10b9f1ea62e.jpg?s=120&d=mm&r=g)
On Monday, 19 December 2016 23:10:15 GMT René Krell wrote:
2016-12-19 20:05 GMT+01:00 ianseeks <bingmybong@btinternet.com>:
HI
Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working.
As far as I can remember this problem on an IMAP account, I got rid of it after changing some weird combination of default folders and filter settings introduced after migrating from an older KMail version causing a circular filtering from Inbox back to Inbox. Therefore, the problem happened just in KMail, but not for other mail readers, like Thunderbird or Evolution. The mails were duplicated on the remote account each time I connected using KMail.
Please check default folders and filter settings: - Configure KMail -> for all Identities -> Modify -> Advanced whether all folders refer to the correct local folders (or remote folders on IMAP), not to Inbox, and do not cause cycles along with a filter on them by mistake - Configure KMail -> Accounts -> Receiving -> for all IMAP accounts -> Modify -> Advanced -> Trash folder whether the folder (or remote folder on IMAP) is correct and causes no cycle along with a filter on it by mistake - Settings -> Configure Filters... whether there is a combination of filter rules leading back to Inbox by mistake.
Unfortunately I don't remember the exact wrong combination of settings here, but it works fine now (no duplicates any longer at least for IMAP and Local Folders resources). So it is at least worth to check, but no guarantee.
René Thanks, mine are all POP
-- opensuse:tumbleweed:20161217 Qt: 5.7.0 KDE Frameworks: 5.29.0 KDE Plasma: 5.8.4 kwin5-5.8.4-171.1.x86_64 Kernel: 4.8.13-1-default Nouveau: 1.0.13_2.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/85f5c39aea1e2959b6ce766ea3239268.jpg?s=120&d=mm&r=g)
2016-12-19 23:51 GMT+01:00 ianseeks <bingmybong@btinternet.com>:
On Monday, 19 December 2016 23:10:15 GMT René Krell wrote:
2016-12-19 20:05 GMT+01:00 ianseeks <bingmybong@btinternet.com>:
HI
Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working.
As far as I can remember this problem on an IMAP account, I got rid of it after changing some weird combination of default folders and filter settings introduced after migrating from an older KMail version causing a circular filtering from Inbox back to Inbox. Therefore, the problem happened just in KMail, but not for other mail readers, like Thunderbird or Evolution. The mails were duplicated on the remote account each time I connected using KMail.
Please check default folders and filter settings: - Configure KMail -> for all Identities -> Modify -> Advanced whether all folders refer to the correct local folders (or remote folders on IMAP), not to Inbox, and do not cause cycles along with a filter on them by mistake - Configure KMail -> Accounts -> Receiving -> for all IMAP accounts -> Modify -> Advanced -> Trash folder whether the folder (or remote folder on IMAP) is correct and causes no cycle along with a filter on it by mistake - Settings -> Configure Filters... whether there is a combination of filter rules leading back to Inbox by mistake.
Unfortunately I don't remember the exact wrong combination of settings here, but it works fine now (no duplicates any longer at least for IMAP and Local Folders resources). So it is at least worth to check, but no guarantee.
René Thanks, mine are all POP
Then you have still Identities and Filters, which you might check. I would first try to deactivate all filters and check whether it stops duplicating. For me it was a migration issue in the settings (maybe to kmail2), I hadn't set the wrong configuration that time explictely. There was a time in kmail2, where they recommended a "fake" filter with a sleep of half a second, but I don't need this any longer, this bug has gone. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7491ea623a334fec64fba10b9f1ea62e.jpg?s=120&d=mm&r=g)
On Tuesday, 20 December 2016 10:52:50 GMT René Krell wrote:
2016-12-19 23:51 GMT+01:00 ianseeks <bingmybong@btinternet.com>:
On Monday, 19 December 2016 23:10:15 GMT René Krell wrote:
2016-12-19 20:05 GMT+01:00 ianseeks <bingmybong@btinternet.com>:
HI
Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working.
As far as I can remember this problem on an IMAP account, I got rid of it after changing some weird combination of default folders and filter settings introduced after migrating from an older KMail version causing a circular filtering from Inbox back to Inbox. Therefore, the problem happened just in KMail, but not for other mail readers, like Thunderbird or Evolution. The mails were duplicated on the remote account each time I connected using KMail.
Please check default folders and filter settings: - Configure KMail -> for all Identities -> Modify -> Advanced
whether all folders refer to the correct local folders (or remote
folders on IMAP), not to Inbox, and do not cause cycles along with a filter on them by mistake - Configure KMail -> Accounts -> Receiving -> for all IMAP accounts -> Modify -> Advanced -> Trash folder
whether the folder (or remote folder on IMAP) is correct and causes
no cycle along with a filter on it by mistake - Settings -> Configure Filters...
whether there is a combination of filter rules leading back to Inbox
by mistake.
Unfortunately I don't remember the exact wrong combination of settings here, but it works fine now (no duplicates any longer at least for IMAP and Local Folders resources). So it is at least worth to check, but no guarantee.
René
Thanks, mine are all POP
Then you have still Identities and Filters, which you might check. I would first try to deactivate all filters and check whether it stops duplicating. For me it was a migration issue in the settings (maybe to kmail2), I hadn't set the wrong configuration that time explictely.
There was a time in kmail2, where they recommended a "fake" filter with a sleep of half a second, but I don't need this any longer, this bug has gone. Ah yes, thanks, i forgot about that problem. Its stopped now so it was a once only failure on the second time i ran kmail as its not happening now.
-- opensuse:tumbleweed:20161217 Qt: 5.7.0 KDE Frameworks: 5.29.0 KDE Plasma: 5.8.4 kwin5-5.8.4-171.1.x86_64 Kernel: 4.8.13-1-default Nouveau: 1.0.13_2.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7f8bb176e6ee9dcb09dd1a5ffadd704c.jpg?s=120&d=mm&r=g)
On 19/12/16 19:05, ianseeks wrote:
HI
Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working.
This problem has been around for many years. It pre-dates the use of Akonadi so I don't see that can be blamed. I tried switching from POP to IMAP after someone suggested that would cure the problem but it still continued. Problem got worse when kmail2 appeared on the scene as each duplicate e-mail prompted a pop-up window asking for a decision on which version should be kept. Naturally, I had no idea so would pick one at random. That development annoyed me more as it seemed to me that someone had decided that something needed doing about the problem but had passed the buck onto the user instead of fixing it. Needless to say, I gave up on kmail before I suffered RSI through clicking away on thousands of pop-up windows after every logon. -- Graham Davis, Bracknell, Berks., UK. openSUSE 42.2; KDE Plasma 5.8.3; Qt 5.6.1; Kernel 4.4.36; AMD Athlon X4 860K Processor; Sound: FCH Azalia; Video: nVidia GeForce 210 (Driver: nouveau) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7491ea623a334fec64fba10b9f1ea62e.jpg?s=120&d=mm&r=g)
On Tuesday, 20 December 2016 07:37:08 GMT Graham Peter Davis wrote:
On 19/12/16 19:05, ianseeks wrote:
HI
Upgraded this morning and it didn;t work until the fixed kdepim runtime was installed and the i used it quite happily. I then logged out and did some other work on another login and logged out. I returned to this login and the thing went crazy and started duplicating thousands of emails and leaving them marked as unread. Using the "remove duplicates" menu option does not seem to make any difference to the number of emails duplicated. I've also tried the akonadictl fsck/vacuum and that hasn't made any difference to the "remove duplicates" functions. I'll keep trying to see if the remove dups starts working.
This problem has been around for many years. It pre-dates the use of Akonadi so I don't see that can be blamed. I tried switching from POP to IMAP after someone suggested that would cure the problem but it still continued.
I've only come across it when there's an update to kmail and its related stuff but definitely since kmail2. I don;t recall ever having it before then.
Problem got worse when kmail2 appeared on the scene as each duplicate e-mail prompted a pop-up window asking for a decision on which version should be kept. Naturally, I had no idea so would pick one at random. That development annoyed me more as it seemed to me that someone had decided that something needed doing about the problem but had passed the buck onto the user instead of fixing it. Needless to say, I gave up on kmail before I suffered RSI through clicking away on thousands of pop-up windows after every logon.
-- opensuse:tumbleweed:20161217 Qt: 5.7.0 KDE Frameworks: 5.29.0 KDE Plasma: 5.8.4 kwin5-5.8.4-171.1.x86_64 Kernel: 4.8.13-1-default Nouveau: 1.0.13_2.1 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (6)
-
Alexander.Willand@t-online.de
-
Carlos E. R.
-
Graham Peter Davis
-
ianseeks
-
Luca Beltrame
-
René Krell