After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309945 - IMAP: ability to filter folders other than INBOX too
IMAP: ability to filter folders other than INBOX too
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.10.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[filters]
: 326152 435791 469146 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-10 10:54 UTC by Sven J.
Modified: 2012-02-07 11:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
eds patch (31.00 KB, patch)
2012-02-07 11:51 UTC, Milan Crha
committed Details | Review
evo patch (3.52 KB, patch)
2012-02-07 11:55 UTC, Milan Crha
committed Details | Review

Description Sven J. 2005-07-10 10:54:47 UTC
Please describe the problem:
Evolution does not allow to define filters for other folders than incoming - but
with imap and server-side filters you can receive fresh emails in other folders
than incoming.

In my case:
The server-side filters are used only to separate the new emails into folders.
E.g. sort into folders like "bugzilla, forums, news, mailinglists"
Filters in evolution are much more powerful - e.g. i could play a sound or
colorize the email, or archive it into a local folder if email is older than 5
days. Thats not possible at the moment because filters work only for the
incoming folder.


Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 André Klapper 2005-07-16 19:44:51 UTC
confirming
Comment 2 Daevid Vincent 2005-09-06 05:06:22 UTC
I have this same request. I use procmail to sort my mail into folders, but 
within each folder, i use colors. ie. Blue is mail that I wrote. red are 
[announce], Red are from my boss(es), pink are CVS commit messages... you get 
the idea. Filters work if I manually "Actions | Apply Filters". 
 
Filters also seem to be very slow. 
Comment 3 André Klapper 2006-01-08 11:54:13 UTC
changing the summary so it includes "inbox" (that's what i searched for and that's the name in the string in the preferences
Comment 4 André Klapper 2006-01-08 11:54:13 UTC
*** Bug 326152 has been marked as a duplicate of this bug. ***
Comment 5 Lionel Dricot 2006-06-17 13:14:43 UTC
I'm not sure it has to be considere as an "enhancement". It looks more like a bug for me (and a not minor one).

But, anyway, this is a detail, I just hope to see  it fixed soon ;-)

Comment 6 Daevid Vincent 2008-12-04 00:41:07 UTC
Ironically I was searching the bugs for one that fit my problem I'm running into (still) and read comment #2 and thought, "man, that's exactly what I do". LOL -- turns out it was my comment! HAHAHA.

Anyways, 3 years later and this is still an issue with Evolution 2.24.2 on Ubuntu 8.10

*sigh*
Comment 7 Daevid Vincent 2008-12-04 01:04:22 UTC
Also, to whomever implements this, note this:

http://ubuntuforums.org/showthread.php?t=99930

So, my point is, that if someone (like me and others) is using procmail to filter into folders at the server level, the Evolution filtering should be independent of that "SEEN" flag. 

There must be a way to do this, as Microsoft Outlook has done it for years and years -- hence my original request of color coding, as that's exactly how I use Outlook.

Is "SEEN" the same as "READ"? Couldn't you filter all unREAD mail?

(and yes, I have ALL my mail go to daevid.com where it's sorted via procmail and then at work I read it with Evolution and at home I read it with Outlook, so I *know* what I'm talking about and how it should work from a user's perspective)
Comment 8 Akhil Laddha 2009-10-28 07:16:21 UTC
*** Bug 435791 has been marked as a duplicate of this bug. ***
Comment 9 Akhil Laddha 2011-05-27 06:06:32 UTC
*** Bug 469146 has been marked as a duplicate of this bug. ***
Comment 10 Milan Crha 2012-02-07 11:51:00 UTC
Created attachment 206974 [details] [review]
eds patch

for evolution-data-server;

Adds the ability to filter other than Inbox folder to IMAP, IMAPx and NNTP accounts. Use can either tick in accounts' preferences to filter all folders, or he/she can tick this per-folder, in folder properties.
Comment 11 Milan Crha 2012-02-07 11:55:42 UTC
Created attachment 206976 [details] [review]
evo patch

for evolution;

Two changes:
a) the folder properties hides the "apply-filter" property from the UI when
   the folder is an Inbox folder (the account has other option) or it is
   a virtual folder.
b) be able to set property dependency in account editor based on uncheck state
   (currently only positive dependency worked, "I'm enabled if the option
   I depend on is set", but I required the opposite here).
Comment 12 Milan Crha 2012-02-07 11:58:27 UTC
Created commit 88b7d1f in eds master (3.3.90+)
Created commit 5483b65 in evo master (3.3.90+)