Re-sieve emails
Aki Tuomi
aki.tuomi at open-xchange.com
Tue Sep 29 10:21:11 EEST 2020
> On 29/09/2020 09:09 @lbutlr <kremels at kreme.com> wrote:
>
>
> Is it possible to take the contents of a mailbox and feed them to the account's .active_sieve file for reprocessing?
>
> (For example, when editing the sieve file for my list account I introduced a typo, so a hundred or some list messages ended up in the inbox instead of filed properly into the maildir hierarchy. Not a huge deal, as it was simple enough to move them manually, but it got me wondering.
>
> This would also be useful for testing.
>
>
>
> --
> Clarke's Law: Sufficiently advanced technology is indistinguishable from magic
> Clark's Law: Sufficiently advanced cluelessness is indistinguishable from
> malice
> Clark Slaw: Anything that has been severely damaged or destroyed by application
> of Clark's Law
You can use imap sieve refilter. https://doc.dovecot.org/configuration_manual/sieve/plugins/imapfilter_sieve/
Aki
More information about the dovecot
mailing list