Bug 119553

Summary: IMAP filters fetch whole message when only headers are required
Product: [Applications] kmail Reporter: Marcin Orlowski <carlos-spam>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: sergio.callegari, sven.burmeister
Priority: NOR    
Version: 1.9.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Marcin Orlowski 2006-01-05 10:25:42 UTC
Version:           1.9.1 (using KDE 3.5.0, Kubuntu Package 4:3.5.0-0ubuntu3 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-10-386

It seems that IMAP filters always fetch the whole message to match agains the filter rules, even there's no rule that matches against basic fields (like FROM: TO: SUBJECT:) which are already known to kmail (and do not require to fetch anything but mail headers). This makes kmail crawl while applying filters and takes age for persons receiving lot of mails, getting big mails or simply being on slow connection. Mozilla mailer is still ahead here ;(
Comment 1 Andreas Gungl 2006-01-17 21:07:27 UTC
Please be aware that for certain filter actions it's needed to download the complete message (even if the filter rule would need only the headers). Anyway, please be more specific about your filter setup to allow us to check the behavior of KMail.
Comment 2 YeHaa 2006-11-15 16:57:59 UTC
I have the same problem as the reporter. Bug #125084 seems to have a little more "action" than this bug though.
Comment 3 Philip Rodrigues 2006-11-15 21:50:46 UTC
*** Bug 135194 has been marked as a duplicate of this bug. ***
Comment 4 Philip Rodrigues 2007-01-02 15:20:19 UTC
The old title was quite useless too, so I've retitled it... ;-)
Comment 5 Daniel Hahler 2007-05-24 00:12:25 UTC
This is a duplicate of Bug #125084.
Comment 6 Bram Schoenmakers 2007-05-24 09:54:36 UTC
Indeed, thanks for pointing out.

*** This bug has been marked as a duplicate of 125084 ***