[Kde-pim] Filtering in KMail & moves to online IMAP folders

Ingo Klöcker kloecker at kde.org
Sun May 25 23:09:04 BST 2008


On Sunday 25 May 2008, Thomas McGuire wrote:
> Hi,
>
> I need some help from KMail experts.
>
> I'm trying to figure out why filters which move a message to an
> online IMAP folder in KMail does not work.
>
> It seems that in KMFilterActionMove::process(), moving to online
> folders is explicitly disabled when the action scheduler is not used.
> The comment says "The old filtering system does not support online
> IMAP targets".
>
> I tried enabling it unconditionally, and it _seems_ to work.
>
> Now my questions:
>
> - What is the whole ActionScheduler vs. FilterMgr thing? Is
> ActionScheduler the same as FilterMgr, only with the ability to do
> asynchronous filtering?

Basically, yes. Unfortunately ActionScheduler only works for online 
IMAP. The other account types (POP3, etc.) were never ported to it.


> - Is it correct that the action scheduler is actually never used? Why?

In KMail 1.9.9 it is used for filtering online IMAP.


> - Is it dangerous to enable moving to online IMAP folders
> unconditionally? If yes, why? And why does the comment claim that "the
> old filtering system" does not support that?

I don't remember the details, but I think there is a reason why the old 
filtering system does not allow moving to online IMAP folders.


> I've stumbled upon commit 451939 [1], but the commit message only
> confuses me, since it says "Use action scheduler for manual
> filtering", but manual filtering has the action scheduler commented
> out since rev. 264912 [2] (in KMMetaFilterActionCommand::start()).

I'll try to have a look at it tomorrow.


Regards,
Ingo
-------------- 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/20080526/f16b280f/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