How to install and configure Archive server in Zimbra

Revision as of 03:12, 9 December 2022 by GopalBhandari (talk | contribs) (→‎Solution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to install and configure Archive server in Zimbra?


   KB 24328        Last updated on 2022-12-9  




0.00
(0 votes)

Problem

In multi-server environment, how to install and configure Archive server in Zimbra?


Solution

1) Install the new archive server. Select the following packages to install.

Install zimbra-ldap [Y] n

Install zimbra-logger [Y] n

Install zimbra-mta [Y] n

Install zimbra-dnscache [N] n

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-convertd [Y] y

Install zimbra-memcached [Y] n

Install archiving [Y] y

2) Before starting the install process, record the following information. LDAP password information is required when install the archive server.

Run this command on LDAP server:

 $ zmlocalconfig -s | grep -i ldap | grep -i pass

Here get the Ldap Admin password.

3) After complete the installation process open the Zimbra web client:

Go to the Home > Configure > Global Settings > MTA page and in the Archiving Configuration section, check Enable archiving.

Then go to the MTA server and enable the Service in Home > Configure > Servers > MTASERVER > Services and check Archiving and Discovery.

4) Run this command on Archive server:

 $ zmprov ms `zmhostname` +zimbraServiceInstalled archiving
 $ zmcontrol restart

Now run below command on MTA server:

 $ zmprov ms `zmhostname` +zimbraServiceEnabled archiving
 $ zmcontrol restart

Now run this command to see if the Archiving is enabled searching inside the amavis config file or not:

 $ more /opt/zimbra/conf/amavisd.conf | grep '$archive_quarantine_method'

5) Creating a Dedicated Archive COS. Follow the steps mention on this wiki to create a COS for archiving: [https://wiki.zimbra.com/wiki/ZAD#Creating_a_Dedicated_Archive_COS ] In third steps select new archive server because every new archive account will create automatically in new archive server. Remove the dedicated archive server from the other COS, like the default COS, etc, to prevent that regular accounts can be created there.

6) Restart both MTA server and the archive server:

 $ zmcontrol restart

7) Now create the one archive account run below command:

 $zmarchiveconfig enable <account@example.com> archive-cos <archive>

8) Send one test mail to the account and check the archive account too.

If the mail recevied, it means the archive account configured successfully.

Jump to: navigation, search