Postfix not delivering to Maildir

9:33 pm Mail, Red Hat

I 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

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.