User Tools

Site Tools


internet:mail:zimbra:zimbra9

This is an old revision of the document!


Zimbra 9 OSE

Prerequisites

  1. Install Ubuntu 20.04 Server
    1. 16GB RAM
    2. 50GB+ System Disk (/)
    3. 30GB Temp Disk (/tmp)
      1. Can be omitted with a much larger System Disk
    4. 500GB Store Disk (/opt/zimbra/store)
      1. Sized to your needs
  2. Update the OS and install some packages
  3. Configure static public IP address
  4. Configure external (and internal if split) DNS
    1. You can leave the MX record until later but the install is 'cleaner' if you do it now
  5. Configure /etc/hosts file
    1. Comment or remove the 127.0.1.1 <shortname> reference
    2. Add a <ipaddr> <fqdn> <shortname> reference
  6. Set timezone
  7. Disable systemd-resolved service
    1. remove the leftover symlink
  8. Configure new /etc/resolv.conf
  9. Remove snap
  10. Install hypervisor tools
  11. Update the system
  12. Reboot
apt install openssh-server net-tools wget perl dnsutils

timedatectl set-timezone America/Phoenix

systemctl disable systemd-resolved.service && systemctl stop systemd-resolved.service
rm -rf /etc/resolv.conf
sed -i 's/#DNSStubListener=yes/DNSStubListener=no/g' /etc/systemd/resolved.conf

cat << EOF > /etc/resolv.conf
domain yourdomain.tld
search yourdomain.tld
nameserver 8.8.8.8
nameserver 1.1.1.1
EOF

snap list
snap remove snap-store lxd core18 core20
snap remove snapd
umount /snap/core/*
umount /var/snap
apt purge snapd
rm -rf ~/snap /snap /var/snap /var/lib/snapd

Install Zimbra 9 OSE

Zextras OSE: https://www.zextras.com/zextras-build-based-on-zimbra-official-repository

First Steps: https://www.zextras.com/thankyou-zextras-build-zimbra/

Requirements: https://www.zimbra.com/documentation/

wget download.zextras.com/zcs-9.0.0_OSE_UBUNTU20_latest-zextras.tgz

tar -xzvf zcs-9.0* && cd zcs-9.0*

./install.sh

:!: Hit <enter> to select the defaults for all items, then create the admin password.

:!: Adjust the domain name to your actual desired e-mail domain name (instead of the hostname).

:!: You can ignore the MX record error, until you actually want mail to flow properly.

Zimbra 9 OSE Install Script

Services

systemctl status zimbra.service
su - zimbra
zmcontrol status
zmcontrol stop
zmcontrol start

Firewall

LFD

Logging

SSL Certificate

HTTP Redirection

Zextras

internet/mail/zimbra/zimbra9.1659635591.txt.gz · Last modified: 2022/08/04 11:53 by gcooper