Re: [Dovecot] procmail deliver and envelope-to

2008-02-21 Thread Timo Sirainen
On Wed, 2008-02-20 at 20:03 +0100, Klaus Ethgen wrote: My problem is that I have to use procmail (as it can call external programs) which finally calls deliver. My main rules are sieve and they work find except that I cannot use subaddress matching in envelope to (not envelope send which has

[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