Skip to content

Instantly share code, notes, and snippets.

@namsnath
Forked from theProgrammerDavid/Mailinabox.md
Last active December 25, 2019 12:49
Show Gist options
  • Save namsnath/8b23394967d202e126c3539cd391ac88 to your computer and use it in GitHub Desktop.
Save namsnath/8b23394967d202e126c3539cd391ac88 to your computer and use it in GitHub Desktop.
Adventures with Mailinabox

BCC-ing people:

BCC all mails sent to a given address:

  • nano /etc/postfix/main.cnf
  • add to the end: sender_bcc_maps = hash:/etc/postfix/sender_bcc_maps
  • nano /etc/postfix/sender_bcc_maps
  • Add lines in this format: <sender@email.com> <bcc@email.com>

BCC all mails recieved on a given address:

  • nano /etc/postfix/main.cnf
  • add to the end: recipient_bcc_maps = hash:/etc/postfix/recipient_bcc_maps
  • nano /etc/postfix/recipient_bcc_maps
  • Add lines in this format: <recipient@email.com> <bcc@email.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment