Hosting and Stuff

Home / Compare

Self-host mail on a VPS

Running your own mail server is not “click Install and get Gmail.” It is DNS, reverse DNS, provider policy, and reputation. A panel only wires the software.

What actually has to work

  1. Port 25 open (outbound and usually inbound). Many VPS providers block it until you ask.
  2. PTR / reverse DNS for the server IP matching your mail hostname.
  3. SPF on the domain authorizing that IP / hostname.
  4. DKIM signing; publish the public key in DNS.
  5. DMARC policy so receivers know what you intend.
  6. A fresh box — do not bolt mail onto a random web server that already has broken reverse DNS.

Where mrmpanel fits

With --mail (or --all), mrmpanel installs docker-mailserver and optional Roundcube webmail. The panel can help with mailboxes and some DNS helpers. It does not buy you a clean IP reputation or a provider that allows SMTP.

Treat self-hosted mail on mrmpanel as a lab: learn the flow, break it, wipe the VPS. Do not move your bank and client mail there while the panel is still experimental.

Provider reality check

Before you order, read whether the VPS allows port 25 and custom PTR. Cheap plans that block SMTP forever are fine for web-only tests and useless for “I want my own IMAP.”

Safer alternatives for real mail

Install the panel web stack first: Ubuntu 24.04. VPS picks: cheap VPS for a WordPress panel. Notes: panel picks + mail caveats.