Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 used the configuration Local only sendmail that delivers all mail to a directory, but it is not enough for me.

The solution above store all emails into one file - /var/mail/MYLOCALUSER. How to store emails separately - one email in one file?

share|improve this question
up vote 0 down vote accepted

I don't know if this applies to your use case, but I guess you want to configure postfix to use the Maildir format instead of a single file. For my Mail server I followed the Debian Wiki Article:

share|improve this answer
Yes, just configure the postfix as Maildir format is enough for me -… – BlueMan Apr 2 '13 at 11:37

Sendmail may use procmail as local mailer (AFAIK It is typical on Linux).

Procmail can be configured to deliver to directory (maildir or mh) in ~/.procmailrc or /etc/procmailrc.

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.