feat: MX record fallback in account auto-discovery

When JMAP well-known and autoconfig XML both fail, query DNS-over-HTTPS
(dns.google) for MX records and use the highest-priority MX host as IMAP
(993/SSL) and SMTP (587/STARTTLS) server. No new dependencies needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas Güttler
2026-04-27 07:46:28 +02:00
co-authored by Claude Sonnet 4.6
parent e22418c6dd
commit 2b260edb52
4 changed files with 104 additions and 5 deletions
-5
View File
@@ -18,11 +18,6 @@ Then commit.
## Tasks
When adding a new account, and no well-known file was found, not exact hint in DNS, then
SMTP/IMAP/JMAP should use the mx record as fallback.
---
How can I edit Sieve Scripts? Afaik this feature was added.
---