Self hosting *internal* mail server

This page summarizes the projects mentioned and recommended in the original post on /r/selfhosted

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • maildev

    :mailbox: SMTP Server + Web Interface for viewing and testing emails during development.

  • There are other options besides running a fully blown internal mail server. You could try https://github.com/maildev/maildev or https://github.com/mailhog/MailHog (no longer being developed but still working great) if it is enough for your use case.

  • MailHog

    Web and API based SMTP testing

  • There are other options besides running a fully blown internal mail server. You could try https://github.com/maildev/maildev or https://github.com/mailhog/MailHog (no longer being developed but still working great) if it is enough for your use case.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • inbucket

    Disposable webmail server (similar to Mailinator) with built in SMTP, POP3, RESTful servers; no DB required.

  • I run https://www.inbucket.org/ at home. I wrote it, so I'm biased, but it works well for me. ;)

  • docker-mailserver

    Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.

  • I do this. I run docker-mailserver on the same docker host as my other containers, and connect it only via the internal docker network to those containers that need it. It has no externally exposed ports, since it doesn't need to send or receive mail beyond the LAN. Roundcube provides the only UI for users to access their mailbox for account verification, password resets, etc. I use it to teach my young kids email before they're ready for the real deal. It's worked well so far.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts