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

Andreas Ntaflos daff at dword.org
Fri Feb 22 04:19:20 EET 2008


On Thursday 21 February 2008 17:23:04 Raphael Bittencourt S. Costa wrote:
> 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

Thanks for the reply! I had no idea it could be so easy :)

Much appreciated.

Andreas
-- 
Andreas Ntaflos 
Vienna, Austria 

GPG Fingerprint: 6234 2E8E 5C81 C6CB E5EC  7E65 397C E2A8 090C A9B4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20080222/8e30b8e4/attachment.bin 


More information about the dovecot mailing list