I have a filter in .procmailrc to organize mail in a folder. But I use dovecot as LDA, and it doesn't update until I quit the client. I read that I need to proceed mail through deliver as explain here : http://wiki.dovecot.org/procmail
So in .procmailrc, I replace my folder path in the filter rule: Dir$Some/$DestDir/
Where Dir$Some
is a directory in ~/Mail
and $Some
a variable set according to some test as $DestDir
By:
DELIVER="/usr/lib/dovecot/deliver"
| $DELIVER -c deliver.conf -m Dir$Some/$DestDir
Where deliver.conf have log, postmaster_address and mail_location = maildir:~/Mail:LAYOUT=fs:INDEX=/var/indexes/%u
I see no error in procmail or deliver log. It seem to work Procmail doing it and deliver too. But to see new mail, I need to quit the client (mutt) and open it again. I bounce mail to test this but new mail don't work either.