Skip to content
Module 8 · Lesson 18 of 26

Migrating Mailcow to a new server

Part of Mailcow: Self-Hosted Mail Server Mastery, in the Upgrades, Migrations & Version Pinning module.

Author

Same-IP migration (simplest):

  1. Backup on old: backup_and_restore.sh backup all → push to S3.
  2. Provision new host, install Docker + clone Mailcow.
  3. Copy mailcow.conf over.
  4. Pull the same Mailcow git tag.
  5. Restore from snapshot.
  6. Move the IP (or update DNS).

IP-change migration:

  • Schedule a maintenance window during low traffic.
  • Update DNS A and MX TTLs to 300 s 48 hours before the move.
  • Cut over DNS, then PTR on the new IP, then start the new Mailcow.
  • Expect 1–4 h of soft mail delays as senders retry against the old IP.

Don't mix git tags. Restoring a snapshot taken on version 2025.06 into a 2026.01 install will fail Bayes/DB migrations. Always restore into the same tag, then run update.sh.

Sign in to keep track of what you have read.

Pulse · email sending

Sending infrastructure that is yours alone.

Every domain gets its own MX host, IP, DKIM selector and certificate. Take it managed, and we run it for you, or buy a licence and run it on your own servers.

# on a fresh Ubuntu server
$ cd pulse && sudo ./install.sh
→ docker compose up · kumomta · stalwart · caddy
→ dashboard ready on https://pulse.yourdomain.com
$

Also from us:Beat: monitoring that tells you the fixConsulting: $65/hr, no retainer