MailTheSecure
Self-Hosted Mail Server — custom domains, catch-all & privacy-first email.
MailTheSecure is a self-hosted mail server built for people who want real ownership of their email. Hosted at mail.thedevscourse.com, it lets you receive mail at your own custom domains instead of renting mailboxes from a third party. With user management, catch-all addresses, and access controls, it covers the everyday needs of a small team or a solo operator without handing your correspondence to a giant provider.
Under the hood, MailTheSecure speaks SMTP and IMAP, so it integrates with the mail clients you already use. DNS is configured end-to-end with MX, SPF, DKIM, and DMARC records, which together ensure messages are accepted by downstream providers and protected against spoofing. Catch-all addresses let you route anything sent to your domain into a single inbox or a set of managed mailboxes, while role-based access keeps sensitive addresses restricted to the people who need them.
The whole stack is Dockerized, so deployment is reproducible and upgrades are predictable. Running self-hosted mail means you control your data, your retention policy, and your backups—and you stop being the product of an ad-supported inbox. For privacy-conscious developers and small businesses that want the flexibility of custom-domain email without the recurring cost and lock-in of a hosted SaaS, MailTheSecure is a practical, maintainable foundation.
Key features
- Receive email at custom domains with full ownership and control.
- User management with role-based access control.
- Catch-all addresses for flexible inbox routing.
- Restricted access for privacy and security.
- Full DNS authentication: MX, SPF, DKIM, and DMARC.
- Dockerized deployment for reproducible hosting.
Technology stack
About the developer
MailTheSecure is operated by Harsh Kadyan (BrutalHarsh), a full stack developer and AI engineer in Rohtak, India, with deep experience in Node.js, Linux, Docker, and infrastructure self-hosting. Beyond this mail server, he has shipped 100+ freelance projects and held backend and product roles at startups. More about his work is on the about page.