= Installing and Setting up Procmail =
apt-get install procmail
With my setup of Postfix as described here, I needed to tell postfix to hand off emails to procmail which then delivers to local users along with checking of a users .procmailrc file in their home directory. The following line in /etc/postfix/main.cf took care of it nicely. There are other ways - however this was the first to work. vi /etc/postfix/main.cf
mailbox_command = /usr/bin/procmail -a “$EXTENSION” DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir
The above hands off emails to procmail via Maildir.
Alternative config for Procmail and Postfix (not tested) vi /etc/postfix/main.cf mailbox_command = /usr/bin/procmail -a “$EXTENSION”
vi /etc/procmailrc DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir
More info at: