On Mon, Jul 25, 2016 at 04:28:54PM -0500, Noel Jones wrote:

> > 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
> 
> http://www.postfix.org/transport.5.html
> 
> The transport_maps parameter overrides all other default routing
> decisions, which are listed in the man page.

A more complete answer is in

    http://www.postfix.org/ADDRESS_REWRITING_README.html#overview

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.

-- 
        Viktor.

Reply via email to