Skip to main content


Redirect http connection to https for zimbra 8.8.9

Run this command as zimbra:

zmprov ms zimbraReverseProxyMailMode redirect
Substitute the hostname with yours.

That's all there is to it.

Have fun.

Recent posts
First prerequirements are a working apache2 and php7.2 (Ubunti 18.04) environment.Download the basic (like and the sdk ( package from the Oracle Website both files to your webserver, you can use WinSCP (windows) or rsync/scp (linux) for itUnzip both files on server, in my case, you will get a new folder named "instantclient_12_2"Create destination folder : mkdir /opt/oracleMove and rename the instantclient folder: mv instantclient_12_2 /opt/oracle/instantclientChange rights on folder: chown -R root:www-data /opt/oracleCheck if you have the required packages for installing OCI8: apt install php7.2-dev php-pear build-essential libaio1 Create necessary soft links: ln -s /opt/oracle/instantclient/ /opt/oracle/instantclient/; ln -s /opt/oracle/instantclient/l…

Enabling java plugin in Chromium on Linux

Hi there,

In certain situations you may need to use java plugin in chromium to access certain functions in a website such as server's console accessed via IPMI page.

On Linux ( I use Ubuntu 18.04), install icedtea-plugin package:

sudo apt install icedtea-plugin
To enable chromium to run java, make a symbolic link of icedtea plugin to plugin directory of chromium:

sudo ln -s /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/ /usr/lib/chromium-browser/plugins/
Have fun!

Zimbra migration

1. Introduction Zimbra project doesn’t have a cross migration or proper account transfer documentation. All they tell is to do copy the folder /opt/zimbra to your new servers. But if any of those files infected with a rootkit or other malicious scripts , then your new server also will be compromised. So never sync or copy the entire directory of your zimbra installation. Zimbra also tell you to upgrade your production server to the latest version before migration. But improper upgrade may result in entire data lose. With this procedure you can do:
Migrate zimbra from one Operating System To another.Migrate zimbra account between any hardware and Operating systems configurations.No interruption on production server like software upgrade or service disable.Migrate zimbra from old version to a new version serverZimbra cross migrations without copying entire directories.2. Requirement You need an old server with zmibra account and a new fresh server with the Os you wish. Dont’ cre…

Zimbra: Restore or import a user mailbox from backup using CLI

If you have backed up or exported an account and named the compressed backup file as backup.tgz, you can restore or import using zimbra webgui or CLI. CLI is the preferred method if involving backup file bigger than 500MB. The command is as below(run as user zimbra):

zmmailbox -z -m postRestURL "/?fmt=tgz&resolve=skip" backup.tgz

That's all there is to it.

Setup SSL for Jira

How to do it...

Perform the following steps to import an SSL certificate:

1. Open up a command window and go to the directory where the certificate file

2. Generate a Java KeyStore (JKS) for JIRA by running the

keytool -genkey -alias jira -keyalg RSA -keystore /opt/jks/jira.jks

3. Import the certificate into KeyStore repository
keytool -import -alias jira -keystore JIRA_INSTALL/jira.jks -file file.crt

where file.crt is the certificate file.

4. Open the server.xml file located in the /opt/atlassian/jira/conf directory in a text editor.

5. Locate and uncomment the following XML configuration snippet:

minSpareThreads="25" maxSpareThreads="75"
acceptCount="100" scheme="https" secure="true"
sslProtocol="TLS" useBodyEncodingForURI="true"