Bug 186264

Summary: Make Kmail filter incoming imap mails
Product: [Unmaintained] kmail Reporter: Michał Gawroński <dinth>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: adam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Current KMail filters

Description Michał Gawroński 2009-03-05 21:28:55 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unspecified Linux

Please make Kmail to filter incoming mail on imap folders. Ive tried every version of Kmail starting from KDE 4.0.0 beta, and none of them could filter (bogusfilter and manual filters) incoming mail. I know that Kmail has Sieve support for doing this, but most of email servers dont have it.
Evolution and Thunderbird handle incoming imap mail filtering very good, so i dont think this is imposible
Comment 1 Thomas McGuire 2009-04-08 15:54:02 UTC
SVN commit 951033 by tmcguire:

Fix online IMAP filters not working in various situations.

Patch by Matthias Gehre <M.Gehre@gmx.de>, thanks very much!

BUG: 171061
BUG: 174430
BUG: 182208
BUG: 186264


 M  +15 -11    actionscheduler.cpp  
 M  +17 -5     actionscheduler.h  
 M  +4 -1      kmcommands.cpp  
 M  +22 -6     kmfilteraction.cpp  
 M  +1 -1      managesievescriptsdialog.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=951033
Comment 2 Thomas McGuire 2009-04-28 20:15:13 UTC
SVN commit 960606 by tmcguire:

Backport r951033 by tmcguire from trunk to the 4.2 branch:

Fix online IMAP filters not working in various situations.

Patch by Matthias Gehre <M.Gehre@gmx.de>, thanks very much!

CCBUG: 171061
CCBUG: 174430
CCBUG: 182208
CCBUG: 186264



 M  +15 -11    actionscheduler.cpp  
 M  +17 -5     actionscheduler.h  
 M  +4 -1      kmcommands.cpp  
 M  +22 -6     kmfilteraction.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=960606
Comment 3 Adam Spragg 2009-11-20 15:00:37 UTC
Created attachment 38457 [details]
Current KMail filters

I still see this bug on KMail 4.3.2 (KDE 4.3.2) with on current Debian "unstable" (package kmail version 4:4.3.2-1) against an IMAP account. Attached are the portions of my kmailrc which relate to filters.

I've got 30 emails in my Inbox that match the "arocket" filter, some of which have been there for over 2 days. I've got hundreds of emails that will match my spam filter, if it's ever run on them, but wading through this, or selecting all my emails and running the filter manually is getting to be a *real* pain. Especially as the manual filter seems to sometimes stop and not finish processing emails as well.

Turning on the filter log reveals nothing particularly interesting, except for the fact that it seems to run a heck of a lot less frequently than I get incoming emails. Currently (as of 13:48) the last time it ran was 10:20, and it's only run against 5 new emails today, despite me having received well over 50.

Please help; this makes KMail almost totally unusable at the moment. If there's anything I can do, let me know.
Comment 4 Adam Spragg 2009-11-20 15:01:25 UTC
Adding self to CC.