[Kde-pim] filtering

Ingo Klöcker kloecker at kde.org
Wed Oct 26 21:18:06 BST 2011


On Wednesday 26 October 2011, Andreas Gungl wrote:
> Am Dienstag, 25. Oktober 2011 schrieb Thomas Olsen:
> > On Wednesday 19 October 2011 23:02 Wolfgang Rohdewald wrote:
> > > Hi,
> > > 
> > > I would like to do something about kmail2 filtering - I want to
> > > fix some bugs.
> > 
> > I've started a thread on kdepim-users about another potential bug:
> > 
> > http://lists.kde.org/?t=131946146600001&r=1&w=2
> 
> I'm not subscribed to that list, however I might provide some
> information which may help the developers.
> 
> For me, filtering in KMail2 (KDE 4.7.x) works in the Inbox. I haven't
> tried other folders,

Filtering in other folders will not work. KMail only filters messages in 
the IMAP inbox in order to prevent filter ping-pong.


> as I have a sieve script on the IMAP server for
> the most important rules. Only some often changing rules are still
> used for filtering in KMail2.
> Some things don't work as expected:
> 
> 1) If I have quite some 100 messages in the Inbox (e.g. after the
> weekend), filtering starts when KMail2  (Kontact actually) is
> started. It works through the messages and filters them away. If I
> switch to the Inbox while filtering is still at work, sometimes
> messages (perhaps new ones seen for the first time) are no longer
> touched by the filtering process. They remain forever in the Inbox.
> Manual filtering of course moves them away.

The same or a similar behavior is present in KMail1. In KMail1 pressing 
F5 (aka Check Mail in This Folder) causes those messages to be filtered.


> 2) The filters are set up to mark the messages as read. That never
> worked in KMail2. At least the move to other folders works, so I'm
> used to mark all msgs read in those target folder from time to time.
> It's annoying, though.
> 
> BTW, a comment which is OT: Filtering is sooo slow! I hadn't started
> KMail for a week because I've been away. Filtering could work on the
> msg headers only, but it processes only ~5 messages per second.
>
> During 10 seconds, both Thunderbird and KMail1 were able to filter
> all messages with much less CPU load and disk activity.

Hmm. Interesting. Here KMail1 only filters 1 message per second even 
though all of my IMAP-account specific filters only need the headers. 
But there are other non-IMAP filters that need the message body.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111026/a5ef78fe/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list