Post by Noel Jones Post by Carl Brewer
What gets carried out first? transport maps, local or virtual users?
I'd like to over-ride some, but am not sure of the order that they
get carried out. Can anyone here point me at the relevant doco?
I've not been able to find it. Postfix 2.11
The transport_maps parameter overrides all other default routing
decisions, which are listed in the man page.
A more complete answer is in
Canonical rewriting, masquerading and virtual alias rewrites happen
just once while the message is being received and are "frozen" in
the queue file. Transport lookups happen on every delivery attempt,
local(8) aliases(5) rewriting and smtp(8) generic(5) mapping happen
during delivery. Local delivery will requeue mail to remote
recipients, or when expanding an alias with an "owner-" address,
or when delivering a ":include:" recipient list.