This guide refers to How to Archive on Zimbra OSE (Auto BCC by Sender) and How to Archive on Zimbra OSE (Auto BCC by Recipient) using a simple method.
Below is how to set up on Carbonio CE
– Create a domain for archiving. Example: imanudin.archive
– Create an account under the archive domain. For example, [email protected] will have an archive account at [email protected]
– Create file archive_domain
su - zextras vi /opt/zextras/conf/archive_domain
Add the following lines
/^([^@]+)\@imanudin\.web\.id$/ [email protected]
If you want to use a different archive account (for example, user1 refers to user2), you can adjust it as shown below.
/^user1@imanudin\.web\.id$/ [email protected] /^([^@]+)\@imanudin\.web\.id$/ [email protected]
Save. Then configure sender_bcc and recipient_bcc
postconf -e sender_bcc_maps=regexp:/opt/zextras/conf/archive_domain postconf -e recipient_bcc_maps=regexp:/opt/zextras/conf/archive_domain postfix reload
For every sent or received email, a copy will be automatically forwarded to the archive account.
Make sure to add an archive account each time you create a new primary account.
Good luck 🙂