OpenSourceProjects logo
docker-mailserver logo

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

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

18,153 stars
2,005 forks
Shell
MIT
docker-mailserver screenshot

docker-mailserver

A production-ready, fully-featured mail server that runs in a Docker container with minimal configuration. Combines SMTP, IMAP, antispam, antivirus, and authentication in one simple deployment without requiring a database.

Key Features

  • Full-Stack Mail Services: Includes Postfix, Dovecot, Rspamd, ClamAV, and comprehensive email protocols
  • Security Focused: Built-in antivirus, antispam, DKIM, DMARC, Fail2ban, and OAuth2 support
  • Configuration-Based: Uses only configuration files for easy versioning and upgrades without SQL databases
  • Container Native: Docker and Kubernetes ready with automatic TLS certificate support
  • Authentication Options: LDAP, SASL, OAuth2, and multiple mail account management methods
  • Email Filtering: Sieve support, custom SpamAssassin rules, and sophisticated filtering capabilities

Use Cases

  • Self-Hosted Email: Deploy your own mail server independently without relying on third-party services
  • Enterprise Deployments: Production-ready solution for organizations requiring full email infrastructure control
  • Privacy-Focused Services: Complete mail infrastructure with no external dependencies or data sharing
  • Cost Reduction: Replace expensive hosted email solutions with containerized self-hosted alternative

Who Is It For

System administrators, DevOps engineers, and organizations seeking a complete, self-hosted email solution that balances simplicity with production-grade features and security.

Trending Open Source Projects