i have some search folders. e.g. to show all marked messages in my inbox.
when using imap i can also use this search folders. but when i mark an email in my inbox the search folder does not show the newly marked email.
i see the newly marked email only when i restart my imap client.

zimbra webmail shows this new message immediately.

how can i achieve this with imap?
i'm using kmail and thunderbird.