Summary: | emails get filtered twice and thus duplicated in kmail2 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Hussam Al-Tayeb <ht990332> |
Component: | Mail Filter Agent | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bugs, christiandehne, clemens.john, dvratil, ianseeks, kdenis, kollix, o.sinnen, Paddlaren, rvdb, tl, woebbeking |
Priority: | NOR | ||
Version: | 5.3.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Hussam Al-Tayeb
2013-07-08 16:50:43 UTC
I switched now to 4.11 RC1 and see the following problem with filtering: When I select all mails in my inbox and press CTRL-J, after the mail filter agent has done its work. I have all mails duplicated. I now have all mails in inbox already 5 times! I had the same problem. I moved away my old maildir, removed the resource, added a new one and imported the old maildir. Not all mails were imported. Maybe my old maildir was broken somehow (migration from kmail1 coudl be the reason). I also changed my filters to only work on pop3 resources. But still filtering is not working properly :-( BTW, the duplicates seems to be only in akonadi not in your maildir. (In reply to comment #1) > I switched now to 4.11 RC1 and see the following problem with filtering: > When I select all mails in my inbox and press CTRL-J, after the mail filter > agent has done its work. I have all mails duplicated. I now have all mails > in inbox already 5 times! I see this behaviour too and for me it started with KDE 4.11 RC1, I did not notice this with the previous beta. I can reproduce this with kmail 4.10.5 if I have 2 steps in the filter actions (i.e. I tried to move a mail and mark it read). BR Erik To clarify; the result of a filter that moves the mail into a folder and shall mark it read is two mail in the target folder, one read and one unread. I have not tried the workaround mentioned. This has been bugging me for quite a while now, before 4.11 for sure and maybe even 4.10.X. I have it almost systematically with SPAM filter that sends any mail marked as SPAM in the subject by the mail servers directly to the trash. Every mail thus filtered appear twice when I look in the trash folder. It also occurs with some of my other filters but curiously not all and not all the time. I noticed for what is worth that one copy displays the Spamassassin level when available, and the other copy not. This is quite obvious on mails I get from a mailing list which are filtered in a specific directory. I use KDE PIM 4.11 on a slackware64 system. I store my mails in maildirs. I experience similar problems with 4.11.3. Probably same problem like describes in Bug #322676? Some similar problems are also described in the older Bug #316419. 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. (In reply to Denis Kurz from comment #9) > 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. It does happen in Kmail2 versions 5+ (likely the same cause or duplicate of bug 283682). Hussam, thank you for your feedback. I can confirm this bug too and it has existed in kmail for many years. The severity has varied across versions though. Sometimes it was so bad that most emails were duplicated. Currently, it happens rarely, but it still happens. My current system is OpenSuse Leap 42.2, Kmail 5.3, Kde Frameworks 5.26.0, Qt 5.6.1 This works for me. Uncheck the "Apply filter to incoming messages" on each filter. Now just click on the inbox and click 'Folders/Apply all filters on Folder' so filters are applied manually. It has so far not produced a duplicate email so its looking like filters on incoming is the culprit. *** This bug has been marked as a duplicate of bug 283682 *** |