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.
|
feedback
|
|
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. | |||
feedback
|