KamoCRM

Manage the org's alias domains, and allow aliases on them

FeatureEmailService
Shipped
October 28, 2026 at 2:00 AM UTC
Author
Kamo
Commit
9a61edf

org_alias_domains only ever existed by hand-written SQL. New /api/email/alias-domains lists them (any member of the org) and adds, removes and sets the default (MANAGE_EMAIL_ACCOUNTS). A domain can only be added when the org has proven it holds it, and never one its mailboxes already live on. KamoMail createAlias now accepts an alias on an alias domain (sales@kamouniverse.com): the domain has no virtual_domains row, so the alias is filed under the destination mailbox's domain; postfix looks aliases up by source alone and already lists the domain in virtual_alias_domains. Also fixes AliasResponseMemberIsTextTest, which the previous commit broke by adding aliasDomainAddresses to AliasView.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing