Bug 280125 - Spamassassin rescans all mails in imap inboxes at each kmail startup
Summary: Spamassassin rescans all mails in imap inboxes at each kmail startup
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: filtering (show other bugs)
Version: 4.7
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 14:44 UTC by Ralph Moenchmeyer
Modified: 2011-10-17 07:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Moenchmeyer 2011-08-15 14:44:24 UTC
Version:           4.7 (using KDE 4.7.0) 
OS:                Linux

I use KDE 4.7 with Kmail 4.7. Today I activated spamassassin 3.x (Perl) as a spamfilter via Kmails spam assistant.
 
I know that spamassassin in the Perl version is a relatively slow filter, but it worked very well for the old Kmail 1.x versions.  

However, now it seems that despite appropriate filter settings spamassassin  checks all the mails in the imap folder for incoming mails again after each restart of kmail or even after changes to the filter settings. And this, of course, blocks the use of Kmail for quite a while in case there are many mails in the imap inbox folder. 

In my opinion - after an initial first run - spamassassin should only check new incoming mails. This, however, is not the case. From the progress information one can clearly see that all (!) the mails in the imap inbox folder are checked again immediately after each start of kmail.     

In contrast to spamassassin there is no such behavior for bogo-filter.

Reproducible: Always

Steps to Reproduce:
Start kmail with an online imap inbox folder with many mails and spamassassin (PERL version) activated. 

Actual Results:  
Spamassassin investigates all mails in the inbox folder after a kmail start or a filter change. 

Expected Results:  
The spamassassin filter should only check new incoming mails.
Comment 1 Ronny Multrus 2011-10-10 10:26:59 UTC
I think that bug 279087 is related.
Comment 2 Laurent Montel 2011-10-16 17:31:49 UTC
It's fixed in 4.8
In 4.7 we call all filter on inbox because we didn't have filter agent.
Now in 4.8 it's fixed but we can't bavkport to 4.7
Comment 3 Ronny Multrus 2011-10-17 07:00:07 UTC
Okay, keep up the good work. January 25th is a looong time to wait for KDE 4.8... ;-)