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
下载:v17.0.0v17.0.0 ↓17.0.02026-11-05
+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

Discussions

Latest release

v17.0.0 v17.0.0 2026-11-05
Useful 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

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON