Some filters - in particular those that check the List-Id element - don't filter automatically on incoming mail. Manually filtering the mail in your inbox after they have been downloaded results in the mail being correctly filtered. This is with IMAP accounts, no other types of account were tested. Reproducible: Always Steps to Reproduce: 1. Subscribe to a mailing list 2. Create a filter rule by right-clicking on a mailing-list message and clicking Create Filter --> Filter on Mailing List, or by creating one that checks the List-Id element manually, and make the filter e.g. add a tag to the messages, send them to a new folder or some other way to show that the message has been filtered 3. Wait on new messages from the mailing list Actual Results: The messages from the mailing list e.g. remain in your inbox, remain untagged, or otherwise remain unaltered after the filter should have run Expected Results: The messages are filtered and the correct changes are applied to them
imap + filter doesn't work very well it's known.
I can confirm this bug partly. On some messages the filter works and they are move to the right folder other messages stay in the incoming folder. Starting the filter by hand on selected messages works but only when not all messages are selected. Disregard my last: This work around worked until 4.8.2 but it does not work with 4.8.3
I know that this has been working in Kmail 1, even in Kmail 2 which came with KDE 4.7 I remember it to be working. At least, I cannot recall having this problem before my recent update from KDE 4.7 to 4.8.
Does restarting Akonadi after you alter the filter/s work (you should exit kmail before you restart akonadi)?
In my experience, no, but I've only changed my filters once recently. In what ways do you mean altering the filters? Altering the filters that specifically don't work, or any old add/remove/edit?
Altering any filters, no matter old or new.
Can you check with KDE 4.9.2 and if possble, akonadi 1.8.1?
Testing on 4.9.2, appears to be fixed. Closing.
I'm running 4.9.2! And it is not fixed!
Re-opening in response to Comment 9.
but it also depends on the Akonadi server version. What Akonadi server are you guys using?
I am using Akonadi version 1.8.0.
This is what I have installed: kdebase4-workspace-plasma-engine-akonadi-4.9.2-782.1.x86_64 akonadi-runtime-1.8.0-131.2.x86_64 libakonadiprotocolinternals1-1.8.0-131.2.x86_64 akonadi-4.9.2-356.1.x86_64 plasma-addons-akonadi-4.9.2-184.1.x86_64 libakonadi4-4.9.2-290.1.x86_64
so you are both using version 1.8.0. maybe version 1.8.1 will work better, as Andras said
I'm using latest 4.9.4 KMail2 and it has the same problem. Have looked to filter log and it seems that sometimes kmail can't get list of addresses from 'To' or 'CC' from mail. All mails that was not filtered had empty list in on of these fields in the log, but after manual filter invocation they had all mail addresses.
After a long time away from Linux I just upgraded to KDE 4.10 and the problem remains. Filters that use List-ID don't seem to work at all anymore (at least in the majority of cases). Also, manually invoking the List-ID filters leave most of the message untouched now (in my experience it's getting worse). Filters based on 'All Recipients', however, seem to mostly work. Version installed (on opensuse 12.2) akonadi-runtime-1.9.0-127.1.x86_64 akonadi-4.10.0-380.1.x86_64 libakonadi4-4.10.0-317.1.x86_64 libakonadiprotocolinternals1-1.9.0-127.1.x86_64 kmail-4.10.0-380.1.x86_64 cheers Christian
Fixed in KDE 4.10.1 and later by Wolfgang Rohdewald. http://commits.kde.org/kdepim/185c572e079ef40bee2225e582c11dbdbb35840f
this has not been solved. Messages that are filtered based on a mailinglist ID are never sorted. Also, some of the mails will not be sorted when the filters are applies manually. Running openSUSE 12.2. KDE related Versions : akonadi-runtime-1.9.0-127.1.x86_64 libakonadi4-4.10.1-323.1.x86_64 akonadi-4.10.1-386.1.x86_64 libakonadiprotocolinternals1-1.9.0-127.1.x86_64 kmail-4.10.1-386.1.x86_64 kontact-4.10.1-386.1.x86_64