Chasquid vs Maddy: Lightweight Mail Servers Compared

Want a Self-Hosted Mail Server Without the Complexity of Mailcow?

Both Chasquid and Maddy are minimal, Go-based alternatives to the Postfix+Dovecot+OpenDKIM stack. They replace dozens of config files with a single service that handles SMTP and basic email needs. Neither has a web admin panel, neither bundles a webmail client, and neither targets enterprise deployments. The question is which one fits your specific requirements.

Updated March 2026: Verified with latest Docker images and configurations.

Feature Comparison

FeatureChasquidMaddy
LanguageGoGo
SMTP sendingYesYes
SMTP receivingYesYes
IMAPVia bundled DovecotBuilt-in
DKIM signingExternal (OpenDKIM)Built-in
SPF verificationBuilt-inBuilt-in
DMARC verificationBasicBuilt-in
MTA-STSBuilt-inBuilt-in
Spam filteringNo (basic checks only)Built-in (rspamd-like scoring)
Let’s Encrypt TLSBuilt-in (auto)Built-in (auto)
Web admin UINoNo
WebmailNoNo
User managementCLI script (add-user.sh)CLI (maddy creds create)
Config formatDirectory-based + flagsSingle config file (maddy.conf)
Mailbox storageDovecot (Maildir)Built-in (IMAP db)
Docker imagealbertito/chasquidfoxcpp/maddy:0.8.2
Idle RAM~50 MB~60–80 MB
LicenseApache 2.0GPL 3.0
Last releasev1.17.0 (Nov 2025)v0.8.2 (2025)

Installation Complexity

Maddy is a true all-in-one — SMTP, IMAP, DKIM, SPF, DMARC, and spam filtering in a single binary:

services:
  maddy:
    image: foxcpp/maddy:0.8.2
    container_name: maddy
    restart: unless-stopped
    hostname: mail.example.com
    ports:
      - "25:25"
      - "465:465"
      - "587:587"
      - "993:993"
    volumes:
      - maddy-data:/data
      - maddy-config:/etc/maddy
    environment:
      - MADDY_HOSTNAME=mail.example.com
      - MADDY_DOMAIN=example.com
    restart: unless-stopped

volumes:
  maddy-data:
  maddy-config:

One container, one config file. DKIM keys are auto-generated on first startup. Add users via:

docker exec -it maddy maddy creds create [email protected]
docker exec -it maddy maddy imap-acct create [email protected]

Chasquid handles SMTP natively but delegates IMAP to bundled Dovecot. The Docker image includes both:

services:
  chasquid:
    image: albertito/chasquid:1.17
    container_name: chasquid
    restart: unless-stopped
    network_mode: host
    volumes:
      - chasquid-data:/var/lib/chasquid
      - chasquid-config:/etc/chasquid
      - chasquid-dovecot:/var/lib/dovecot
    environment:
      - AUTO_CERTS=mail.example.com

volumes:
  chasquid-data:
  chasquid-config:
  chasquid-dovecot:

network_mode: host is recommended because bridge mode hides source IPs, breaking SPF verification. Add users via:

docker exec -it chasquid /add-user.sh [email protected]

Chasquid does not generate DKIM keys — you need OpenDKIM or an external signing solution.

Architecture Differences

AspectChasquidMaddy
IMAP implementationDovecot (mature, proven)Custom (Go, built-in)
DKIMExternal dependencyIntegrated
Spam filteringNot includedIntegrated scoring
Process modelchasquid + dovecot processesSingle process
Config complexityMinimal (domain dirs + flags)Single file (declarative)

Maddy’s single-binary approach means fewer moving parts but a less battle-tested IMAP implementation. Chasquid delegates IMAP to Dovecot — the industry standard since 2002 — which means proven reliability at the cost of running two processes in the container.

Performance and Resource Usage

ResourceChasquidMaddy
Idle RAM~50 MB~60–80 MB
Disk (application)~30 MB~25 MB
Startup time~2 seconds~1 second
Email throughputHigh (Dovecot is fast)Moderate
Container count1 (chasquid + dovecot inside)1

Both are lightweight enough for any VPS. Neither approaches the 2+ GB RAM consumption of Mailcow or Mailu stacks.

Community and Support

MetricChasquidMaddy
GitHub stars~800~5K
Primary developerAlberto Bertogli (Google)foxcpp
Update frequency2–3 releases/year1–2 releases/year
DocumentationREADME + man pagesFull docs site
Community sizeSmallModerate

Maddy has broader community adoption and better documentation. Chasquid is maintained by a Google engineer as a personal project — well-built but less visible.

Use Cases

Choose Chasquid If…

  • You want IMAP handled by Dovecot — the most mature IMAP server available
  • You already have OpenDKIM or an external DKIM signing setup
  • You prefer the lightest possible SMTP server with proven reliability
  • You’re comfortable with host networking mode on your VPS
  • You don’t need built-in spam filtering

Choose Maddy If…

  • You want a true all-in-one: SMTP, IMAP, DKIM, SPF, DMARC, and spam filtering in one binary
  • You want DKIM key auto-generation without external tools
  • You prefer a single config file over directory-based configuration
  • You want basic spam scoring without adding rspamd or SpamAssassin
  • You need the simplest possible path to a working mail server

Final Verdict

For a personal mail server with the fewest possible dependencies, choose Maddy. It handles everything in one binary — SMTP, IMAP, DKIM, spam filtering — with a single config file and auto-generated keys. Chasquid is the better SMTP-only server (it delegates IMAP to Dovecot, which has 20+ years of production hardening), but the extra complexity of external DKIM signing makes Maddy the more practical choice for most self-hosters starting from scratch.

FAQ

Can either replace Mailcow or Mailu?

For a personal domain with 1–5 users, yes. For multi-domain setups with webmail, calendar, and a web admin panel, you still need Mailcow or Mailu.

Do both support multiple domains?

Yes. Chasquid uses a directory per domain under /etc/chasquid/domains/. Maddy uses destination blocks in maddy.conf.

Will my emails go to spam?

That depends on DNS records (SPF, DKIM, DMARC), your IP reputation, and reverse DNS — not on which server software you use. See our troubleshooting guide.

Does Chasquid really need host networking?

It’s strongly recommended. Bridge mode hides the real source IP of incoming connections, which breaks SPF verification. If you must use bridge mode, configure your reverse proxy to forward the real IP.

Which has better documentation?

Maddy. Its docs site covers configuration, deployment, and troubleshooting in detail. Chasquid relies on a good README and man pages but lacks a dedicated docs site.

Comments