Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

how to send a copy to another email address of all incoming messages from an email account?(postfix)

it's possible?


share|improve this question

You can simply use recipient_bcc_maps to copy all emails being sent to a specific user (or a specific domain).

For example add the following line to your (or use postconf for that):

recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps

and create a file /etc/postfix/recipient_bcc_maps with the following content:

and run postmap recipient_bcc_maps.

share|improve this answer

You can do this by creating two aliases for the account, as follows:

Let's say you have two email addresses: and, and you want mom to get a copy of all of kid's email. In this case, and would both be accounts, but you would also create the following aliases:

From:                         To:          

Postfix will understand this -- the kid -> kid alias does not create a loop (though it looks like it should!), instead it tells Postfix to continue on to delivering to the mailbox even though the mail was already delivered to the alias.

share|improve this answer
Note that postfix complains about a duplicate entry. Put both and destination on the same line. – Ludovic Kuty Apr 16 '12 at 15:56

one solution is to use procmail a different solution is to use ~/.forward file. over the two procmail has far more options and control.

share|improve this answer
i fount it: – Mrsksdk Apr 28 '11 at 1:15
send bcc will do it as well ... :) there is also an option into – silviud Apr 28 '11 at 1:40
could u tell me how to use this second option? – Mrsksdk Apr 28 '11 at 1:44
check this link - is quite simple if you still have problems let me know - – silviud Apr 28 '11 at 23:54

I suggest using this milter if your postfix storage format is mbox:

the advantage is that if a user is authenticated and not using the proper from details his mail will still be caught by this milter while the sender_bcc_maps won't catch it.

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.