How to choose
Newsletter tool, mail server or both
If you only want to send a newsletter, you do not need your own mail server: listmonk, Keila and Mautic can send through any SMTP service or your existing mailbox provider, and Keila also supports the large sending services directly. If you want mailboxes for your domain, pick a mail server: mailcow, Stalwart, Mox or docker-mailserver. Postal sits in between: it is a delivery platform for apps and websites that send a lot of mail, with tracking and webhooks, not a place to keep personal inboxes. Roundcube adds webmail on top of any IMAP server.
What a mail server needs
Every mail server project on this page asks for the same groundwork: a domain you control, MX, A and PTR (reverse DNS) records, SPF, DKIM and DMARC, and a server whose provider does not block outgoing port 25; Postal’s docs warn that many virtual servers block it and that some IP addresses are already on blocklists. Sizes differ: Postal asks for at least 4 GB of RAM and 2 CPU cores, while Mox’s README says it can start on a machine with 512 MB of RAM. mailcow runs many containers and needs Docker 24 or newer.
Licences and paid options
Postal, docker-mailserver and Mox use the permissive MIT licence. listmonk, Keila and Stalwart use AGPL-3.0, and Mautic, mailcow and Roundcube GPL-3.0; all are free to self-host but add duties if you change the code and offer it to others. Stalwart is open core: its Enterprise features are under a separate licence with a 30-day trial and per-mailbox pricing. Keila sells cloud plans, and the mailcow team’s company Servercow sells support and managed hosting. listmonk, Mautic, Postal, docker-mailserver, Mox and Roundcube do not sell a paid edition.
The projects
listmonk
Free23,817 GitHub starslast code update 17 October 2026
A self-hosted newsletter and mailing list manager in one program: subscriber lists and segments, campaigns with templates, transactional mail through an API, bounce processing, public archives, user roles and single sign-on. It stores everything in PostgreSQL.
- Who it suits
- Businesses, publishers and developers sending newsletters to large lists who want speed and low running costs.
- How it is used
- Run it with Docker Compose or as a single binary, connect an SMTP server for sending, import your subscribers and create a campaign.
- Runs on
- Web app; self-hosted on Linux with Docker or as a binary; PostgreSQL 12 or newer
- Licence
- AGPL-3.0
- Free or paid
- Free; the project sells no paid edition. You pay only for your server and whatever SMTP service you send through. Pricing page
How to set it up
- On a server with Docker, download the official compose file:
curl -LO https://github.com/knadh/listmonk/raw/master/docker-compose.yml - Review the file (passwords, ports), then start the app and its database in the background:
docker compose up -d - Open http://localhost:9000, create the Super Admin user, then add your SMTP server under Settings.
Good to know
- listmonk does not deliver mail itself; it needs an SMTP server or sending service, and your sending domain needs SPF, DKIM and DMARC.
- Version 7 was in beta when we checked (7.0.0-beta.1, 20 October 2026); the default image is the stable release.
Mautic
Free10,797 GitHub starslast code update 19 October 2026
Open-source marketing automation: contacts and companies, segments, multi-step campaigns, email and landing page builders, forms, lead points and stages, SMS and web notifications, and reports. Newsletters are one part of a larger marketing toolkit.
- Who it suits
- Marketing teams and agencies that want campaigns, lead scoring and tracking on their own server.
- How it is used
- Install the production package on a PHP web server with MySQL or MariaDB, finish the web installer and set up the cron jobs that send campaigns.
- Runs on
- Web app; PHP web server with MySQL or MariaDB
- Licence
- GPL-3.0-or-later
- Free or paid
- Free; the Mautic community project sells no paid edition. Hosting and support are offered by third-party providers. Pricing page
How to set it up
- Download the production package of the latest stable release from mautic.org/download.
- Upload the zip to your web server, unzip it in the folder that will host Mautic, and create an empty database.
- Open the site in a browser: the web installer runs environment checks, connects the database and creates the administrator account and email settings.
- Add the cron jobs from the docs so segments update and campaigns send on schedule.
Good to know
- The docs recommend the production package or Composer for live sites; cloning from GitHub is meant for development.
- Check the PHP version table on mautic.org before upgrading, because each Mautic major release supports a specific PHP range.
Keila
Free + paid hosting2,238 GitHub starslast code update 2 October 2026
A newsletter tool with a visual campaign editor, templates, sign-up forms and contact lists. Small lists can send through your own mailbox over SMTP; larger ones through supported sending services.
- Who it suits
- Small businesses, associations and creators who want a simple newsletter editor rather than full marketing automation.
- How it is used
- Run the official Docker image with a PostgreSQL database, sign in, create a project and design your first campaign.
- Runs on
- Web app; self-hosted with Docker (pentacent/keila) and PostgreSQL
- Licence
- AGPL-3.0
- Free or paid
- Self-hosting is free. Keila Cloud has no free plan: on 23 October 2026 plans ran from US$9.50 a month for 2,000 emails to US$299 for 250,000, with unlimited contacts. The team also offers paid help with self-hosting. Pricing page
How to set it up
- Pull the official image on a server with Docker:
docker pull pentacent/keila - Start it with a PostgreSQL database, using the sample ops/docker-compose.yml in the repository as a starting point and filling in SECRET_KEY_BASE, URL_HOST and your SMTP details.
- Behind a reverse proxy, make sure WebSockets are forwarded, then open the site and create your account.
Good to know
- The sample compose file says it is for local testing and not production-ready; use your own secrets and a proper database setup.
- The Keila logo and the files in the repository’s extra folder are not covered by the AGPL licence.
Postal
Free16,884 GitHub starslast code update 20 October 2026
A mail delivery platform for websites and apps: it sends transactional and bulk email through an HTTP API or SMTP, receives incoming mail and forwards it to your app, and adds click and open tracking, IP pools, webhooks and detailed delivery logs.
- Who it suits
- Developers and companies sending large volumes of mail from their own applications.
- How it is used
- Install it on a dedicated server with Docker using the installation helper, then create a mail server and credentials for each app.
- Runs on
- Linux server with Docker and Docker Compose; MariaDB 10.6 or newer; at least 4 GB RAM, 2 CPU cores and 25 GB disk
- Licence
- MIT
- Free or paid
- Free; the project sells no paid edition. Pricing page
How to set it up
- Install Docker, the Compose plugin, git, curl and jq, then clone the installation helper and put the postal command on your path, as the prerequisites page shows.
- Generate the configuration for your web hostname, then edit /opt/postal/config/postal.yml:
postal bootstrap postal.yourdomain.com - Create the database tables and the first admin user:
postal initialize && postal make-user - Start Postal and put a web proxy such as Caddy in front of it for HTTPS:
postal start
Good to know
- The docs recommend a dedicated server and warn that many hosting providers block outgoing port 25.
- Postal is not a mailbox server: people cannot keep and read personal inboxes in it.
mailcow
Free + paid hosting13,624 GitHub starslast code update 15 October 2026
A complete mail server suite in Docker containers: sending and receiving, mailboxes and aliases for many domains, spam and virus filtering, SOGo webmail with calendars and contacts, and a web admin panel.
- Who it suits
- Small and medium organisations and hosting providers that want an all-in-one mail server with a web interface.
- How it is used
- Clone the repository on a Linux server, generate the configuration, start the containers and manage domains and mailboxes in the admin panel.
- Runs on
- Linux with Docker 24.0 or newer and Docker Compose 2.0 or newer
- Licence
- GPL-3.0
- Free or paid
- The software is free. Servercow, the company behind mailcow, sells support packages and managed mailcow hosting. Pricing page
How to set it up
- Install git, openssl, curl, gawk, coreutils, grep and jq plus Docker, then clone the repository into /opt:
cd /opt && git clone https://github.com/mailcow/mailcow-dockerized && cd mailcow-dockerized - Generate the configuration and adjust mailcow.conf if needed:
./generate_config.sh - Download the images and start the containers:
docker compose pull && docker compose up -d - Open https://your-hostname/admin, sign in with the default account from the docs and change its password at once.
Good to know
- The docs say to use Docker from Docker’s own repository, not the older version in your Linux distribution’s packages.
- The default admin password is public in the docs; change it immediately after the first login.
Stalwart
Open-core15,069 GitHub starslast code update 11 October 2026
A mail and collaboration server written in Rust, in one program: SMTP, IMAP, POP3 and JMAP, built-in spam and phishing filtering, calendars and contacts, and a web admin with a setup wizard. It can store data in SQLite, PostgreSQL, MySQL, RocksDB or S3-compatible storage.
- Who it suits
- Individuals, companies and hosting providers who want a modern all-in-one mail server without many separate components.
- How it is used
- Run the install script on Linux or macOS, read the temporary admin password from the service log and finish the five-step setup wizard in the browser.
- Runs on
- Linux, macOS, Windows and Docker
- Licence
- AGPL-3.0-only (Enterprise features under a separate licence)
- Free or paid
- The Community edition is free under AGPL-3.0. The Enterprise edition adds multi-tenancy, branding, archiving and other features, with a 30-day trial and per-mailbox tiered pricing. The README says sponsors giving US$5 a month or more receive an Enterprise licence. Pricing page
How to set it up
- Download the installation script:
curl --proto '=https' --tlsv1.2 -sSf https://get.stalw.art/install.sh -o install.sh - Run it as root; it creates a service account, installs the binary and starts the service:
sudo sh install.sh - Read the temporary administrator password, which is printed once at first start:
sudo journalctl -u stalwart -n 200 | grep -A8 'bootstrap mode' - Open the web admin and complete the setup wizard (server identity, storage, accounts, logging, DNS).
Good to know
- Some features described on the website are Enterprise-only; check the comparison page before relying on one.
- The temporary password is shown only once; if you miss it, check the service log straight away.
docker-mailserver
Free19,617 GitHub starslast code update 18 October 2026
A full mail server in a single container, configured with files and environment variables: SMTP, IMAP, spam and virus filtering, DKIM, DMARC and SPF, without a database or web interface.
- Who it suits
- Administrators comfortable with the command line who want a lean, scriptable mail server.
- How it is used
- Download the compose and environment files, set your hostname, start the container and add accounts with the setup command.
- Runs on
- Linux host with Docker or Podman and Docker Compose
- Licence
- MIT
- Free or paid
- Free; the project sells nothing. Pricing page
How to set it up
- Download compose.yaml and mailserver.env from the project’s GitHub repository (the usage page gives the exact wget commands).
- Replace mail.example.com with your server’s name in compose.yaml and adjust mailserver.env, then start it:
docker compose up -d - Within two minutes of the first start, add an account, or the container restarts:
docker exec -ti mailserver setup email add user@example.com - Set up TLS, a postmaster alias and the DKIM, DMARC and SPF records as the docs describe.
Good to know
- There is no webmail or admin panel; pair it with a webmail app such as Roundcube if users need a browser client.
- Use docker compose up and down to start and stop it; the docs say start, stop and Ctrl+C can leave it in a broken state.
Mox
Free5,905 GitHub starslast code update 9 October 2026
A modern all-in-one mail server written in Go: SMTP and IMAP, SPF, DKIM, DMARC, MTA-STS and DANE, reputation-based and Bayesian spam filtering, automatic TLS with Let’s Encrypt, webmail and a web admin, with no external dependencies.
- Who it suits
- Individuals and small organisations who want their own mail server on a small machine with little upkeep.
- How it is used
- Download the binary, run the quickstart with your email address, add the DNS records it prints and start the service.
- Runs on
- Linux and other Unix systems (a machine with 512 MB RAM is enough to start)
- Licence
- MIT
- Free or paid
- Free; the project sells nothing. Pricing page
How to set it up
- On a machine dedicated to mail, named like mail.example.com, create a mox user and download the mox binary into its home folder, as the README describes.
- Generate the configuration, an account and passwords for your address:
./mox quickstart you@example.com - Add the DNS records it prints, then run the commands it gives to start mox and install it as a service.
Good to know
- The README recommends a machine without another web server, because mox runs its own for automatic TLS.
- Version numbers are still below 1.0 (0.0.17 in August 2026); read the release notes before each upgrade.
Roundcube
Free7,219 GitHub starslast code update 13 October 2026
Browser-based webmail for any IMAP server: HTML and MIME messages, drag and drop, threaded lists, multiple identities, an address book with groups and LDAP, spell checking, PGP encryption support and a plugin API.
- Who it suits
- Anyone running a mail server who wants users to read mail in a browser.
- How it is used
- Unpack the release on a PHP web server, create a database, run the installer and point it at your IMAP and SMTP servers.
- Runs on
- Web app; PHP 8.1 or newer with MySQL, PostgreSQL or SQLite
- Licence
- GPL-3.0-or-later (with exceptions for skins and plugins)
- Free or paid
- Free; the project sells nothing. Pricing page
How to set it up
- Download the “complete” release from roundcube.net and unpack it on your web server; make the temp and logs folders writable.
- Create a database and user for Roundcube, and point the web server’s document root at the public_html folder.
- Open http://your-server/installer.php, then follow the installer’s steps.
Good to know
- Roundcube is only webmail; it needs a separate IMAP and SMTP server such as one of the mail servers above.
- Security updates are frequent (1.7.5 on 19 October 2026); keep it updated.