Skip to content
Self-Hosted OSS Email

Stalwart Mail Server

Modern all-in-one Rust mail server (IMAP, JMAP, SMTP, DMARC/DKIM) for self-hosters.

Self-Hosted Blueprint

stalwartlabs/mail-server ↗
Min RAM / CPU
512 MB · 1 vCPU
License
AGPL-3.0
GitHub Stars
16k
Maintenance
High

Quickstart / Docker Compose

docker-compose.yml
services:
  stalwart:
    image: stalwartlabs/mail-server:latest
    restart: unless-stopped
    ports:
      - "25:25"
      - "465:465"
      - "993:993"
      - "8080:8080"
    volumes:
      - stalwart_data:/opt/stalwart
volumes:
  stalwart_data:

Gotchas & Hidden Limits

  • Most cheap VPS providers block outbound Port 25 by default and have dirty IP reputations — verify Port 25 & rDNS PTR before choosing Stalwart for outbound.
  • Inbound receiving + outbound relay via SES works smoothly.
Best For: Custom domain team mailboxes and privacy-focused self-hosted email infrastructure.
Crossover Point: Worth it when paying $6+/user/mo for dozens of Google Workspace/Fastmail team mailboxes.

Related Comparisons & Alternatives

Spot an outdated limit or pricing change?

Report Outdated Limit or Pricing Change

Flag changed quotas, pricing tiers, credit-card rules, or license shifts for manual verification.

Request Type
2–120 characters, e.g. Coolify or Neon.
⚠ Enter the tool name (at least 2 characters).
Include https:// (e.g. https://coolify.io/pricing).
⚠ Enter a valid URL starting with https:// or http://.
Deployment Model
Lowercase letters, numbers, and hyphens only (e.g. coolify).
Optional — only used if editors need clarification.
⚠ Enter a valid email address (e.g. name@domain.com).
Share key free allowances, credit-card gate, sleep rule, or min Docker RAM.
⚠ Enter at least 10 characters describing the correction.
Human Verification

Search StackTiers Infrastructure Index

↑↓ navigate · ↵ openFull Pagefind search →