I have IMAP folders on a dovecot server containing a high number of emails (>10.000). I want to apply an existing sieve script to the mails in these folders. I know I can feed the mails from the Maildir storage into dovecot's lmtp and remove the file afterwards but I want to preserve the mail status as much as possible.

link|improve this question
feedback

1 Answer

Try creating new folder, move all messages to that folder and then move them back to the previous place where the sieve filter is defined - sieve rules should then be applied.

link|improve this answer
That will not work as sieve is used by the local mail delivery agent (in my case dovecot lmda) and not the IMAP server. – ordnungswidrig Mar 5 at 8:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.