Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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.

share|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 '12 at 8:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .