October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Install Zimbra Mail Server on an Ubuntu VPS

Install Zimbra Daffodil on a dedicated Ubuntu LTS VPS with the right release, license, DNS, firewall, and Let’s Encrypt setup. This guide covers preparation, installation, validation, and common failures.
Length11 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install Zimbra Daffodil on a clean, dedicated 64-bit Ubuntu LTS VPS, then configure the server’s fully qualified hostname, A and MX records, firewall, license, and TLS before creating production mailboxes. Zimbra changes global system configuration and bundles its own mail, directory, database, and web services, so it should not share a host with another web server, MTA, LDAP service, or database.

Choose the exact Zimbra and Ubuntu combination first

Do not provision a VPS until you have selected the Zimbra package and the Ubuntu image it supports. Zimbra’s download matrix lists Daffodil 10.1.0 GA images for 64-bit Ubuntu 24.04, 22.04, 20.04, and 18.04. The single-server installation guide’s system table lists Ubuntu 18.04, 20.04, and 22.04 instead. That difference matters: use the operating-system versions named by the documentation for the exact package you downloaded, rather than assuming that every image in the download matrix applies to every installation guide.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Item What is established Installation decision
Zimbra release Daffodil 10.1.0 GA is listed in the current download matrix. Download the package that matches your selected Ubuntu release and architecture.
Ubuntu images in the download matrix 64-bit Ubuntu 24.04, 22.04, 20.04, and 18.04 are listed. Confirm the package-specific support information before choosing 24.04.
Ubuntu versions in the single-server guide Ubuntu 18.04, 20.04, and 22.04 are listed. These are the conservative choices when following that guide literally.
License Daffodil 10.1 uses the new licensing system; older-edition licenses do not work with 10.1. Obtain the required 10.1 license before running the configuration stage.
CPU, RAM, and disk minimum No universal VPS minimum is published for this generic workload. Size the VPS from mailbox count, attachments, indexing, retention, and backup requirements. Do not substitute an invented minimum.

Zimbra’s documentation states: “You cannot install Zimbra Daffodil (v10) without a license.” Treat the license as an installation prerequisite, not as an optional upgrade after deployment.

Prepare a dedicated Ubuntu VPS

Start with a full default Ubuntu Server installation on a dedicated host. Apply the tested security updates for the chosen Ubuntu release, but avoid adding unrelated server software. Zimbra is designed to be the only application suite installed on the server and its installer makes global changes.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
  • Use a static public IPv4 address. If you will publish IPv6, verify that the VPS provider supplies correct reverse DNS and that your mail policy covers both address families.
  • Confirm that you can set the PTR (reverse-DNS) record for the public address to the same mail hostname you will use in DNS.
  • Ask the provider whether outbound SMTP on TCP port 25 is blocked by default and whether it can be opened for a legitimate mail server.
  • Use SSD storage with enough capacity for mailboxes, indexes, logs, snapshots, and backup retention. Zimbra’s guide does not publish one CPU, memory, or disk figure that fits every workload.
  • Arrange independent backups or provider snapshots. A snapshot is not a substitute for a tested, restorable mailbox backup.

Connect over SSH as an administrative user. Do not manually create the zimbra Unix user; the installer creates it with the required ownership and permissions.

Remove conflicting services

Before installation, stop and disable any existing web server, database, LDAP server, or mail-transfer agent. A preinstalled Postfix, Exim, Apache, Nginx, MariaDB, MySQL, or OpenLDAP service can occupy a port or alter configuration that Zimbra expects to control. Record what you remove so it can be restored on a disposable test VPS if necessary.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install the required utilities and time service

Update the base system and install netcat (the nc command), which the prerequisite checks require:

sudo apt update
sudo apt full-upgrade -y
sudo apt install -y netcat-openbsd

Provide SSH access throughout the installation and schedule NTP. Accurate time is needed for TLS validation, authentication, logs, and mail headers; use the time-synchronization service supported by your Ubuntu image and verify that it is active.

Disable and verify AppArmor

The Zimbra installation prerequisites require AppArmor to be disabled and not running. On Ubuntu, stop it, disable it, and check the result before launching the installer:

sudo systemctl stop apparmor
sudo systemctl disable apparmor
systemctl is-active apparmor

The final command should report inactive. If a security policy is required by your organization, test a supported Zimbra deployment with that policy separately rather than silently leaving AppArmor active during this installation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

Set the hostname and publish DNS before installing

Choose one permanent mail hostname, such as mail.example.com, and use it consistently in the VPS hostname, A record, MX record, certificate, and reverse DNS. The Let’s Encrypt procedure checks that Zimbra’s hostname equals the output of hostname --fqdn.

sudo hostnamectl set-hostname mail.example.com
hostname --fqdn

The second command must return the complete name, not a short host label. Make sure the local hosts configuration and the VPS provider’s hostname setting do not override it after a reboot.

Create the A and MX records

At your authoritative DNS provider, publish:

Record Example value Why it is required
A mail.example.com → your VPS public IPv4 address Points the mail hostname to the server.
MX example.com → mail.example.com with your chosen priority Directs Internet mail for the domain to Zimbra.
CAA example.com authorizes letsencrypt.org Allows Let’s Encrypt to issue the certificate when CAA enforcement is in use.

Zimbra checks MX records during domain creation and requires both A and MX records for sending and receiving Internet mail. DNS is therefore a functional prerequisite, not a finishing step. An SMTP relay can be configured when direct DNS lookups are disabled, but an MX record is still required if the server will receive mail from the Internet.

Allow DNS time to propagate, then query the authoritative result from the VPS:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
dig +short A mail.example.com
dig +short MX example.com

The A query should return the VPS address, and the MX query should return the mail hostname. If either result is empty or points elsewhere, fix DNS before continuing.

Evaluate the VPS network before committing

The cheapest VPS is not necessarily suitable for mail. Check these capabilities in the provider’s control panel or with support:

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
Capability Question to answer Failure if unavailable
Ubuntu image Is the required 64-bit Ubuntu release available for the selected Zimbra package? You may be forced onto an unsupported combination.
Public identity Can you retain a static address and set its PTR record? Remote systems may distrust mail from an address with generic reverse DNS.
SMTP access Is outbound TCP 25 open, or can it be unblocked after verification? Direct delivery to other mail servers will fail.
Security controls Can you allow TCP 25, 80, 443, 465, and 587, plus optional IMAP or POP ports, while restricting internal ports? Users cannot connect, or internal services become exposed.
Storage protection Are SSD performance, snapshots, backups, and retention documented? Indexing and mailbox growth can exhaust or slow the server, and recovery may be impossible.
Operations Are NTP, IPv6 behavior, abuse handling, and mail-server workloads supported? Clock drift, broken IPv6, or provider policy can interrupt delivery.

Download and run the Zimbra installer

  1. Select the package. From Zimbra’s official download area, choose the Daffodil release and Ubuntu architecture that match the VPS image. Obtain the Daffodil 10.1 license or key material before configuration.
  2. Transfer the archive. Download it to your installation computer, verify the file you received according to the release instructions, and copy it to the VPS with your normal secure-transfer method.
  3. Unpack the archive. On the VPS, extract the package and enter the resulting directory. The directory name varies by release, so list it rather than assuming a fixed version string.
  4. Start the supplied script. Run the installer as root from the extracted directory. It checks for prerequisite Zimbra packages, installs the selected components, and opens a menu-driven configuration stage.
tar -xf zimbra-package.tar.gz
ls
cd zcs-*
sudo ./install.sh

The archive filename and extracted directory must match the file you downloaded; the wildcard in cd zcs-* is only a shell convenience for selecting that extracted directory.

Choose components deliberately

The installer presents the Zimbra components available in the package. Select only the services required for this server’s role, while retaining the core components needed by the supported single-server configuration. Read each license prompt and accept only after confirming that the release and license are the intended pair.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Complete the configuration menu

When the installer flags values for review, configure these items before applying the final settings:

  • Logical hostname: use the same fully qualified name returned by hostname --fqdn, such as mail.example.com.
  • Mail domain: enter the domain represented by the MX record, such as example.com, not the host portion alone.
  • Administrator account and password: set a long, unique password and store it in an approved password manager.
  • License or key information: enter the Daffodil 10.1 licensing data when requested. An older-edition key will not activate 10.1.
  • Optional relay host: configure one only when your delivery design requires it. It does not remove the requirement for an MX record when receiving Internet mail.

Review the summary carefully, apply the configuration, and wait for the installer to finish. Do not interrupt it while packages, directory data, certificates, or service configuration are being written.

Open only the mail protocols you intend to provide

Zimbra’s documented external defaults are listed below. Expose only the services your users need, and keep internal service ports limited to the VPS itself or a private management network.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Port Protocol or service Typical reason to expose it
25/TCP SMTP Server-to-server mail delivery and inbound mail.
80/TCP HTTP HTTP access and temporary certificate validation.
110/TCP POP3 Legacy POP mail clients, only if required.
143/TCP IMAP Unencrypted IMAP, only if required by a controlled policy.
443/TCP HTTPS Secure webmail and administration access.
465/TCP SMTPS Implicit-TLS client submission where supported.
587/TCP Message submission Authenticated mail submission from clients.

Allow SSH only from your administration addresses when possible. If you use UFW, add the SSH rule first so you do not lock yourself out, then allow the selected mail ports:

Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
sudo ufw allow from YOUR_ADMIN_IP to any port 22 proto tcp
sudo ufw allow 25/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 587/tcp
sudo ufw allow 465/tcp
sudo ufw enable
sudo ufw status verbose

