[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: One sucky thing in KDE... kmail!
by Jason Clinton on Monday 02/Jan/2006, @18:56
Easy fix. Just move the SPAM handling to the very end of the filtering chain so that it only runs the mail through the spam filter if it doesn't match anything else. And then put a duplicate of the spam hander at the very top of the filter list so that the analyzed spam doesn't go through the entire list again.
  Related Links
 ·   Articles on KDE Advocacy, Discussions, and Rumors
 ·   Also by Jason Clinton
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: One sucky thing in KDE... kmail!
by Mike on Tuesday 03/Jan/2006, @00:27
Sorry, i dont get it. Put the same spam filter on top and on bottom of filter list??
[ Reply To This | View ]
Re: One sucky thing in KDE... kmail!
by Anonymous on Wednesday 04/Jan/2006, @15:33
Uh. Did you read what I wrote?

If it was spam handling that was the problem - it would take linearly longer time. It doesn't.

1. message is filtered fast (less than a second).
10. messages is filtered fast (less than a couple of seconds).
100. messages is filtered pretty fast (say, ten seconds).
1000. messages is getting slow - say 3 minutes.
7000. messages is VERY, VERY slow. Processing the first 400 took 15 minutes(!)

So, to filter one week of email - if I've been on a vacation, I basically select the messages in bunches of about 1000 - and filter them in the background while doing other work. That gets the work done fast enough. Filtering them by selecting all and then starting to filter just doesn't work fast at all.

There seems to be an O(n^2) algorithm or something in there, instead of an O(n) algorithm - which it should be. It's only noticeable on large bunches of email - which I'm unfortunate to get at work.
[ Reply To This | View ]
  • Re: One sucky thing in KDE... kmail!
    by Zak Jensen on Sunday 08/Jan/2006, @13:38
    Chances are your filters are configured incorrectly. If you use complicated filters & don't set distinct points to stop processing, then your mail can potentially go through the list several times. This *may* be what is wrong. If not, I encourage you to submit a wish for further optimization via http://bugs.kde.org/
    [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "Karate is the ideal counterpart to programming and really great to get your head cleared." -- Michael Brade
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]