On this pageIs listmonk the right tool?
listmonk is a newsletter and mailing list manager: one Go program and a PostgreSQL database that handle subscribers, lists, templates, campaigns and basic analytics. It does not deliver mail itself. It hands every message to SMTP servers you configure, usually a relay service. That split is the point: you own the list and the software, and the relay brings the sending reputation. This guide sets up listmonk 6.2 with Docker, connects a relay, and covers the list hygiene and DNS that decide whether anyone sees your newsletter.
Is listmonk the right tool?
It fits newsletters, product updates and announcements to lists of any size, plus transactional messages sent through its API. It is not a marketing automation suite: multi-step drip sequences need another tool, or your own code calling its API. Its license is AGPL-3.0.
Version 6.2.0 is the stable release. A 7.0 beta is out and shows up as the newest release on GitHub, so pin the version you deploy rather than following latest.
Install with Docker Compose
mkdir -p /opt/listmonk && cd /opt/listmonk
curl -LO https://github.com/knadh/listmonk/raw/master/docker-compose.yml
Before the first start, edit docker-compose.yml:
- Pin the image to the stable tag, for example
listmonk/listmonk:v6.2.0, instead oflatest. - Replace the sample database password everywhere the file sets it.
- Publish the port on localhost only, as
127.0.0.1:9000:9000, so the admin interface is reachable only through your reverse proxy.
Then start it. The first visit to the interface shows a form that creates the administrator; to script it instead, set LISTMONK_ADMIN_USER and LISTMONK_ADMIN_PASSWORD before the first start.
docker compose up -d
docker compose logs -f
Put HTTPS in front. With Caddy, which fetches its own certificate, two lines in the Caddyfile are enough:
news.example.com {
reverse_proxy 127.0.0.1:9000
}
In Settings > General, set the Root URL to https://news.example.com. Every unsubscribe and tracking link is built from it, so a wrong value breaks them all. On CloudSat, listmonk is also a one-click app, and it runs comfortably on a small plan.
Connect a sending service
Under Settings > SMTP, enter the relay's host, port 587 with STARTTLS, and the credentials it gave you, then send a test message from that screen. listmonk can use several SMTP servers at once, which helps when you split traffic between providers.
Match listmonk's speed to what the relay allows. Settings > Performance sets the concurrency, the message rate per worker, the batch size, a sliding-window limit and an error threshold that pauses a campaign when too many sends fail. Start below the relay's limits and raise them once a few campaigns go out cleanly.
DNS for the sending domain
The relay gives you DNS records to publish. Publish all of them:
- SPF: usually an
include:for the relay in your domain's single SPF record. - DKIM: keys the relay signs with, published under its selectors.
- DMARC: a
_dmarcrecord, at leastp=nonewith a reporting address.
What matters is alignment: the domain in your From: address must match the domain the relay signs DKIM with, or the envelope domain SPF checks. If you send more than 5,000 messages a day to Gmail or Outlook.com, they require SPF, DKIM and DMARC, and Gmail and Yahoo also require one-click unsubscribe. Why self-hosted email lands in spam explains each record and the bounce codes you will meet.
Lists that stay clean
A list's health decides deliverability more than any setting does.
- Use double opt-in. Set lists to double opt-in so every address confirms before it receives a campaign. It keeps typos and fake sign-ups out, and it gives you proof of consent.
- Turn on the List-Unsubscribe header. In Settings > Privacy, enable Include List-Unsubscribe header. listmonk then sends the
List-UnsubscribeandList-Unsubscribe-Post: List-Unsubscribe=One-Clickheaders that mailbox providers show as an unsubscribe button. Keep the{{ UnsubscribeURL }}link in every template as well. - Process bounces. Under Settings > Bounces, listmonk can scan a POP3 mailbox that receives bounces, or accept webhooks from Amazon SES, Azure Communication Services, SendGrid, Postmark, Forward Email and Lettermint. Set how many bounces blocklist a subscriber, so dead addresses stop costing you reputation.
- Import carefully. Importing a list does not import consent. Load only people who asked for your mail, with the date and source of their sign-up.
Send the first campaign
- Build a template with your logo, a plain layout and the unsubscribe link, and keep a text version for clients that prefer it.
- Send a test to addresses you own at two or three large mailbox providers. Open the raw message and confirm
spf=pass,dkim=passanddmarc=passin theAuthentication-Resultsheader. - Start small. On a new domain, send the first campaigns to your most engaged subscribers, then widen the audience over the following weeks.
- Read the results: bounces, unsubscribes and complaints after each send. A jump in any of them is the signal to stop and look before the next campaign.
Respect the law and your subscribers
Settings > Privacy covers most obligations. You can turn off individual subscriber tracking, or tracking entirely, let subscribers export or wipe their own data, record the IP address used to opt in, and restrict sign-ups with domain allow and block lists. Two legal baselines apply to most senders. In the US, CAN-SPAM requires a valid postal address in every commercial message and opt-outs honored within 10 business days. Under the GDPR, you must be able to demonstrate consent, and withdrawing it must be as easy as giving it.
Back up and upgrade
Everything listmonk knows lives in PostgreSQL, plus uploaded media if you store it on the filesystem rather than in S3-compatible storage. A nightly dump, with the user and database names from your Compose file, covers the database:
cd /opt/listmonk
docker compose exec -T db pg_dump -U listmonk listmonk | gzip > /srv/backup/listmonk-$(date +%F).sql.gz
To upgrade, read the release notes, change the pinned tag, pull, and let listmonk migrate its database:
docker compose pull
docker compose run --rm app ./listmonk --upgrade --yes
docker compose up -d
Read the notes closely before moving to 7.0: its beta changes the sender address setting to a list, requires allowed SNS topics for SES bounce webhooks, and makes the shared secret mandatory for Azure webhooks.
FAQ
Can listmonk send through my own mail server instead of a relay?
Yes, it only needs an SMTP server. Your own server then carries the whole burden of reputation, reverse DNS and complaint handling, which is a lot to ask of a new IP address. Many people start with a relay and move later.
How fast can it send?
As fast as your relay and settings allow. listmonk itself handles large lists without trouble; the practical limit is the relay's sending rate and how quickly a new domain can build a reputation without tripping spam filters.
Does listmonk track opens and clicks?
It can, with a tracking pixel and rewritten links, and it can also do neither. Opens are increasingly unreliable because many mail apps load images through proxies, so treat them as a rough trend and judge campaigns by clicks and replies.
Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.




