vim /opt/zimbra/postfix-2.2.9/conf/main.cf
...
...
sender_bcc_maps = hash:/opt/zimbra/postfix-2.2.9/sender_bcc
(2) After that edit the /opt/zimbra/postfix-2.2.9/sender_bcc file:
#vim /opt/zimbra/postfix-2.2.9/sender_bcc
@company.com archive@mailarchiva.company.com
In this senario the mails sent by all the users of the company.com domain will be copied to the archive@mailarchiva.company.com mail account.
(3) Change the MailArchiva SMTP agent port to 25.
(4) Restart Zimbra
#cd /opt/zimbra/postfix-2.2.9
#postmap sender_bcc
#service zimbra restart
You will probably need to update your hosts file to point mailarchiva.company.com to the IP address of the mailarchiva server.
See http://www.lankalinux.com/?q=node/98 for more info.
ONE CAVEAT: I am not sure if the above method will capture BCC fields (using MailArchiva's in built milter will!).
How To Setup Zimbra LDAP Authentication
Please refer to LDAPConnectionToZimbra for information to configure LDAP authentication to Zimbra.
-- TWikiGuest - 07 Dec 2007