Bug 182581

Summary: JJ: KMail should complain about a filter rule w/o a defined action
Product: [Applications] kmail Reporter: Toralf Förster <toralf.foerster>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: jon.armond, kloecker, mail
Priority: NOR Keywords: triaged
Version: 1.11.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Toralf Förster 2009-01-31 14:39:38 UTC
Version:           1.9.10 (using 3.5.10, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.27-gentoo-r8

Currently it is possible to define a filter w/o an action.
Comment 1 George Kiagiadakis 2009-01-31 17:54:59 UTC
I can confirm this on kmail 1.11.0, although it doesn't really hurt. It's just a filter that does nothing. Thus, I change severity to minor.
Comment 2 Jonathan Armond 2009-05-25 15:46:46 UTC
I've submitted a patch to reviewboard.kde.org which causes kmail to complain if a filter doesn't have a matching pattern, actions or accounts.
Comment 3 Ingo Klöcker 2009-05-25 21:11:06 UTC
Actually, a filter without filter action can be used as stop filter, i.e. to stop processing of the following filters if certain criteria are met. One use case is disabling filtering temporarily by adding such a stop filter as first filter.

Resolving as WONTFIX.