Admin Life Errors, Fixes, and Encounters

28Jan/10Off

Postfix Recipient BCC Maps freebsd

Problem: email account was created on postfix but other people want to get that email also BUT don't want to check it.

Solution: Recipient BCC Maps with postfix

Start off by adding the correct lines to postfix's main.cf file

# vi /etc/postfix/main.cf

//email for John to get bcc'ed on everything support gets
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc

# vi /etc/postfix/recipient_bcc
// this line will bcc John on everything support gets.
[email protected] [email protected]

//since it's a hash file, we use postmap to hash it.
# /usr/local/sbin/postmap recipient_bcc

// we then restart apache.
# cd /usr/local/sbin/
# ./postfix reload
postfix/postfix-script: refreshing the Postfix mail system

That's it, now every email support gets, John will be BCC'ed on