Repository navigation
|
Can madmail V2 be used as a replacement for the official chatmail implementation based on Postfix and Dovecot (deployed with the cmdeploy script)? Installing with the --domain parameter generates a certificate, but what about DKIM, DMARC and SPF? What records should I add to my domain settings? Is their absence the cause of the problems I'm having with federation with other cmdeploy-based chatmail servers, such as nine.testrun.org and arcanechat.me? I tried to find answers to these questions in the madmail documentation, but to no avail. If this is covered, please provide a link. Thank you in advance. |
Replies: 1 comment
|
Hi @m01ar, Yes, madmail v2 is meant as an alternative to a cmdeploy Postfix+Dovecot stack. Same chatmail protocol (JIT accounts, PGP-only, IMAP/SMTP,
DNS you actually need for a domain relay: • Checklist: docker.md#dns-checklist , same idea for native install. SPF / DKIM TXT / DMARC are worth adding if you rely on normal SMTP to the wider internet. For chatmail ↔ chatmail (including cmdeploy hosts like nine.testrun.org), they’re unlikely to be the problem. Those servers talk over If federation is failing, usual suspects: firewall (outbound 443 from you, inbound 443 to you), wrong/missing Quick sanity check from outside your network:
You want a response (405/400 is fine), not a timeout or connection refused. If you can share your domain (or redact it), madmail version, and whether mail fails to those servers or from them, we can narrow it down. |
Hi @m01ar,
Yes, madmail v2 is meant as an alternative to a cmdeploy Postfix+Dovecot stack. Same chatmail protocol (JIT accounts, PGP-only, IMAP/SMTP,
/mxdelivfederation, TURN). It’s a single binary, not an in-place upgrade: you redeploy, point DNS at the new host, and users re-register. See What is Chatmail?.install --domaingets you a Let’s Encrypt cert (needsA/AAAAon the hostname and port 80 reachable). It also sets up DKIM signing on the server (keys under/var/lib/madmail/, selectordefaultin the generated config). It does not publish SPF, DKIM, or DMARC in DNS — and we don’t document that well yet. Fair point.DNS you actually need for a domain relay:
•
A/AAAA→ your server IP (…