Update & Upgrade Mailcow

Keep your Mailcow installation current with safe, zero-downtime update procedures.

Category: Mailcow

Before You Update

  • Take a full backup of /opt/mailcow-dockerized/ and your mail data
  • Review the release notes for breaking changes
  • Notify users of a brief maintenance window

Update Mailcow

cd /opt/mailcow-dockerized
sudo ./update.sh

The update script will pull new images, apply migrations, and restart services automatically.

Manual Update (If Script Fails)

cd /opt/mailcow-dockerized
git fetch --tags
git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
sudo docker compose pull
sudo docker compose up -d
sudo docker system prune -f

Verify After Update

sudo docker compose ps
sudo docker compose logs --tail=30

Send a test email and check that SMTP, IMAP, and the web UI are functioning normally.