- 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.