Replace the administrative address with your real management source; do not copy a literal placeholder into a production rule. Add 110 and 143 only when you have deliberately chosen to support those protocols. The VPS provider’s security group or upstream firewall must allow the same ports.

Install HTTPS with the documented Let’s Encrypt route

Use the official Ubuntu procedure with Certbot and Let’s Encrypt. Before requesting a certificate, verify the hostname, A record, and CAA record. The certificate authority must be able to reach the server on TCP port 80 for standalone validation.

  1. Confirm that hostname --fqdn and Zimbra’s zmhostname report the same fully qualified hostname.
  2. Confirm that the public A record resolves to this VPS and that the CAA record permits letsencrypt.org.
  3. Make TCP port 80 reachable from the Internet. If Zimbra is already listening on port 80, follow the Zimbra procedure to change the proxy or mail mode temporarily so Certbot can bind the port.
  4. Install Certbot from the supported Ubuntu repositories and request a standalone certificate for the mail hostname.
  5. Deploy the resulting certificate and private key into Zimbra using its certificate-deployment procedure, then reload the affected services.
  6. Configure renewal and repeat the Zimbra deployment after renewal; a renewed file on disk does not automatically mean that every Zimbra service is using it.
sudo apt update
sudo apt install -y certbot
sudo certbot certonly --standalone -d mail.example.com

If validation reports a DNS or connection error, fix that condition first. Common causes are an A record still pointing to an old host, a missing CAA authorization, a provider firewall blocking port 80, or Zimbra retaining the port during standalone validation.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Verify the installation before creating users

Do not provision a full mailbox population until the license, DNS, HTTPS, and service checks pass.

  1. Check service state: run Zimbra’s service-status command and investigate any component reported as stopped.
  2. Check identity: compare the configured Zimbra hostname with hostname --fqdn.
  3. Check DNS from outside the VPS: verify A and MX results using a resolver that is not your local cache.
  4. Check listeners: confirm that only the intended external ports are bound and that administrative or internal service ports are not exposed publicly.
  5. Check HTTPS: open the administration console over HTTPS and inspect the certificate name, validity dates, and chain.
  6. Check delivery: create one test domain and account, send a message to an external mailbox, reply to it, and inspect headers for the expected hostname and TLS behavior.
  7. Check recovery: verify that a backup or snapshot can actually be restored before treating the server as production-ready.

Provision the first production domain and accounts only after these checks pass and the licensing information is accepted.

Troubleshoot the failures that stop most installations

The installer refuses to continue

Recheck the Ubuntu release and architecture against the exact Zimbra package. Confirm that netcat is installed, AppArmor is inactive, the server has a resolvable fully qualified hostname, and no competing MTA, web server, LDAP service, or database is running. The zimbra user should not have been created manually.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.

The hostname check fails

Make the VPS hostname, local name resolution, Zimbra’s logical hostname, and the public A record agree. Run hostname --fqdn and inspect the configured value before restarting the installation. A short hostname or a name that resolves to a different address will also break certificate issuance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Domain creation reports an MX problem

Query the MX record from an external resolver. The MX target must be a hostname with an A record pointing to the VPS. A relay host does not replace the MX requirement for Internet reception. Correct DNS and wait for propagation before retrying.

Outbound messages never leave

Check whether the provider blocks TCP 25, whether the VPS firewall allows it, and whether the destination can reach your reverse-DNS hostname. If direct delivery is intentionally disabled, configure an SMTP relay and still retain a valid MX record for inbound mail.

Let’s Encrypt cannot validate the name

Check the A record, CAA authorization, and public reachability of port 80. If Zimbra occupies port 80, use the documented proxy or mail-mode change during standalone validation. Restore the normal mode and deploy the certificate into Zimbra after issuance.

Production readiness checklist

  • The selected Daffodil release and 64-bit Ubuntu image are an explicitly supported combination.
  • The VPS is dedicated to Zimbra, patched, time-synchronized, and reachable over SSH.
  • No unrelated web, database, LDAP, or MTA service is installed or running.
  • AppArmor is disabled as required by the installation procedure, and nc is installed.
  • The hostname is stable and fully qualified; Zimbra and hostname --fqdn match.
  • A, MX, and (for certificate issuance) CAA records are published and resolve publicly.
  • The Daffodil 10.1 license is installed; an older-edition license is not being reused.
  • Firewall and provider security-group rules expose only the selected SMTP, submission, IMAP, POP, HTTP, and HTTPS services.
  • HTTPS is valid, renews automatically, and is redeployed to Zimbra after renewal.
  • SMTP port 25, reverse DNS, backups, snapshots, and restoration procedures have been tested.

When every item passes, the Ubuntu VPS has the prerequisites Zimbra expects: a supported image, a clean dedicated host, correct Internet identity, reachable mail ports, valid licensing, and managed TLS.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.