0

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

Aleksandr Levchuk
  • 2,465
  • 3
  • 22
  • 41
  • 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 09:02

1 Answers1

2

In the default configuration Postfix is already configured to deliver mails to all accounts in /etc/passwd and all aliases in /etc/aliases: http://www.postfix.org/postconf.5.html#local_recipient_maps

Otherwise you can set the local_recipient_maps to the default value.

mailq
  • 17,023
  • 2
  • 37
  • 69