Apply Filter recursively from Filter menu
Open, HighPublic

Description

In the filter menu you can apply a filter on folder.

For the usecase:
Re-Encrypt all encrypted mails from one account to a new key. We would need to apply a filter recursively. (E.g. On INBOX and all subfolders) afaik this is not possible yet.

I think this would be nice to have in general, too.

You can do this from the "Folder" menu, which always refers to the currently selected folder:

So to encrypt all emails in your entire account, just select the account top-level folder.

aheinecke reassigned this task from dvratil to emanuel.Sep 12 2017, 10:55 AM

Emanuel I think this would be good enough. Do you agree?

aheinecke closed this task as Resolved.Sep 12 2017, 11:05 AM
emanuel reopened this task as Open.Sep 12 2017, 4:42 PM
emanuel reassigned this task from emanuel to dvratil.

I tested the folder menu without success:

  • move a plain text mail into an empty folder
  • create a new filter (Encrypt-to <key> without re-encrypt checkbox)
  • select folder
  • menu: folder > apply filters on folder

-> Nothing happens with the plain text email
-> Expected: Email will be encrypted to given key.

Tested with KMail 5.6.40 alpha1 (17.08.1+p16.04+git20170912.0754-0)

@dvratil Can you please retest it please?

JochenSaalfeld reopened this task as Open.Oct 6 2017, 9:06 AM
JochenSaalfeld added a subscriber: JochenSaalfeld.

Unfortunately this doesn't work. I set up a filter to play a beep sound on every mail in every subfolder.

The test-run in the filter options works fine. But it doenst work when the filter is applied from the context menu or the settings menu (T6986).

@JochenSaalfeld did you enable "Apply this filter on manual filtering" in the filter's Advanced tab? Without that explicit triggering of the filter won't work. With this option enabled the menu action works just fine for me.

Yes, since it is enabled by default.