21 Feb
2008
21 Feb
'08
6:23 p.m.
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 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 is there any other way to apply sieve rules to already delivered mails?
TIA
Andreas
[]s,
Raphael Costa