> On 29/09/2020 13:09 @lbutlr <krem...@kreme.com> wrote: > > > On 29 Sep 2020, at 02:58, @lbutlr <krem...@kreme.com> wrote: > > On 29 Sep 2020, at 01:21, Aki Tuomi <aki.tu...@open-xchange.com> wrote: > >>> On 29/09/2020 09:09 @lbutlr <krem...@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. > > Never mind, I found this: > > sieve-filter -v -eW -u krem...@kreme.com > /usr/local/virtual/krem...@kreme.com/.active_sieve "INBOX" > > (After first running without -eW to double check) > > >
Just to answer your question: FILTER=SIEVE is IMAP extension, so you'd use it like 01 FILTER SIEVE PERSONAL default <SEARCH QUERY> over IMAP. Aki