Skip to content
Discussion options

You must be logged in to vote

Is self-hosting a mail server recommended?

If you want a practical, modern, “works out of the box” self-hosted setup, Mailcow (Dockerized) is a solid choice.


Self-hosted mail server (Debian/Ubuntu) — step-by-step

0) What you need (before you start)

  • A VPS with a clean IP (preferably with rDNS/PTR support).
  • A domain you control (example: email.xyz).
  • A DNS provider (example: Cloudflare).
  • Time to maintain it (updates, monitoring, backups).

Important: Many providers block port 25 by default. Choose a VPS/provider where outbound SMTP (25) is allowed or can be unblocked.


1) Buy a VPS

Minimum practical:

  • 2 vCPU / 2–4 GB RAM / 20+ GB SSD
  • Debian 12 or Ubuntu 22.04/24.04
  • Public IPv4 (IPv6 reco…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by steley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants