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
- Port 25 open (outbound and usually inbound). Many VPS providers block it until you ask.
- PTR / reverse DNS for the server IP matching your mail hostname.
- SPF on the domain authorizing that IP / hostname.
- DKIM signing; publish the public key in DNS.
- DMARC policy so receivers know what you intend.
- 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
- Keep web on the VPS; send transactional mail via a relay (Mailgun, Postmark, SES, etc.).
- Use a mature panel’s mail stack only if you already know how to operate it.
- Hosted Google / Microsoft / Fastmail for human inboxes you cannot lose.
Install the panel web stack first: Ubuntu 24.04. VPS picks: cheap VPS for a WordPress panel. Notes: panel picks + mail caveats.