Home   Blog   Evan Doorbell Tapes   Projects   Docs   Mirror

Zimbra Notes

I have been administering various Zimbra instances since 2008. This document is to record things I run into that I want to remember.


I recently rebuilt an instance using a Ubuntu 24.04 LTS LXC container. This instance was previously running under a Ubuntu 22.04 LXC container with no required tweaks, but 24.04 required a couple of tweaks.

First, we needed to install the things that would let the Zimbra install script add their apt repositories.

apt install gnupg ca-certificates curl

Second, Zimbra service status and general logging was broken due to changes in how rsyslogd is configured that clash with being in an unprivileged LXC container. To fix this, we need to disable the rsyslogd AppArmor profile.

mkdir -p /etc/apparmor.d/disable
mv /etc/apparmor.d/usr.sbin.rsyslogd /etc/apparmor.d/disable/ then reboot

Third, we need to remove postfix.

apt remove postfix

And lastly, when installing Zimbra, I prefer to omit the following packages:

zimbra-dnscache (Ubuntu 24.04 comes out of the box using systemd-resolved which has its own cache)
zimbra-snmp (optional and only necessary if you want to use an external SNMP collector for stats)