Adding Logos in Zimbra

In Zimbra, there are two different images to re-brand: one is the image that appears in the Login window and the other is the image in the top-left corner when you are logged in. Each image has a different size, and the logos for the open source email platform (FOSS) should be set to the following max sizes:

Application Banner, 200px X 35px in Zimbra Collaboration 8.x;

Application Banner

Application Banner, 170px X 42px in Zimbra Collaboration 8.0.x;

Application Banner1

Login Banner, 440px X 60px in Zimbra Collaboration 8.x;

Login Banner

Login Banner, 450px X 36px in Zimbra Collaboration 8.0.x;

Login Banner1

Since Zimbra Collaboration 5.0.7, one has to set logos per domain, and you can set the URL where you want to link the logos.

Note: Images can either be hosted on the mail server or an external server.

Option 1: Hosting on the mail server

Below are the commands to run per domain as the zimbra user:

Sudo su
u - zimbra
mkdir /opt/zimbra/jetty/webapps/zimbra/logos/

Upload your logos to that new folder

zmprov md <example.com(your domain)> zimbraSkinLogoURL https://<mail.example.com(full domain to your zimbra)>
zmprov md <example.com(your domain)> zimbraSkinLogoLoginBanner /logos/MyLoginBanner.png
zmprov md <example.com(your domain)> zimbraSkinLogoAppBanner /logos/MyAppBanner.png
zmmailboxdctl restart

The images should be owned by zimbra, and in-case they are not owned my that user, change ownership using the links below;

sudo chown zimbra:zimbra /opt/zimbra/jetty/webapps/zimbra/logos/MyLoginBanner.png
sudo chown zimbra:zimbra /opt/zimbra/jetty/webapps/zimbra/logos/MyAppBanner.png

Option 2: Hosting images on a different server

The recommended way to present the logos is to host the images in a external server and present this public and valid URL to the Zimbra commands. In this case, even if you upgrade the Zimbra release, the logos will remain in the external server:

zmprov md <example.com(your domain)> zimbraSkinLogoURL https://<mail.example.com(full domain to your zimbra)>
zmprov md <example.com(your domain)> zimbraSkinLogoLoginBanner https://<mail.example.com(full domain to where the images are hosted)>/MyLoginBanner.png
zmprov md <example.com(your domain)> zimbraSkinLogoAppBanner https://<mail.example.com(full domain to where the images are hosted)/MyAppBanner.png
zmmailboxdctl restart

Option 1 is easier because you don’t use an external server. However, any Zimbra upgrade will replace your Custom Logos and folders with the default versions.