Bug 51008 - wish: kmail filter action that allows another filter to be executed by name
Summary: wish: kmail filter action that allows another filter to be executed by name
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 96943 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-21 15:26 UTC by sean
Modified: 2012-08-19 01:07 UTC (History)
3 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 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.