[Kde-pim] [PATCH] fix IMAP filtering (Bug 95064)

Thomas McGuire mcguire at kde.org
Thu Oct 30 19:47:55 GMT 2008


Hi,

On Tuesday 28 October 2008 07:43:32 Thomas Neumann wrote:
> I think the right way to solve this is to avoid "updating" (i.e.,
> deleting+adding) the message on the server whenever possible. For
> example when filtering for SPAM (which is what I use filtering for),
> one should not modify the message header itself but change the message
> status (and/or add Junk/NonJunk tags) according to filter results.
> Writing a filter that does this is simple, but I found out
> that unfortunately KMail "updates" the mail even if only the status was
> changed :( (Could be due to the normal filtering process, though, as it
> probably believes that it has to re-add the mail after filtering).

Avoiding updating the message is not a solution here, since there are cases 
where this can't be done, e.g. by a filter which modifies the message. So this 
would not fix the real problem.

But I agree that this would be useful, and hopefully something the Akonadi 
filtering system will do. What I also would like is not downloading the whole 
message when it is not necessary, for example when a filter only needs the 
subject from the header.

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20081030/e0187fe7/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