Question
How to BCC all outgoing mail from one local mailbox in Plesk to the another?
Answer
This functionality is not implemented in Plesk.
Take part in our product improvement and vote for this feature on Plesk UserVoice.
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 [email protected] to [email protected]:
Click to review the workaround
- Connect to the server via SSH;
Note: if direct SSH access to the server is not possible, contact server administrator for further assistance.
- Create a map file:
# echo “[email protected] [email protected]” >> /etc/postfix/sender_bcc
- Create a hash for the map file:
# postmap /etc/postfix/sender_bcc
- 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 the
/etc/postfix/main.cf:
sender_bcc_maps = hash:/etc/postfix/sender_bcc
and reload the service:
# service postfix reload