docker-mailserver /docker-mailserver
Production-ready fullstack but simple mail server (SMTP, IMAP, LDAP, Antispam, Antivirus, etc.) running inside a container.
★ 19,753⑂ 2,133👁 208⑃ 2,020● 2,325▤ 34
+1
日增长
19,753
stars
2,133
forks
208
watchers
2,020
prs
2,325
issues
34
releases
README
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_)
Top issues
#2713tracking: OIDC implementation67 comments · 2022-08-07#2238[BUG] Restarting the container changes the owner of folders in /var/mail to 500040 comments · 2021-10-03#3866feature request: Configure "PROXY Protocol" for Dovecot + Postfix37 comments · 2024-02-02#3815feature request: adding whitelisting for 192.168.0.0 23 comments · 2024-01-23#3349feature request: only use SRS if necessary22 comments · 2023-05-16#2048[FR] Implementing replication18 comments · 2021-06-21#3456[FR]: `mail_crypt` with per-user private key (with password required)17 comments · 2023-08-03#475autocreation of ldap user's mailboxes fails14 comments · 2017-01-13
Discussions
#4853Alternative to fail2ban1 comments · 2026-11-14#4832Regular rebuilds of container image and versioning0 comments · 2026-10-30#4827DMS not DKIM signing emails for specific domain1 comments · 2026-10-22#4817sieve-expire0 comments · 2026-10-12#4794Use 'send as' instead of 'send on behalf'0 comments · 2026-09-15#4796other: Use 'send as' instead of 'send on behalf'1 comments · 2026-09-15#4780Mozilla Thunderbird - 2 Junk/Spam folders and the correct way to delete one2 comments · 2026-09-04#4766Latest release 16.0.0 - dovecot 2.4 - breaking change syntax2 comments · 2026-08-30
Latest release
v17.0.0 v17.0.0 2026-11-05Useful Links 1. Diff to last release: https://github.com/docker-mailserver/docker-mailserver/compare/v16.0.1...v17.0.0 2. Our Changelog What's Changed This update focuses on solving security-relevant issues for releases. Merged Pull Requests tests: fix race conditions & process kills by @georglauterbach in https://github.com/docker-mailserver/docker-mailserver/pull/4785 docs: update Solr image and clean up FTS configuration by @beertje44 in https://github.com/docker-mailserver/docker-mailserver/pull/4787 Fix broken image path by @Lasslos in https://github.com/docker-mai