How to BCC all outgoing mail from one local mailbox to the other one in the same domain

Created:

2017-02-21 11:59:07 UTC

Modified:

2017-08-08 13:42:49 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to BCC all outgoing mail from one local mailbox to the other one in the same domain

Applicable to:

  • Plesk for Linux

Question

How to BCC all outgoing mail from one local mailbox to the other one in the same domain

Answer

The issue that you have reported is yet to be implemented in Plesk, thus I can suggest you to take part in our product improvement by referring to the following link: https://plesk.uservoice.com/forums/184549-feature-suggestions

The top-ranked suggestions are likely to be included in the next versions of Plesk.

The following workaround is to copy all email sent by sender@example.com to backup@examplec.com:

1. Create a map file

# echo "sender@example.com  backup@example.com" >> /etc/postfix/sender_bcc

2. Create a hash for the map file

# postmap /etc/postfix/sender_bcc


3. Configure Postfix to read the hash file and reload the configuration to apply the changes:

# echo "sender_bcc_maps = hash:/etc/postfix/sender_bcc" >> /etc/postfix/main.cf
# service postfix reload

Note: to disable it, just comment out the following parameter in /etc/postfix/main.cf

sender_bcc_maps = hash:/etc/postfix/sender_bcc

and reload the service:

# service postfix reload

Have more questions? Submit a request
Please sign in to leave a comment.