BCC
-------
Config BCC_Sender and Recipient mails for Zimbra
[root@email ~]# su - zimbra
$ cd /opt/zimbra/conf
*** config bcc outgoing email ***
$ vi sender_bcc
------------------------------
** for bcc all users in domain
@domain boss@domain
-----------------------------
** for bcc select user indomain
user1@domain boss@domain
user2@domain boss@domain
===================
*** config bcc incoming email ****
$ vi recipient_bcc
------------------------------
** for bcc all users in domain
@domain boss@domain
-----------------------------
** for bcc select user indomain
user1@domain boss@domain
user2@domain boss@domain
===================
exit to root
# cd /opt/zimbra/common/conf
# vi main.cf
add the following line in bottom
recipient_bcc_maps = lmdb:/opt/zimbra/conf/recipient_bcc
sender_bcc_maps = lmdb:/opt/zimbra/conf/sender_bcc
# su zimbra
$ postmap /opt/zimbra/conf/recipient_bcc
$ postmap /opt/zimbra/conf/sender_bcc
restart the zimbra postfix
# zmmtactl restart
How to Create auto Bcc for recipient mails for Zimbra 8.7
Auto bcc for recipient mails
[root@email ~]# su zimbra
[zimbra@email conf]$ cd /opt/zimbra/conf
[zimbra@email conf]$ pwd
/opt/zimbra/conf
[zimbra@email conf]$ vi recipient_bcc
mailer@lqs.co.in copy_acc@lqs.co.in
[zimbra@email conf]$ cd ../common/conf/
[zimbra@email conf]$ pwd
/opt/zimbra/common/conf
[zimbra@email conf]$ vi main.cf
recipient_bcc_maps = lmdb:/opt/zimbra/conf/recipient_bcc
[zimbra@email conf]$ postmap /opt/zimbra/conf/recipient_bcc
[zimbra@email conf]$ postfix reload
How to Create auto Bcc for sender mails for Zimbra 8.7
Auto bcc for sender mails
[root@email ~]# su zimbra
[zimbra@email conf]$ cd /opt/zimbra/conf
[zimbra@email conf]$ pwd
/opt/zimbra/conf
[zimbra@email conf]$ vi sender_bcc
mailer@lqs.co.in copy_acc@lqs.co.in
[zimbra@email conf]$ cd ../common/conf/
[zimbra@email conf]$ pwd
/opt/zimbra/common/conf
[zimbra@email conf]$ vi main.cf
add the following line in bottom
sender_bcc_maps = lmdb:/opt/zimbra/conf/sender_bcc
[zimbra@email conf]$ postmap /opt/zimbra/conf/sender_bcc
restart the zimbra postfix
[zimbra@email conf]$ postfix reload
Sender BCC Maps
In this example, we need a copy of all emails sent FROM user@domain.com to bccuser@domain.com user. I am using sender_bcc_maps.
Enter following line at the end of file /opt/zimbra/postfix/main.cf file.
Zimbra 8.5 or above:
sender_bcc_maps = lmdb:/opt/zimbra/postfix/conf/sender_bcc recipient_bcc_maps = lmdb:/opt/zimbra/postfix/conf/recipient_bcc
Zimbra 8.0.9 or earlier:
sender_bcc_maps = hash:/opt/zimbra/postfix/conf/sender_bcc recipient_bcc_maps = hash:/opt/zimbra/postfix/conf/recipient_bcc
Create a file /opt/zimbra/postfix/sender_bcc and add the sender address and forward address in following format. You can enter a list of users.
cat /opt/zimbra/postfix/sender_bcc user@domain.com bccuser@domain.com
Create the hash and reload the MTA.
postmap /opt/zimbra/postfix/conf/sender_bcc postmap /opt/zimbra/postfix/conf/recipient_bcc zmmtactl restart
How to Create auto Bcc for sender mails for Zimbra 8.7
21
SEP
Auto bcc for sender mails
[root@email ~]# su zimbra
[zimbra@email conf]$ cd /opt/zimbra/conf
[zimbra@email conf]$ pwd
/opt/zimbra/conf
[zimbra@email conf]$ vi sender_bcc
mailer@lqs.co.in copy_acc@lqs.co.in
[zimbra@email conf]$ cd ../common/conf/
[zimbra@email conf]$ pwd
/opt/zimbra/common/conf
[zimbra@email conf]$ vi main.cf
add the following line in bottom
sender_bcc_maps = lmdb:/opt/zimbra/conf/sender_bcc
[zimbra@email conf]$ postmap /opt/zimbra/conf/sender_bcc
restart the zimbra postfix
[zimbra@email conf]$ postfix reload
--------