All apps
Mailcow logo

Self-host with Docker ยท Yantr

Mailcow

Self-hosted email server with webmail, anti-spam, and DKIM/DMARC support.

email smtp imap server self-hosted

7

Ports

4

Notes

3

Use Cases

Official Website View on GitHub

About

What Mailcow does

Mailcow is a fully featured self-hosted email server suite with a modern web UI (SOGo), Postfix, Dovecot, Rspamd anti-spam, ClamAV antivirus, and automatic SSL. It handles SMTP, IMAP, POP3, and includes a webmail interface with calendar and contacts.

Install Flow

How to self-host Mailcow

Mailcow can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what Mailcow 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

Technical Details

Ports, image, and service metadata

Ports

Port Protocol Label
80 HTTP Web UI
443 HTTPS Web UI (HTTPS)
25 SMTP SMTP
465 SMTPS SMTPS
587 SMTP Submission
143 TCP IMAP
993 TCP IMAPS

Docker Image

ghcr.io/mailcow/postfix:latest

Service Name

mailcow-mailserver

Notes

Things to know before you deploy

Related Apps

More tools you might pair with Mailcow

Page generated 2026-07-27T04:28:00.415Z