Summary: | Filter rules no longer matching after upgrade | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Paul Eggleton <bluelightning> |
Component: | Mail Filter Agent | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | christiandehne, fred, jb, montel, stephanolbrich |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Paul Eggleton
2014-10-16 09:18:18 UTC
I can confirm this also for a pop3 setup. Confirmed here with POP3 also after the KDE updates. Fedora 21 - 4.14.2 Same for me on disconnected IMAP, using Kubuntu 14.10 - kmail 4.14.2 packages After some additionnal testing, it works if I create a filter on the "To" field. If a "To" filter exists, filtering works correctly, even my "list-id" filters. However if there are only "list-id" filters and no "To" filter, filtering does not work. So it looks as if when only "List-id" filters exist, filtering is not triggered... hope it helps. (In reply to Jean-Baptiste Mardelle from comment #4) > After some additionnal testing, it works if I create a filter on the "To" > field. > > If a "To" filter exists, filtering works correctly, even my "list-id" > filters. > However if there are only "list-id" filters and no "To" filter, filtering > does not work. > > So it looks as if when only "List-id" filters exist, filtering is not > triggered... hope it helps. I don't understand you create a new filter or add To to "List-id" filter ? Upon closer inspection I can confirm that my List-Id based filters are not working, the few other filters that look at the From field are still matching. I tested here on pop3 works fine. I still need to understand why it doesn't work for you. I will add unitest in mailfilteragent. I found the commit that introduced the regression: https://projects.kde.org/projects/kde/kdepim/repository/revisions/9614da012753032a89014c65fd89bd1daae4a467/diff/mailcommon/search/searchpattern.cpp How to reproduce for me (Using an IMAP account): Before this commit, I can do the following: 1- Delete all KMail filters 2- Create a new filter on a mailing list (move message to folder) 3- Apply filter on a mail that matches the mailing list Result: it works After this commit, if I do the same: 1- Delete all KMail filters 2- Create a new filter on a mailing list (move message to folder) 3- Apply filter on a mail that matches the mailing list Result: it doesn't work, message is not moved. However, if I now do the following: 4- Create a new filter on a "to" field (move message to folder) Now, step 3 works (applying the mailing list filter). Deleting the filter created on step 4 breaks again the mailing list filter. Now, let's hope you understand my explanations... Same here since the upgrade to 4.14.2: Filtering on "subject" does work, filtering on "list-id" does not work. When I create a new filter on a "to" field, the list-id filter starts to work again. (I normally only have filters on "from", "list-id" and "subject") I have done some more tests and it is the "list-id" that does not work for me either, Filtering on Subject , From etc seem to work OK. This issue should be fixed by my git commit (24th of october): http://commits.kde.org/kdepim/01764b0eb3c7b7407f3119ef711d5b07d7b9a313 The "list-id" filtering is now working fine after updating to 4.14.3/Fedora 21. Thanks.. Just got the fix here too in F20, thanks!! |