Module 2 · Lesson 5 of 26

DNS records every Mailcow host needs

Part of Mailcow: Self-Hosted Mail Server Mastery — Server Prerequisites & DNS.

Set these BEFORE the first install so Let's Encrypt and DKIM succeed on first run.

Record Example Purpose
A / AAAA mail.example.com → 198.51.100.10 Hostname for UI, SMTP, IMAP
PTR (rDNS) 198.51.100.10 → mail.example.com Required by Gmail/M365
MX example.com MX 10 mail.example.com Inbound routing
SPF v=spf1 mx ~all (initially) Authorize Mailcow's IP
DKIM TXT at dkim._domainkey.example.com Added after Mailcow generates the key
DMARC v=DMARC1; p=none; rua=mailto:dmarc@example.com Reports first, enforce later
MTA-STS _mta-sts.example.com TXT + policy file Modern TLS enforcement
TLS-RPT _smtp._tls.example.com TXT TLS failure reports
Autodiscover autodiscover.example.com CNAME mail.example.com Outlook auto-config
Autoconfig autoconfig.example.com CNAME mail.example.com Thunderbird auto-config

⚠️ PTR is non-negotiable. Gmail and Microsoft 365 both reject mail from IPs without matching forward+reverse DNS. Most VPS providers set this in their control panel, not your DNS host.

Sign in to keep track of what you have read.

Pulse · self-hosted sending

Own the infrastructure your pipeline depends on.

One install script on your own server. Pulse sets up the MTA, mailboxes, certificates and dashboard; you add domains and start sending.

# on a fresh Ubuntu server
$ cd pulse && sudo ./install.sh
→ docker compose up · kumomta · stalwart · caddy
→ dashboard ready on https://pulse.yourdomain.com
$

Also from us:Beat — monitoring that tells you the fixConsulting — $65/hr, no retainer