Bug 176368

Summary: Filters are not applied on existing mail
Product: [Unmaintained] kmail Reporter: Pier-Olivier Thibault <pothibo>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bjoern, null
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pier-Olivier Thibault 2008-11-28 19:43:11 UTC
Version:           trunk (using Devel)
OS:                Linux
Installed from:    Compiled sources

I have 3 IMAP account (2 on Google and 1 with my University) and I recently created 3 different filters that moves some mail in other folders. While this work perfectly well on incoming mail, I wanted to apply my filters to my already existing e-mails.

The mails are not moved at all, they stay in the source folder. I have tried it different ways and it always stays in the folder of origin. 

How to reproduce:
1. Create a new sub-folder on the IMAP ACCOUNT(Not local!)
2. Create a filter
3. Select a mail that would be catch by the filter.
4. Apply the filter
5. Check the destination folder if the mail has moved.

Thanks,

Pier-Olivier Thibault
Comment 1 Unknown 2013-12-17 17:48:39 UTC
we fixed a problem about creating a new folder and make a move (filtering) to the new folder *before* closing and re-starting kmail.
Make please a new test now.
Comment 2 Laurent Montel 2015-04-12 10:16:23 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.