Bug 100786 - Apply filters to folders other than INBOX on dimap
Summary: Apply filters to folders other than INBOX on dimap
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.8
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 152089 160960 198565 201102 234782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-04 09:35 UTC by Erik Sperling Johansen
Modified: 2017-06-07 11:49 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Sperling Johansen 2005-03-04 09:35:33 UTC
Version:           1.8 (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages
OS:                Linux

I'm using serverside filtering to organize mail into folders, and disconnected imap to download these. I've defined filters to mark certain messages as read, and these work perfectly when applying them manually.

If I disable serverside filtering, and new messages arrive in Inbox, everything works. But, if new mail arrives in an imap folder other than Inbox, the filters are not applied. I'm uncertain whether this is by design or not, but an option to enable filtering for incoming mail in either all or specific folders would be great.
Comment 1 Robert 2005-03-13 16:38:17 UTC
3.4 rc1
Confirmed. I think. I used the anti spam wizzard to setup spam filtering with spamassasin and bogofilter. These filters apply automatically only to my disconnected imap "inbox" folder, but not to any subfolders of it.

It's the same situation for me, I have some of my mail filtered into different folders (e.g., mailing lists) on the imap server. It would be very useful to have kmail detect spam there as well.
Comment 2 Till Adam 2005-03-14 12:09:38 UTC
It's indeed a limitation of the current disconnected IMAP code.
Comment 3 Mats Ahlgren 2007-02-07 13:36:23 UTC
I can confirm that this problem also exists in regular IMAP.

My server automatically puts X-Spam-Flag mail into an IMAP spam subfolder, and my filters (which work normally when applied manually) do not get applied when new unread mail arrives in the spam subfolder.
Comment 4 Thomas McGuire 2008-02-27 22:41:44 UTC
*** Bug 152089 has been marked as a duplicate of this bug. ***
Comment 5 Christof Schulze 2009-04-15 11:45:21 UTC
*** Bug 160960 has been marked as a duplicate of this bug. ***
Comment 6 Massimiliano Torromeo 2009-08-20 14:44:30 UTC
This bug is still valid for the current KDE version, and actually is the most annoying one for me right now.
I hope this can be addressed
Comment 7 Björn Ruberg 2010-03-02 00:14:49 UTC
*** Bug 201102 has been marked as a duplicate of this bug. ***
Comment 8 Tomas Trnka 2010-05-10 10:54:11 UTC
*** Bug 234782 has been marked as a duplicate of this bug. ***
Comment 9 Tomas Trnka 2010-05-10 10:54:57 UTC
*** Bug 198565 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2012-08-18 08:47:37 UTC
Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented.
Thank you for your understanding.
Comment 11 Luigi Toscano 2012-08-19 00:43:25 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.
Comment 12 Jean-Guilhem Rouel 2017-06-07 11:49:41 UTC
(In reply to Luigi Toscano from comment #11)
> Instead of creating a new feature request, please confirm here if the
> wishlist is still valid for kmail2.

It is still valid for kmail 5.2.3. Kmail won't apply filters to incoming messages in IMAP folders other than Inbox.
https://mail.kde.org/pipermail/kdepim-users/2017-March/000620.html discusses a bit about the issue.

One implication is that the antispam won't work on IMAP folders either, which is a big problem for people who do all their filtering server-side.