Plesk

How to BCC all outgoing mail from one local mailbox in Plesk to another?

Question

How to BCC all outgoing mail from one local mailbox in Plesk to another?

Answer

This functionality is yet to be implemented in Plesk. Take part in our product improvement on Plesk UserVoice portal.

The following workaround may be used to copy all emails sent by sender@example.com to backup@example.com:

Click to review the workaround for Plesk for Linux

  1. Connect to the server via SSH.

  2. Create a map file:

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

  3. Create a hash for the map file:

    # postmap /etc/postfix/sender_bcc

  4. Configure Postfix to read the hash file:

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

  5. Reload Postfix service to apply changes:

    # service postfix reload

Exit mobile version