Filter rules are not applied on new messages arriving in local maildir folders even if set to be automatically applied on all messages. I consider this a bug.
I know KDE and Kontact are FOSS projects maintained by the community in their freetime. Nevertheless it would be nice if someone will look into this bug or at least try to reproduce it. I find it anoying and it would be nice if it was fixed and I hope I will at least receive a comment/reproduction from someone else anytime soon.
I can reproduce this bug in some of my filters. Others work fine. I have no clue why some of them fail and some other just work :/
Confirmed with Kontact 5.7.0 on Frameworks 5.40.0. Manually applying the filters works.
On previous version this issue sometimes showed up, but would then work as expected after restarting Kmail, or in some cases, restarting KDE. However since upgrading to Version 5.6.3, the auto-filtering is permanently broken, and above steps no longer fix it. Using Gentoo, all mail is POP3. I get a lot of fail2ban mail which really needs to be filtered to its own folder... Thanks, Ian
Manual filtering still works.
I am not the original poster, but the problem has apparently returned in KMail 5.17.3. Incoming mail is no longer automatically moved into the designated folders, but applying the filters manually with [Ctrl+J] does still work. This is on a fully updated Manjaro Stable. Operating System: Manjaro Linux KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.2 Kernel Version: 5.4.138-1-MANJARO (64-bit) Graphics Platform: X11 Processors: 6 × Intel® Core™ i5-8400 CPU @ 2.80GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630