I have a VPS on DigitalOcean where I have installed Postfix. I'd like to add in BCC an email address of my choice for all the emails that passing through Postfix go to email addresses not in my system. The email addresses in use in my VPS are stored in a MySQL table and this is the guide I used to set everything up.
I've read a lot of articles on this subject but none of them explains how to achieve my goal. Specifically, all the tutorials I've read (such as 1, 2, 3, and 4) suggest the use of always_bcc
, sender_bcc_maps
, or recipient_bcc_maps
. These options are not helpful because they BCC all the emails coming from outside of the server.
How can I achieve my goal?