Postfix not delivering to Maildir
July 27, 2009 9:33 pm Mail, Red HatI came across this problem a few time and I keep forgetting the solution. Sometimes, even if you set in:
/etc/postfix/main.cf:
home_mailbox = Maildir/
postfix will still deliver to /var/spool/mail/user.
There are 2 ways to solve this problem:
1. you can disable procmail by removing the following line from /etc/postfix/main.cf:
mailbox_command = /usr/bin/procmail
2. If you need procmail, add the following lines to /etc/procmailrc:
MAILDIR=$HOME/Maildir
DEFAULT=${MAILDIR}/
That’s it!
–JC

