0

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?

  • You have to write a milter, no other way as far as i know. – Tutul May 24 '16 at 00:28
  • @Tutul Hi. Thank you for the comment. Can you be a bit more explicit or give me a guide or link to do that? I'm not an expert, so I don't know what that means. – Aurelio De Rosa May 24 '16 at 10:41
  • Does this answer your question? [How can I configure Postfix to retain copies of all email sent through it?](https://serverfault.com/questions/407302/how-can-i-configure-postfix-to-retain-copies-of-all-email-sent-through-it) – Gerald Schneider May 23 '23 at 08:11

0 Answers0