S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
self-hosting 2026-10-29

Mail-in-a-Box: Your Own Gmail on a $6 VPS

This is a companion guide to the video, and the video is the starting point for everything below. Watch the video first, then use this article as the written reference with links to the official docs. In the video means the claim comes from the video transcript, while added from the sources means it was confirmed against the official Mail-in-a-Box guide, maintenance page, or GitHub releases. I did not run this install while writing, so treat every setup step below as untested here until you confirm it on your own machine.

What Mail-in-a-Box gives you

Before you start: the non-negotiables

Video requirements slide naming the non-negotiables: fresh VPS, 1 GB RAM, real domain, and port 25 open
Video requirements slide naming the non-negotiables: fresh VPS, 1 GB RAM, real domain, and port 25 open (Still from the walkthrough video.)

DNS first: glue records and nameservers

Video frame showing the official setup guide section on glue records with a registrar hostnames example
Video frame showing the official setup guide section on glue records with a registrar hostnames example (Still from the walkthrough video.)

Install with one command

Backups: save the key

Video slide warning that encrypted backups are useless without the key, with a copy-it-off-the-box and test-a-restore checklist
Video slide warning that encrypted backups are useless without the key, with a copy-it-off-the-box and test-a-restore checklist (Still from the walkthrough video.)

Honest caveats before you commit

Mail-in-a-Box or Stalwart 1.0

Watch the walkthrough

Watch on YouTube