1

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?

BlueMan
  • 113
  • 4

2 Answers2

0

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: http://wiki.debian.org/Postfix#Maildir

soulsource
  • 5,034
0

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.

AnFi
  • 902