Skip v=spf1 a -all records for apex domains

This commit is contained in:
Maurus Decimus
2026-05-19 16:44:29 +02:00
parent 2c4a504497
commit 190eecb7ee
2 changed files with 2 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If
- JMAP: `Thread/get` did not filter by per-mailbox ACLs on shared accounts.
- RFC2136 TSIG: regression related to multiplexer.
- IMAP: `UID FETCH N:*` could miss messages moved into a SELECTed mailbox by another connection.
- DNS records: Skip `v=spf1 a -all` records for apex domains.
## [0.16.5] - 2026-05-11

View File

@@ -78,7 +78,7 @@ impl Server {
.collect::<AHashSet<_>>();
for mx in mxs {
if mx.ends_with(&domain_name_suffix) || mx == domain_name {
if mx.ends_with(&domain_name_suffix) {
records.push(NamedDnsRecord {
name: format!("{mx}."),
record: DnsRecord::TXT("v=spf1 a -all".to_string()),