Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to manually run filters on a specific folder #6787

Open
MayeulC opened this issue Jun 5, 2019 · 3 comments
Open

Ability to manually run filters on a specific folder #6787

MayeulC opened this issue Jun 5, 2019 · 3 comments

Comments

@MayeulC
Copy link

MayeulC commented Jun 5, 2019

I often wish there was a way to run a newly created filter, instead of having to manually apply the actions myself for already-received mails.

For instance, I hit #5123, and had to move around the mails myself after fixing the rule.

It can also be interesting to note that Thunderbird has an "apply filter" button on its filter editor.


Additionnal thoughts:

  • Sometimes, the filter is a one-off. It could be interesting to have an "execute" button next to "save" in the filter assistant
  • A filter preview could be useful, launching a search that match the criteria
  • To build on the previous point, it could also be interesting to be able to promote a search to a filter, or perform some "advanced search" with the same filtering options as the filter interface.

Of course, making all of this possible while keeping a sane UX is challenging.

@alecpl
Copy link
Member

alecpl commented Jun 5, 2019

Writing client-side sieve engine will not be an easy task, and that will probably have bad performance. Some servers (dovecot only?) have tools to re-filter a folder (standalone sieve-filter command or imap_filter_sieve plugin).

@spinus
Copy link

spinus commented Jan 11, 2023

@alecpl is it possible to trigger this filter on server side through API/protocol?

@alecpl
Copy link
Member

alecpl commented Jan 12, 2023

It's possible via IMAP if the server supports FILTER=SIEVE extension. See the link in my previous comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants