Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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: http://www.postfix.org/postconf.5.html#local_recipient_maps

Otherwise you can set the local_recipient_maps to the default value.

share|improve this answer

Your Answer

 
discard

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.