Docker Mailserver based on the famous ISPMail guide. All images are based on Alpine Linux and are so small as possible.
MYSQL_DATABASE=mailserver MYSQL_USER=mailserver MYSQL_PASSWORD=test@123 MYSQL_ROOT_PASSWORD=test@123 MAILNAME=mail.testlab.com POSTMASTER=[email protected] RELAYHOST=false FILTER_MIME=false FILTER_VIRUS=true ENABLE_IMAP=true ENABLE_POP3=true CONTROLLER_PASSWORD=test@123 CONTROLLER_SECURE_NETWORK=172.16.0.0/12 WAITSTART_TIMEOUT=2m RECIPIENT_DELIMITER=-
=================================================
- POP3, IMAP, SMTP with user authentication
- TLS enforced
- Webmail interface
- Server-side mail filtering, rule configuration via web frontend
- Spam- and malware filter
- Uses RBL (real time black hole lists) to block already known spam senders
- Greylisting only when incoming mail is likely spam
- DKIM message signing
- Web management interface to create / remove accounts, domains and aliases
- Support of send only accounts which are not allowed to receive but send mails
- IMAP, POP3 and malware filters can be disabled if they are not used
- Permanent self testing by Docker's healthcheck feature
- Developed with high quality assurance standards
- Address extension (-)
- Run
git clone [email protected]:jeboehm/docker-mailserver.git
- Copy the file
.env.dist
to.env
and change the variables in it according to your needs. The variables are described in the Wiki. - Run
bin/production.sh pull
to download the images. - Run
bin/production.sh up -d
to start the services. - After a few seconds you can access the services listed in the paragraph Services.
- Create your first email address and an admin user by running
bin/production.sh run --rm web setup.sh
. The wizard will ask you a few questions to set everything up. - Now you can login to the management interface with your new account credentials.
- Configuration
- Advanced setup:
- Features:
- Technical details:
- Upgrading
- Troubleshooting
Service | Address |
---|---|
POP3 (starttls needed) | 127.0.0.1:110 |
POP3S | 127.0.0.1:995 |
IMAP (starttls needed) | 127.0.0.1:143 |
IMAPS | 127.0.0.1:993 |
SMTP | 127.0.0.1:25 |
Mail Submission (starttls needed) | 127.0.0.1:587 |
Management Interface | http://127.0.0.1:81/manager/ |
Webmail | http://127.0.0.1:81/webmail/ |
Rspamd Webinterface | http://127.0.0.1:81/rspamd/ |