Prepare Coulobre v0.7.0 for mail and DNS parity #98

Merged
parkel merged 5 commits from feature/mail-dns-parity into main 2026-11-22 11:11:39 +01:00
Showing only changes of commit 9a73cc78d6 - Show all commits
+4 -2
View File
@@ -146,6 +146,7 @@ def reconcile_routes(records, *, retired=None):
return
previous = read_table()
recipients = managed_recipients(records)
pruned = None
if retired is not None and retired.domain in routes:
spec = routes[retired.domain]
if any(
@@ -166,6 +167,7 @@ def reconcile_routes(records, *, retired=None):
spec = MailRouting(spec.domain, aliases, catchall)
else:
spec = MailRouting(spec.domain, {})
routes[spec.domain] = spec
save_policy(spec)
routes[spec.domain] = pruned = spec
publish_routes(routes, recipients, previous)
if pruned is not None:
save_policy(pruned)