Skip to content

Mailu

Docker-based mail server with webmail and admin UI for self-hosters running their own

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

78

Health

Thriving

Overview

Stars

7,638

Last commit

today

Nov 2026

Repository age

10 years

since Jan 2016

Latest version

2024.06.72

Nov 2026

Contributors

–

8 active in 90 days

Releases

25

last 12 months

Language

Python

Mailu is a mail server packaged as a set of Docker images. It provides IMAP, SMTP and submission, with auto-configuration profiles for mail clients. A web admin interface and several webmail options come with it.

For users, it offers aliases, auto-reply, auto-forward, fetched accounts, managesieve, OpenPGP key publication through WKD and passkey sign-in to webmail. Admins can set up multiple domains, domain aliases, per-domain delegation, quotas and announcements. Security covers enforced TLS, DANE, MTA-STS, Let's Encrypt, outgoing DKIM, an antivirus scanner and blocking of malicious attachments. Antispam includes auto-learn, greylisting, DMARC, SPF and anti-spoofing.

The code is written in Python and licensed MIT, with all components free software. It started in 2016 and is actively maintained. You run it on your own server and domain, so it replaces hosted mailboxes such as Gmail, Yahoo Mail and Yandex Mail only if you are willing to administer mail yourself. It has no built-in calendar.

Who it's for

Self-hosters moving off Gmail or Yahoo Mail

You get mailboxes on your own domain with aliases and webmail.

Skip if: You do not want to maintain a server and handle deliverability.

Admins hosting mail for several domains

Multiple domains, per-domain delegation and quotas are built in.

Skip if: You need groupware with a built-in calendar.

Privacy-minded small organizations

All components are free software and no trackers are included.

Skip if: You need a hosted service with support.

The problem it solves

Hosted mail providers hold your messages and tie you to their domains and terms. Mailu lets you run your own mail server with the usual protections, without assembling each component by hand.

Strengths

  • IMAP, SMTP, webmail and admin UI in one Docker image set
  • DKIM, DANE, MTA-STS, DMARC, SPF and Let's Encrypt support
  • Passkey sign-in and OAuth 2.0 for compatible clients
  • MIT license, 25 releases in the last year, 6 recent contributors

Trade-offs

  • No built-in calendar
  • You run and maintain the server and domain setup yourself
  • No hosted mailboxes and no native apps
  • No scheduled send in the server itself

Mailu replaces

Self-host Mailu

Self-hostable
Yes

Frequently asked questions

Is Mailu free?

Yes. It is free software under the MIT license.

Can I host multiple domains?

Yes. It supports multiple domains, domain aliases and per-domain delegation.

Does it include webmail?

Yes. Several webmail options and an admin interface are included.

Does it include a calendar?

No. Contacts and calendar depend on the webmail you choose.

Other Gmail alternatives

Compare all 10 Gmail alternatives →

Similar tools in Email software

Forward Email

Email software

Open source email for custom domains, with forwarding, mailboxes and a hosted plan

1.7k 203 2 days ago Active BUSL-1.1 OR MPL-2.0

Replaces Gmail

posta

Email software

Self-hosted email API for developers who send, receive and relay mail

649 77 3 days ago Thriving AGPL-3.0

Replaces MailgunSendGrid

nitromta

Email software

Self-hosted mail delivery engine with an Amazon SES v2 API, for teams sending from their

126 2 13 days ago Active Apache-2.0

Evolution

Email software

Linux desktop email client with calendar and contacts for Outlook-style workflows

90 103 3 days ago Thriving GPL-2.0+ and GFDL-1.3

Replaces Microsoft Outlook