Route customer mail domains as one-to-one recipient aliases #242

Closed
opened 2026-12-02 12:49:13 +01:00 by parkel · 0 comments
Owner

Goal

Let a customer receive mail for multiple domains they own using one managed mail domain in Coulobre Core, without duplicating mailboxes or forwarders.

For example, domein-ai.nl is the primary mail domain and domeinai.nl is its alias. Mail sent to info@domeinai.nl follows the same delivery rules as info@domein-ai.nl, including delivery to an existing mailbox or forwarder. The local part stays unchanged. This is inbound recipient routing, not outbound send-as or a mail.<domain> hostname alias (#191).

Acceptance criteria

  • An authorized user can configure and remove an alias between domains assigned to the same customer. The target must be an active Coulobre-managed mail domain. Prevent loops, cross-customer mappings, and conflicts with existing mailboxes, aliases, or independently managed mail domains.
  • Apply the primary domain's recipient and catch-all policy without creating separate mailbox, forwarding, or quota records. Reject unknown recipients when the primary domain has no matching rule or catch-all. Removing the alias does not change primary domain delivery.
  • Support local mail and a linked shared Coulobre mail node. Keep ownership checks across panels on a shared node.
  • Publish the alias domain's inbound MX records when Coulobre manages DNS and show copyable records for external DNS. Preserve existing DNS and mail routing until the user applies the change, and do not silently replace an existing external MX configuration.
## Goal Let a customer receive mail for multiple domains they own using one managed mail domain in Coulobre Core, without duplicating mailboxes or forwarders. For example, `domein-ai.nl` is the primary mail domain and `domeinai.nl` is its alias. Mail sent to `info@domeinai.nl` follows the same delivery rules as `info@domein-ai.nl`, including delivery to an existing mailbox or forwarder. The local part stays unchanged. This is inbound recipient routing, not outbound send-as or a `mail.<domain>` hostname alias (#191). ## Acceptance criteria - An authorized user can configure and remove an alias between domains assigned to the same customer. The target must be an active Coulobre-managed mail domain. Prevent loops, cross-customer mappings, and conflicts with existing mailboxes, aliases, or independently managed mail domains. - Apply the primary domain's recipient and catch-all policy without creating separate mailbox, forwarding, or quota records. Reject unknown recipients when the primary domain has no matching rule or catch-all. Removing the alias does not change primary domain delivery. - Support local mail and a linked shared Coulobre mail node. Keep ownership checks across panels on a shared node. - Publish the alias domain's inbound MX records when Coulobre manages DNS and show copyable records for external DNS. Preserve existing DNS and mail routing until the user applies the change, and do not silently replace an existing external MX configuration.
parkel added the
kind
feature
area/mailarea/dns
labels 2026-12-02 12:49:13 +01:00
parkel added this to the v1.2.0 - WordPress and mail diagnostics milestone 2026-12-02 13:02:13 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hippogrief/coulobre#242