Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

If one maintains a database of emails in /etc/passwd how can Postfix be configured to forward email to those?

share|improve this question
I don't know if /etc/passwd can be used by postfix, but I'm not ruling it out. I'd say /etc/aliases is used. Also ~username/.forward might work too. – becomingwisest May 10 '11 at 9:02
up vote 2 down vote accepted

In the default configuration Postfix is already configured to deliver mails to all accounts in /etc/passwd and all aliases in /etc/aliases:

Otherwise you can set the local_recipient_maps to the default value.

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.