previously, we can archive every sent email from who users has been configured for archived. But, how to archive also email received for users that will archived? whether it can? Yes, we also can archive every received email with same method as previously. We can use auto bcc by recipient.
Auto bcc by recipient will archive/copy every email received by users who has been configured. Below is how to configure it
# 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 firstname.lastname@example.org have account archive email@example.com. To do that, you can do via Zimbra Admin | Manage or via Command Line with the following command
su - zimbra zmprov ca firstname.lastname@example.org passwordarchiveuser1
# Create rule on Zimbra for archive every received email to user that will be archived
Add the following line on the bottom
recipient_bcc_maps = lmdb:/opt/zimbra/postfix/conf/recipient_bcc
# Create file /opt/zimbra/postfix/conf/recipient_bcc and fill with the users who will be archived
Fill with the following example
# Postmap file /opt/zimbra/postfix/conf/recipient_bcc
# Reload service Postfix Zimbra
Please try to sending email for user who have been configured auto bcc. Every sent email to email@example.com will be also copied to firstname.lastname@example.org
– 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/recipient_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 😀
Thanks for this great article,it helped alot,only problem is it’s only forwarding internal emails,what i need to do is auto forward external mails too. For example my domain is abc.com if user:email@example.com receive an email from firstname.lastname@example.org recipient rule automatically forward a copy to email@example.com, but if user1 receive an e-mail from his/her external account then it’s not forwarding at all(External account set to deliver message to inbox). Is it possible to configure that way ?
You can use filter and configured on Webmail
As far as i know those filters only works if user use the webmail but in my case all users are using outlook, so i’m stuck in this part.