docker-mailserver / docker-mailserver
git clone https://github.com/docker-mailserver/docker-mailserver.git
v16.0.1 · 1mo ago
🔥 on GitHub Trending today
Containerized full-stack mail server bundling Postfix, Dovecot, Rspamd, and ClamAV for SMTP, IMAP, and POP3 with config-file-based setup.
Why you might care
Gives you a self-hosted mail server in one container without a SQL database, keeping all configuration in versioned files. It bundles antispam, antivirus, DKIM/DMARC, and fail2ban, and supports LDAP and OAuth2 authentication.
+3
stars, 24h · #3,810
+~21
stars, 7 days · #4,632
+803
stars, 30 days · #675
20k
★ total · +0% this week
2.1k
forks · 86 open issues
Star history (as recorded here)
LanguageShell
LicenseMIT
Created2015-03-28 (11y ago)
Last push2d ago
Watchers215
OwnerOrganization
Seen on GitHub Trending
- 2026-10-21 — #4 monthly in shell · +803 ★
- 2026-10-20 — #4 monthly in shell · +797 ★
GitHub topics
Links
- GitHub: github.com/docker-mailserver/docker-mailserver
- Homepage: https://docker-mailserver.github.io/docker-mailserver/latest/
- Releases · Issues · Hacker News mentions
README excerpt
# Docker Mailserver [![ci::status]][ci::github] [![docker::pulls]][docker::hub] [![documentation::badge]][documentation::web] [ci::status]: https://img.shields.io/github/actions/workflow/status/docker-mailserver/docker-mailserver/default_on_push.yml?branch=master&color=blue&label=CI&logo=github&logoColor=white&style=for-the-badge [ci::github]: https://github.com/docker-mailserver/docker-mailserver/actions [docker::pulls]: https://img.shields.io/docker/pulls/mailserver/docker-mailserver.svg?style=for-the-badge&logo=docker&logoColor=white&color=blue [docker::hub]: https://hub.docker.com/r/mailserver/docker-mailserver/ [documentation::badge]: https://img.shields.io/badge/DOCUMENTATION-GH%20PAGES-0078D4?style=for-the-badge&logo=googledocs&logoColor=white [documentation::web]: https://docker-mailserver.github.io/docker-mailserver/latest/ ## :page_with_curl: About A production-ready fullstack but simple containerized mail server (SMTP, IMAP, LDAP, Anti-spam, Anti-virus, etc.). - Only configuration files, no SQL database. Keep it simple and versioned. Easy to deploy and upgrade. - Originally created by @tomav, this project is now maintained by volunteers since January 2021. ## > [!TIP] > Be sure to read [our documentation][documentation::web]. It provides guidance on initial setup of your mail server. > [!IMPORTANT] > If you have issues, please search through [the documentation][documentation::web] **for your version** before opening an issue. > > The issue tracker is for issues, not for personal support. > Make sure the version of the documentation matches the image version you're using! ## :link: Links to Useful Resources 1. FAQ 2. Usage 3. Examples 4. Issues and Contributing 5. Release Notes 6. Environment Variables 7. Updating ## :package: Included Services - Postfix with SMTP or LDAP authentication and support for extension delimiters - Dovecot with SASL, IMAP, POP3, LDAP, basic Sieve support and quotas - Rspamd - Amavis - SpamAssassin supporting custom rules - ClamAV with automatic updates - OpenDKIM & OpenDMARC - Fail2ban - Fetchmail - Getmail6 - Postscreen - Postgrey - Support for LetsEncrypt, manual and self-signed certificates - A setup script for easy configuration and maintenance - SASLauthd with LDAP authentication - OAuth2 authentication (_via `XOAUTH2` or `OAUTHBEARER` SASL mechanisms_)
Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.