MistralMail

MistralMail is a simple mail server.
It makes hosting your own SMTP and IMAP server plug & play.

KISS

Easy to deploy and configure

MistralMail will be a production-ready, and easy to setup mail server. It consists of an SMTP server (both MSA and MTA) and an IMAP server all bundled in one executable (or just in one Docker image) with auto-generated TLS certificates.

Automated certificate generation
TLS certificates are automatically generated using Let's Encrypt to make MistralMail secure out the box.
SQL database for email storage
All mailboxes and other user data are safely stored in a SQL database.
Single binary
MistralMail consists of a single Go binary containing everything you need (IMAP, SMTP, API, metrics, ...).
Cloud Native
MistralMail was built with the cloud in mind. Just bring your env variables and your database and deploy everything in a matter of seconds.
Simple configuration
Configuration should be as simple as possible. Copy the sample .env file and start tweaking your configuration.
Web interface
A (rudimentary) web interface is included. So no need to SSH into your servder to add a user.

Let's go!

Getting started with MistralMail

First you need to copy .env.sample to .env and configure all the needed environment variables. Make sure that ports 80 and 443 are opened for the automatic TLS certificate generation via Let's Encrypt.

Then it's just one docker command:

docker run \ 
    -p 25:25 \
    -p 587:587 \
    -p 143:143 \
    -p 80:80 \
    -p 443:443 \
    -p 8080:8080 \
    -v ./certificates:/mistralmail/certificates \
    denbeke/mistralmail

© MistralMail - 2023