How To Archiving on Zimbra OSE (Auto BCC by Sender)

Home » Zimbra » How To Archiving on Zimbra OSE (Auto BCC by Sender)
Zimbra 9 Comments

Archiving is one of important thing on email. Archiving of email, usually used for audit complain or other needed. Actually, feature archiving is there on Zimbra paid version (Network Edition) and only there for Professional edition. If you often use webmail, you can archive inbox item, sent item even draft item as described at Zimbra wiki link : However, just work if using webmail. If using email client such as Thunderbird or Outlook, your email will not archive.

If you want to archive email and using Zimbra OSE, you can use auto bcc with simple modification on Postfix. But in this section, i will just archive email by sender (auto bcc by sender). For example, i have account with name and archive account with name user1@imanudin.archive. Every email sent from will automatically bcc to user1@imanudin.archive. You can do the following tips to do that

# Create domain archive on Zimbra. Example imanudin.archive. To do that, you can do via Zimbra Admin | Configure | Domains or via Command Line with the following command

su - zimbra
zmprov cd imanudin.archive

# Create account for archive. Example account have account archive user1@imanudin.archive. To do that, you can do via Zimbra Admin | Manage or via Command Line with the following command

su - zimbra
zmprov ca user1@imanudin.archive passwordarchiveuser1

# Create rule on Zimbra for archive every sent email from user that will be archived

vi /opt/zimbra/postfix/conf/

Add the following line on the bottom

sender_bcc_maps = lmdb:/opt/zimbra/postfix/conf/sender_bcc

# Create file /opt/zimbra/postfix/conf/sender_bcc and fill with the users who will be archived

vi /opt/zimbra/postfix/conf/sender_bcc

Fill with the following example      user1@imanudin.archive

# Postmap file /opt/zimbra/postfix/conf/sender_bcc

postmap /opt/zimbra/postfix/conf/sender_bcc

# Reload service Postfix Zimbra

postfix reload

Please try to sending email from user who have been configured auto bcc. Every sent email from will be also copied to user1@imanudin.archive

Note :

– This guidance using Zimbra 8.5. If using old Zimbra and above guidance is not working, please change lmdb become hash

– Every add/change/delete users archives on /opt/zimbra/postfix/conf/sender_bcc, don’t forget to doing postmap and reload Postfix Zimbra

If you have budget and want to simple archives users, consider to using Zimbra NE with more features available

Good luck and hopefully useful 😀

Source :

9 thoughts on - How To Archiving on Zimbra OSE (Auto BCC by Sender)