Bug 78441

Summary: Wish - learn filter rule from multiple messages
Product: [Applications] kmail Reporter: Nathan Toone <nathan>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WAITINGFORINFO    
Severity: wishlist CC: Andreas.Schallenberg, bjoern, luigi.toscano, marcus
Priority: NOR    
Version: 1.6.51   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nathan Toone 2004-03-25 15:39:01 UTC
Version:           1.6.51 (using KDE 3.2.90 (CVS >= 20040117), Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:          Linux (i686) release 2.6.3-gentoo-r1

I think a great feature would be to have KDE suggest a filter rule for you - given multiple emails.  You could select multiple emails, and choose something like "suggest filter" which would then look for common filtering items (such a a certain header, or a certain subject commonality or something)

This is different than bugs 55835 (automatically creating filters based on a user's action) and 77822 (shortcut for creating filters from multiple messages).  This would be a suggest filter option (it could even work with one message - but it probably wouldn't be that accurate...)

It could start out simple - just looking for similar headers, etc, but in the future could be more complex (using naive bayes or other machine learning technologies)

This would be really nice!
Comment 1 Thomas Moschny 2004-06-01 18:07:31 UTC
A functionality similar to that of popfile would be nice: new mails could be sorted into the most appropriate folder, with this decision based on a naive bayes technique, taking into account the mails already in that folder.

Of course one can already use popfile's classification + kmail filters to sort mails, but this technique integrated into kmail would save a lot of work: it would eliminate the need for creating all the filter rules (X-Text-Classification contains...) manually and for keeping popfile classes and filter rules in sync.

In fact I would like to see this implemented as a filter *action*. This way, one could for example define a filter matching any mail, select this (special) action and put the whole rule to the end of the filter list. Then mails would get sorted according to the ordinary filters first and according to the bayes classification only if all preceding filters didn't match.
Comment 2 Andreas Gungl 2005-05-16 20:02:30 UTC
*** Bug 77822 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2012-08-18 08:48:52 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 00:54:52 UTC
Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2.