Last time , I applied LDA deliverey on our MTA instead of procmail.
let's try to add sieve funtions to dovecot.
first, stop everything :)
# service stop postfix
# service stop dovecot
after that you must install dovecot pigeonhole with
1. Edit your 15-lda.conf file and uncomment plugins parameter in protocol lda seciton:
mail_plugins = $mail_plugins sieve
We have aditional two files in here for sieve configuration, 20-managesieve.conf and 90-sieve.conf.
2. Go to 90-sieve.conf file and edit parameters below:
sieve = /var/sieve-scripts/%u.sieve
sieve_dir = /home/vmail/domains/sieve/%n/.sieve
%u user full username (e.g. user@domain)
%n username user part in user@domain, same as %u if there's no domain
%d domain domain part in user@domain, empty if user with no domain
3. In 20-managesieve.conf file uncomment
protocols = $protocols sieve
# service start dovecot