The following manual describes the configuration of a zimbra mailserver for archiving.
All E-Mails that are processed by Postfix (incoming, outgoing and internal) will be sent as blind copy via smtp to the REDDOXX Appliance.
The REDDOXX Appliance recieves E-Mails via smtp connector and archives the E-Mails accordingly.
De-Duplication will take place in case the REDDOXX Appliance is integrated in mail flow, so that an e-mail is only archived once.
Adjustments with the zimbra user
Login as zimbra user on your zimbra linux shell:
su - zimbra
Enter following commands to set the always_bcc:
export PATH=/opt/zimbra/bin:$PATH zmlocalconfig -e email@example.com postconf -e firstname.lastname@example.org
With this option activated, a blind copy will be generated for all incoming and outgoing mails, as well as all internal mail traffic which is sent to the specified address.
Please note that the domain of the address may not actually exist, the domain needs to be a fictitious domain.
Configure a transport rule
Create a rule which forwards all copies to the REDDOXX MailDepot.
Use the hostname or the IP address of the REDDOXX appliance as the target of the transport rule.
Enter the port of the SMTP connector at the end of the IP address separated by a colon.
The default port of the SMTP Connector for the MailDepot of the REDDOXX is: 1025.
Reconfigure the transport map file "/opt/zimbra/common/conf/transport" according to the following transport rule.
Be sure to enter the correct IP address and port.
Adjust the file "/opt/zimbra/common/conf/transport" and add the transport for the rule at the bottom:
To enable the new configuration, the file must be converted into a so-called hash table:
postmap lmdb:/opt/zimbra/common/conf/transport zmprov ms <zimbra FQDN> zimbraMtaTransportMaps "lmdb:/opt/zimbra/common/conf/transport,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"
Reload the new Postfix configuration and test
Reload the Postfix configuration:
Send a test mail and check the logfile with:
tail -f /var/log/mail.log
The following steps are required to configure the smtp connector:
More Information to the configuration of the smtp connector can be found in the manual