Upgrade failed mail migration

Ask questions about your setup or get help installing ZCS server (ZD section below).
Posts: 2
Joined: Thu Jan 23, 2020 1:31 am

Upgrade failed mail migration

Postby srdjan » Thu Jan 30, 2020 9:56 am

Hi, we have zimbra 8.8.15 ose, and 10 days ago we have been attacked with some kind of miner, resulting in total crash of our server , we tried to reinstall zimbra, but installer crashed... In the meantime solution was to put online last copy of our server which was 20 days ago..my question is, is there some way to sync missing emails from crashed zimbra server to a new?
Thank you

Posts: 49
Joined: Wed Jan 01, 2020 11:28 am

Re: Upgrade failed mail migration

Postby Lewis-H » Fri Feb 07, 2020 4:06 pm

The following is a walk-through of the basic steps required to do ZCS development. The first step is to simply install a current FOSS build on the machine that you wish to use. The instructions that follow assume that this has been done.

Create /home/zimbra and make zimbra the owner.

sudo mkdir /home/zimbra
sudo chown zimbra:zimbra /home/zimbra
Install git, ant, and ant-contrib by whichever method is appropriate for your distro:

sudo apt-get install git ant ant-contrib

sudo yum install git ant ant-contrib
Configure /opt/zimbra/.ssh/config to use your ssh key for the git remotes that you need to access.

Perform the following edits on /opt/zimbra/.bash_profile

Comment-out export LANG=C and export LC_ALL=C.
Add export LANG=en_US.UTF-8
Add export ANT_OPTS=-Ddev.home=/home/zimbra
Change permissions on files and folders that you will be updating; e.g.,

sudo chmod -R o+w /opt/zimbra/lib/
sudo chmod -R o+w /opt/zimbra/jetty/
sudo chown zimbra:zimbra /opt/zimbra
Note: If you run zmfixperms, some of these permissions will be overwritten.

Add file /opt/zimbra/.gitconfig and update as needed. At a minimum:

As the zimbra user, create a base directory under /home/zimbra from which to work.

cd /home/zimbra
mkdir zcs
cd zcs
Now you can clone any repositories that you require and get to work.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 7 guests