Source Postfix Virtual Domain Howto (official docs: VIRTUAL_README)
Source Address Classes (official docs: ADDRESS_CLASS_README)
Address Classes
Address classes are defined by 3 items
DOMAIN NAMES: list of domains that are members of the class
VALID RECIPIENTS: list of valid recipient addresses for the class
TRANSPORT: default delivery transport defined in master.cf for the class
These are the address classes implemented in postfix:
Address Class |
Purpose |
Domain names |
Valid recipients |
Transport |
local domain |
Final delivery for traditional UNIX system accounts and traditional Sendmail-style aliases. This is typically used for the canonical domains of the machine |
All the canonical domains. Listed in mydestination= including ip addresses used like username@[ip.add.re.ss] for ips listed in inet_interfaces= and proxy_interfaces= |
Listed in local_recipient_maps= (see LOCAL_RECIPIENT_README |
local_transport= |
virtual alias |
Delivery for hosted domains where each recipient address is aliased to a local UNIX system account or to a remote address |
Hosted domains listed in virtual_alias_domains= |
Listed with the virtual_alias_maps= |
There is no mail delivery transport parameter. Every address must be aliased to some other address |
virtual mailbox |
Delivery for hosted domains where each recipient address can have its own mailbox, and where users do not need to have a UNIX system account |
Hosted domains listed in virtual_mailbox_domains= |
Listed in virtual_mailbox_maps= |
virtual_transport= |
relay |
Forwarding to remote destinations that list your system as primary or backup MX host |
Forwarding domains listed in relay_domains= |
Listed in relay_recipient_maps= |
relay_transport= |
default |
Forwarding to the Internet on behalf of authorized clients |
No valid domains table |
No valid recipients table |
default_transport= |