Bug 51008

Summary: wish: kmail filter action that allows another filter to be executed by name
Product: [Unmaintained] kmail Reporter: sean
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: wishlist CC: bjoern, luigi.toscano, praseodym+kdebugzilla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sean 2002-11-21 15:26:39 UTC
Version:           1.5 (using KDE 3.0.9)
Compiler:          gcc version 3.2
OS:          Linux (i686) release 2.4.19

I have a HUGE number of filters (400+). Just like software code, where a single huge source file can turn to spaghetti and be hard to manage, my situation grows very grave :)

I would like to be able to add an additional action to particular sets of filters, and have that action be to execute a different filter. Then I could "modularize" my filters. For example, say I've got 40 spam filters that each trap about 6 varieties of subject lines and body phrases that qualify the mail as spam. Right now, each of them individually mark the mail appropriately, essentially a duplicate action for 40 filters. However, if I want to change this behavior, I've got to manually modify 40 filters. If I was able to add an action to execute, for example, a "Spam Marker" filter to all 40 filters, then I would only have to change one filter to update all 40 filters.

Maybe this can be done now, if I make my filters add a header depending on content type, and not stop processing, and then have a group of filters that do things based on header matches? I'll check into it, but I think modularized filters would be much easier to grasp for the typical power user.
Comment 1 Ingo Klöcker 2002-11-21 18:15:25 UTC
If I understand correctly then you want support for the execution of macros (==a certain set of 
filter actions) in filters. This can partly be achieved e.g. by piping through a spam_marker perl 
script. 
 
BTW: In order to filter spam you should really use a specialized tool like spamassassin instead 
of manually setting up 40+ filters for checking your mail for spam. 
 
Comment 2 Björn Ruberg 2009-12-20 18:35:22 UTC
*** Bug 96943 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2012-08-18 08:56:19 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 4 Luigi Toscano 2012-08-19 01:07:08 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.