A production-ready fullstack but simple containerized mail server📧
To clone and run this application, you'll need Git and Docker Desktop installed on your computer.
From your command line:
# Clone this repository
$ git clone https://github.com/JamBalaya56562/docker-mailserver
DOMAIN1
is mail server domain.
DOMAIN2
is host server domain.
NETWORK
is whatever you like.
# For example
- DOMAIN1=
- DOMAIN2=
- NETWORK=
+ DOMAIN1=mail.example.com
+ DOMAIN2=example.com
+ NETWORK=nginx_web
# Check if variables are appropriate
$ docker compose convert
# Run and up the containers using docker compose
$ docker compose up -d
# Make sure if there are errors in the containers
$ docker compose logs
This software uses the following packages:
- Docker
- docker-mailserver
- 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
The MIT License Copyright (c) 2023 - JamBalaya56562.
Please have a look at the LICENSE for more details.