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

I have the following postfix virtual file:

test@domain.com bob@me.com

This correctly forwards all emails to test@domain.com to bob@me.com

However I would like to forward these emails to bob2@me.com as well.

I tried this change and it does not seem to work:

test@domain.com bob@me.com
test@domain.com bob2@me.com

How do I tell postfix to forward all emails to multiple recipients?

share|improve this question
up vote 27 down vote accepted

Put all your addresses on the same line separated by commas as explained in the Postfix manual for virtual.

test@domain.com bob@me.com,bob2@me.com

Should do the trick.

share|improve this answer

You can make alias on multiply addresses and setup a bcc for that alias:

Find or edit bcc_map (or else name) file in /etc/postfix, compile this into a postfix hash file using:

postmap bcc_map

Add tp postfix main.cf config:

sender_bcc_maps = hash:/etc/postfix/bcc_map
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.