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
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 sender@example.com to backup@example.com:
The following workaround is to copy all email sent by sender@example.com to backup@example.com:
- Connect to the server via SSH;
- Create a map file:
# echo "sender@example.com backup@example.com" >> /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
Comments
3 comments
Thank you for training I have a problem. When I send an email, I receive 2 similar emails on the backup side, why?
I send an email from sender@example.com, but in backup@example.com, I get 3 similar emails, why?
Hello @AlirezaKiani !
Please contact Plesk support for assistance: https://support.plesk.com/hc/en-us/requests/new
The investigation is required to find the cause of misconfiguration.
Please sign in to leave a comment.