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
> 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 LawYou can use imap sieve refilter. https://doc.dovecot.org/configuration_manual/sieve/plugins/imapfilter_sieve/ Aki
On 29 Sep 2020, at 01:21, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:>> 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?> You can use imap sieve refilter. https://doc.dovecot.org/configuration_manual/sieve/plugins/imapfilter_sieve/That looks like what I want, but once I've enabled the plugin how would I actually tell dovcot to process a mailbox "Test" with the sieve script "new.sieve"? That seems tone missing from the link above. -- Q is for QUENTIN who sank in the mire R is for RHODA consumed by a fire