[Dovecot] Put existing mails (in Maildir) through sieve filter?

2008-02-21 Thread Andreas Ntaflos
Hello list, the scenario: A user has about 30k mails in his Maildir (all in INBOX) and needs to apply filtering. Provided he writes a working .dovecot.sieve script, is there a way to put all those already delivered mails through Dovecot's LDA and thus have the sieve filter rules applied? Or

Re: [Dovecot] Put existing mails (in Maildir) through sieve filter?

2008-02-21 Thread Raphael Bittencourt S. Costa
Andreas, You can write a shell script to do this for you. cd ~/Maildir/cur for i in *; do /usr/local/libexec/dovecot/deliver -d user $i; rm -f $i; echo Message $i; done On Thu, 2008-02-21 at 16:40 +0100, Andreas Ntaflos wrote: Hello list, the scenario: A user has about 30k mails in