Self-host with Docker · Yantr
Stalwart
All-in-one mail and collaboration server with SMTP, IMAP, and CalDAV.
9
Ports
4
Notes
4
Use Cases
About
What Stalwart does
Stalwart is a fast, secure, and scalable open-source mail server built in Rust. It supports the full email protocol stack — JMAP, IMAP4, POP3, and SMTP — plus CalDAV calendars, CardDAV contacts, and WebDAV file sharing. Features include AI-powered spam filtering, DNS blocklists, greylisting, buil...
Install Flow
How to self-host Stalwart
Stalwart can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what Stalwart does, which Docker image Yantr uses, default ports, deployment notes, and where to find the original compose template.
After deployment, Yantr lets you publish additional ports from the stack page using Docker-style syntax. Use 8080:8080 for a fixed host port or just 8080 to let Docker assign a random port.
Use Cases
What people run it for
- Host your own email server with full SMTP, IMAP, and POP3 support.
- Share calendars and contacts via CalDAV and CardDAV protocols.
- Block spam and phishing with AI-powered filtering and DNS blocklists.
- Manage multiple email domains and users from the web admin dashboard.
Technical Details
Ports, image, and service metadata
Ports
| Port | Protocol | Label |
|---|---|---|
| 8080 | HTTP | Web Admin |
| 25 | TCP | SMTP |
| 587 | TCP | SMTP Submission |
| 465 | TCP | SMTPS |
| 143 | TCP | IMAP |
| 993 | TCP | IMAPS |
| 110 | TCP | POP3 |
| 995 | TCP | POP3S |
| 4190 | TCP | ManageSieve |
Docker Image
stalwartlabs/stalwart:latest
Service Name
stalwart
Notes
Things to know before you deploy
- Port 25 (SMTP) may be blocked by your ISP or cloud provider — check before deploying.
- Log in to the admin UI at port 8080 with username 'admin' and your generated ADMIN_PASSWORD.
- Point MX, SPF, DKIM, and DMARC DNS records at your server IP for reliable email delivery.
- CalDAV, CardDAV, and WebDAV are available alongside standard email protocols.
Related Apps
More tools you might pair with Stalwart
Page generated 2026-07-27T04:28:00.415Z