Bug 139380

Summary: Add exceptions capability to filters
Product: [Applications] kmail Reporter: jmaldrich
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: bjoern
Priority: NOR    
Version: 1.9.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description jmaldrich 2006-12-29 23:38:22 UTC
Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    Fedora RPMs
OS:                Linux

I would like to see the capability added to KMail's filters to add conditional filtering, such as that available in Microsoft Outlook. i.e. Filter on (condition) UNLESS (condition2). For example, filter on "from: user@example.tld" UNLESS "sent to: user2@example.tld" or move messages "from: user@example.tld" to folder x when NOT to mailing list x.
Comment 1 Maciej Pilichowski 2007-09-22 09:13:42 UTC
I am not saying it is a bad idea, but all examples you showed are easily done by choosing "not" in filter. Example:
from EQUAL user@example.tld
AND
sent to: NOT EQUAL user2@example.tld

Are there any real-life examples which could not be solved this way?
Comment 2 Björn Ruberg 2010-01-01 23:29:22 UTC
Hmm, it looks for me as if "UNLESS" of outlook is very similar to "NOT" in kmail.