KamoCRM

Postfix learns alias domains from the mail database

FeatureKlusterServices
Shipped
October 28, 2026 at 3:07 AM UTC
Author
Kamo
Commit
456f36e

An organization's alias domains (Settings -> Email -> Domains) used to need virtual_alias_domains and a hand-written map edited here. EmailService now keeps an alias_domains table in mailserver (KamoMailAliasDomains), and postfix reads it: mysql-virtual-alias-domains.cf accepts the domain, and **************** delivers local@alias to local@target only when that is a real account or alias, so unknown names are refused at RCPT. Additive: the static domains and the kamouniverse.com platform map stay ahead of it. The table already exists live (created by hand and by EmailService at start); a map naming a missing table would fail every lookup, so it is also in mysql-init-configmap.yaml for a fresh database.

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