Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I set up /etc/postfix/

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =,, mail01.example.local, localhost.example.local, localhost
relayhost = 
mynetworks = [::ffff:]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all


/etc/init.d/postfix restart

but.. You have new mail in /var/mail/user

Why? What's wrong?

share|improve this question

According to the documentation, mailbox_command takes precedence over home_mailbox. Either disable the former, or set up your .procmailrc to deliver to Maildir (by suffixing the mailboxes with a slash, if memory serves).

share|improve this answer
Thank you very much. But... How to write .procmailrc? Could you give me a sample code? – freddiefujiwra Jul 6 '09 at 5:57
Just get rid of the procmail call. If you don't know how to use it, then you don't need it. – womble Jul 6 '09 at 9:19

I agree with Michiel. I have the same setup, with procmail doing local delivery. I have the following in both /etc/procmailrc and my local .procmailrc files:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.