Insular email distribution - mail server as Docker images
Branch: master
Clone or download
Pull request Compare This branch is 18 commits ahead, 708 commits behind Mailu:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
core Merge branch 'master' of Sep 22, 2018
docs Merge pull request Mailu#553 from HorayNarea/compress Sep 16, 2018
optional Add expose instructions in Dockerfiles, fixes Mailu#392 Apr 21, 2018
services Merge branch 'master' of Jun 2, 2018
setup Merge pull request Mailu#580 from usrpro/fix-setup-binding Sep 16, 2018
webmails use safer cipher in roundcube Sep 18, 2018
.env.sample Changed samples to be closer to how I actually have it working Mar 21, 2018
.gitignore Merge branch 'master' into refactor-repo Nov 4, 2017
.travis.yml Try to fix the Travis build Apr 21, 2018 Update Nov 11, 2017 Update the changelog for version 1.5.1 Nov 21, 2017 Add a code of conduct, fixes Mailu#319 Nov 12, 2017 Add contributing guidelines Nov 12, 2017 Merge remote-tracking branch 'upstream/master' Jul 29, 2018



This fork modifies some base images to be compatible with raspberry pi.

Instructions for use:

  • Run the following commands to download docker-compose file and environment variables

wget -O docker-compose.yml wget -O .env

  • Modify .env for your own requirements
  • If using SSL certificates, you should add the relevant cert.pem and key.pem files to /var/lib/mailu/certs/
  • Bring up all images with docker-compose up (-d for background mode)

If you prefer to build the images yourself:

  • Clone the repository
  • Copy docker-compose.yml.sample to docker-compose.yml and uncomment the build: sections
  • Copy .env.sample to .env and modify as you require
  • Run the following to start

docker-compose build && docker-compose up -d

Original Readme

Mailu is a simple yet full-featured mail server as a set of Docker images. It is free software (both as in free beer and as in free speech), open to suggestions and external contributions. The project aims at providing people with an easily setup, easily maintained and full-featured mail server while not shipping proprietary software nor unrelated features often found in popular groupware.

Most of the documentation is available on our Website, you can also try our demo server before setting up your own, and come talk to us on Matrix.


Main features include:

  • Standard email server, IMAP and IMAP+, SMTP and Submission
  • Advanced email features, aliases, domain aliases, custom routing
  • Web access, multiple Webmails and administration interface
  • User features, aliases, auto-reply, auto-forward, fetched accounts
  • Admin features, global admins, announcements, per-domain delegation, quotas
  • Security, enforced TLS, Letsencrypt!, outgoing DKIM, anti-virus scanner
  • Antispam, auto-learn, greylisting, DMARC and SPF
  • Freedom, all FOSS components, no tracker included



Mailu is free software, open to suggestions and contributions. All components are free software and compatible with the MIT license. All specific configuration files, Dockerfiles and code are placed under the MIT license.